Bird
Raised Fist0
Tableaubi_tool~20 mins

Compute using (table across, down) in Tableau - Practice Problems & Coding Challenges

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Challenge - 5 Problems
🎖️
Compute Using Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
dax_lod_result
intermediate
2:00remaining
Calculate Running Total with Compute Using Table Across

You have a sales table with monthly sales data. You create a calculated field for running total using Compute Using: Table Across. What will be the running total value for March if the sales for Jan, Feb, and Mar are 100, 150, and 200 respectively?

A200
B450
C150
D100
Attempts:
2 left
💡 Hint

Running total sums values from left to right across the table.

visualization
intermediate
2:00remaining
Identify Correct Compute Using Direction for Yearly Sales Growth

You want to visualize yearly sales growth by region in Tableau. Which Compute Using option should you choose to calculate growth down the table (by year) for each region?

APane Down
BPane Across
CTable Down
DTable Across
Attempts:
2 left
💡 Hint

Growth by year means moving vertically down the table.

🎯 Scenario
advanced
2:00remaining
Troubleshoot Unexpected Results with Compute Using Table Across

You created a calculated field for percent of total sales using Compute Using: Table Across. However, the percentages do not add up to 100% across the row. What is the most likely cause?

AThere are hidden filters limiting data in some columns
BCompute Using should be set to Table Down instead
CThe data source has duplicate rows causing errors
DThe calculation is missing an aggregation function
Attempts:
2 left
💡 Hint

Check if all columns in the row are included in the calculation.

🔧 Formula Fix
advanced
2:00remaining
Fix Incorrect Compute Using Direction Causing Wrong Running Total

You created a running total calculation but it sums sales down the table instead of across. Which change fixes this?

AChange Compute Using to Table Across
BChange Compute Using to Pane Down
CChange Compute Using to Table Down
DChange Compute Using to Pane Across
Attempts:
2 left
💡 Hint

Running total should sum left to right across columns.

🧠 Conceptual
expert
3:00remaining
Explain the Difference Between Compute Using Table Across and Pane Across

Which statement best describes the difference between Compute Using: Table Across and Pane Across in Tableau?

ATable Across and Pane Across compute identically but differ in performance
BTable Across computes vertically across rows; Pane Across computes vertically within panes
CTable Across computes only within panes horizontally; Pane Across computes across the entire table
DTable Across computes across the entire table ignoring panes; Pane Across computes only within each pane horizontally
Attempts:
2 left
💡 Hint

Think about the scope of computation across panes versus the whole table.

Practice

(1/5)
1. In Tableau, what does setting Compute Using: Table (Across) do to your calculation?
easy
A. Calculates values only for the first column in the table.
B. Calculates values moving top to bottom down rows in the table.
C. Calculates values moving left to right across columns in the table.
D. Calculates values based on the entire table without direction.

Solution

  1. Step 1: Understand 'Compute Using' concept

    'Compute Using' defines the direction Tableau uses to perform calculations across the data layout.
  2. Step 2: Identify what 'Table (Across)' means

    'Table (Across)' means calculations move horizontally from left to right across columns.
  3. Final Answer:

    Calculates values moving left to right across columns in the table. -> Option C
  4. Quick Check:

    Table (Across) = left to right calculation [OK]
Hint: Table (Across) means calculation moves left to right [OK]
Common Mistakes:
  • Confusing 'Table (Across)' with 'Table (Down)' direction
  • Thinking it calculates vertically instead of horizontally
  • Assuming it calculates over the entire table without direction
2. Which of the following is the correct way to set a table calculation to compute using 'Table (Down)' in Tableau?
easy
A. Drag measure to Rows shelf and select 'Table (Across)'.
B. Right-click measure > Edit Table Calculation > Select 'Table (Down)' in Compute Using.
C. Use the filter shelf to set Compute Using to 'Table (Down)'.
D. Double-click the dimension and choose 'Compute Using Table (Across)'.

