אם משתמשים במדד 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)
}
[[["התוכן קל להבנה","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-07-20 (שעון UTC)."],[],[]]