0
0
Tableaubi_tool~10 mins

Why sharing enables organizational adoption in Tableau - Formula Trace Breakdown

Choose your learning style9 modes available
Sample Data

This data shows users, how many times they viewed dashboards, and the audience they shared dashboards with.

CellValue
A1User
B1Dashboard Views
C1Shared With
A2Alice
B2120
C2Team
A3Bob
B380
C3Department
A4Carol
B4150
C4Company
A5Dave
B550
C5Team
Formula Trace
SUM(IF [Shared With] = 'Company' THEN [Dashboard Views] ELSE 0 END)
Step 1: Check each row if 'Shared With' equals 'Company'
Step 2: For rows where condition is true, take 'Dashboard Views', else 0
Step 3: Sum the values from step 2
Cell Reference Map
    A       B               C
1 | User | Dashboard Views | Shared With |
2 | Alice| 120            | Team       |
3 | Bob  | 80             | Department |
4 | Carol| 150            | Company    |
5 | Dave | 50             | Team       |

Formula references column B and C to filter and sum views.
The formula uses 'Shared With' (column C) to filter rows and sums 'Dashboard Views' (column B) for those filtered rows.
Result
    A       B               C               D
1 | User | Dashboard Views | Shared With | Total Company Views |
2 | Alice| 120            | Team       |                    |
3 | Bob  | 80             | Department |                    |
4 | Carol| 150            | Company    | 150                |
5 | Dave | 50             | Team       |                    |
The final result shows the total dashboard views shared with the entire company as 150, calculated from Carol's views.
Sheet Trace Quiz - 3 Questions
Test your understanding
Which user’s dashboard views are counted in the total?
ABob
BCarol
CAlice
DDave
Key Result
SUM(IF [Condition] THEN [Value] ELSE 0 END) sums values only when condition is true.