Solution

  1. Step 1: Locate how to edit table calculation

    Right-click the measure with the table calculation and choose 'Edit Table Calculation' to access Compute Using options.
  2. Step 2: Select 'Table (Down)' option

    Within the dialog, select 'Table (Down)' to compute calculations moving top to bottom down rows.
  3. Final Answer:

    Right-click measure > Edit Table Calculation > Select 'Table (Down)' in Compute Using. -> Option B
  4. Quick Check:

    Edit Table Calculation > Choose Table (Down) [OK]
Hint: Edit Table Calculation to set Compute Using direction [OK]
Common Mistakes:
  • Trying to set Compute Using from filter or dimension menus
  • Confusing 'Table (Across)' with 'Table (Down)'
  • Not right-clicking the measure to edit calculation
3. Given a table with sales data by Region (rows) and Month (columns), if you set a running total calculation with Compute Using: Table (Down), what will the running total do?
medium
A. Calculate running total down regions for each month vertically.
B. Calculate running total over the entire table ignoring layout.
C. Calculate running total across months for each region horizontally.
D. Calculate running total only for the first month.

Solution

  1. Step 1: Understand table layout and Compute Using

    Rows represent Regions, columns represent Months. 'Table (Down)' computes vertically down rows.
  2. Step 2: Apply running total with 'Table (Down)'

    Running total sums values moving down each column (month) across regions.
  3. Final Answer:

    Calculate running total down regions for each month vertically. -> Option A
  4. Quick Check:

    Table (Down) = vertical running total per column [OK]
Hint: Table (Down) runs calculation vertically down rows [OK]
Common Mistakes:
  • Thinking running total moves across months horizontally
  • Assuming calculation ignores table layout
  • Confusing rows and columns in the table
4. You created a table calculation in Tableau but the running total is incorrect. You set Compute Using: Table (Across) but the total sums only the first row repeatedly. What is the likely issue?
medium
A. The table calculation is computing across columns but data is arranged in rows, causing repeated sums.
B. You forgot to add the measure to the view.
C. The filter shelf is blocking the calculation.
D. You need to use 'Pane (Down)' instead of 'Table (Across)'.

Solution

  1. Step 1: Analyze Compute Using direction vs data layout

    Compute Using 'Table (Across)' moves left to right across columns, but if data is arranged primarily in rows, calculation may repeat first row values.
  2. Step 2: Identify mismatch causing repeated sums

    Because calculation moves across columns but data is in rows, it sums the same row repeatedly instead of progressing down rows.
  3. Final Answer:

    The table calculation is computing across columns but data is arranged in rows, causing repeated sums. -> Option A
  4. Quick Check:

    Compute Using direction must match data layout [OK]
Hint: Match Compute Using direction to data layout orientation [OK]
Common Mistakes:
  • Assuming filter shelf causes calculation error
  • Thinking measure is missing from view
  • Confusing 'Pane (Down)' with 'Table (Across)'
5. You have sales data by Product Category (rows) and Quarter (columns). You want a running total that restarts for each Product Category but sums across quarters left to right. Which Compute Using option should you choose and why?
hard
A. Use Cell because it calculates each cell independently.
B. Use Table (Down) because it calculates top to bottom down rows, restarting per column (Quarter).
C. Use Pane (Across) because it calculates across panes ignoring rows.
D. Use Table (Across) because it calculates left to right across quarters, restarting per row (Product Category).

Solution

  1. Step 1: Understand desired calculation behavior

    Running total should sum quarters left to right and restart for each Product Category (row).
  2. Step 2: Match Compute Using option to behavior

    'Table (Across)' computes left to right across columns (quarters) and restarts for each row (Product Category), matching the requirement.
  3. Final Answer:

    Use Table (Across) because it calculates left to right across quarters, restarting per row (Product Category). -> Option D
  4. Quick Check:

    Table (Across) = horizontal running total restarting per row [OK]
Hint: Use Table (Across) for left-to-right running totals per row [OK]
Common Mistakes:
  • Choosing Table (Down) which sums vertically, not horizontally
  • Confusing Pane and Table options
  • Using Cell which does not aggregate across data