Looker 26.4 문서를 보고 있습니다. 이 링크를 클릭하여
최신 문서를 확인하세요.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
direction
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
사용
view: view_name {
measure: field_name {
direction: "row"
}
}
|
계층 구조
direction
|
가능한 필드 유형
측정
수락
row 또는 column
|
정의
type: percent_of_total 또는 type: running_total 측정값이 피벗과 함께 사용되는 경우 direction를 사용하여 계산 방향을 제어할 수 있습니다.
피벗된 경우 이러한 계산의 기본 방향은 행 전체입니다. 사용자가 열을 따라 계산을 수행하는 것을 선호하는 경우도 있습니다. 이 경우 direction: "column"를 사용하여 수행하면 됩니다.
measure: running_order_total {
type: running_total
sql: ${order_total} ;;
direction: "row" # Calculation across the row (default)
}
measure: running_order_total {
type: running_total
sql: ${order_total} ;;
direction: "column" # Calculation down the column (row is default)
}
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2026-03-21(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2026-03-21(UTC)"],[],[]]