Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello, I have to sum the production by year like in the following table using DAX, can you help me?
Year | Production | Total | ||
1 | 1 | 20 | ||
1 | 2 | 17 | ||
1 | 3 | 30 | ||
1 | ||||
1 | 10 | |||
2 | ||||
2 | ||||
2 | ||||
2 | 5 | |||
1 | ||||
1 | ||||
1 | 3 | |||
3 | ||||
3 | ||||
3 | 20 | |||
1 | ||||
1 | ||||
1 | 7 | |||
2 | ||||
2 | 12 | |||
3 | ||||
3 | ||||
3 | 10 |
Solved! Go to Solution.
[Total] = SUM ( T[Production] )
where T is your table's name.
If you then drop [Year] on your visual (table, say) and the measure, you'll get what you want.
Best
D
[Total] = SUM ( T[Production] )
where T is your table's name.
If you then drop [Year] on your visual (table, say) and the measure, you'll get what you want.
Best
D
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
26 | |
19 | |
14 | |
10 |
User | Count |
---|---|
57 | |
49 | |
44 | |
18 | |
18 |