Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all
My original query here was resolved: Solved: Filtering using date table not working how I would... - Microsoft Power BI Community
But following on from that, now I have a working measure at a line item level, I don't see to be able to sum this measure correctly?
I get why, because the calculation is counting the total number of days between a start/end date (365 in this case) and then dividing by the frequency x, so at a total level it'll still be calculating 365/(some form of x) - but how do I get around this and make the total sum up correctly?
Thanks in advance,
Phil
Measure:
Solved! Go to Solution.
You will need to use SUMX to get the correct total. It is probably easier to use your existing measure in a new one to handle all the context transition. It will be along these lines.
Expected Iterations Correct Total = SUMX ( 'Task List', [Expected Iterations] )
Or, if a single task can be in the table multiple times it will be like this.
Expected Iterations Correct Total = SUMX ( VALUES('Task List'[Task ID]), [Expected Iterations] )
You will need to use SUMX to get the correct total. It is probably easier to use your existing measure in a new one to handle all the context transition. It will be along these lines.
Expected Iterations Correct Total = SUMX ( 'Task List', [Expected Iterations] )
Or, if a single task can be in the table multiple times it will be like this.
Expected Iterations Correct Total = SUMX ( VALUES('Task List'[Task ID]), [Expected Iterations] )
Thanks @jdbuchanan71 - this works as a sum in the table but I can't use that new measure in a seperate card or it shows as 'Infinity' - any idea why that would be?
EDIT - Ignore this, I had a filter on the table visualisation but not on the card!
Thanks again for your help. Such a simple solution and yet it makes my head hurt.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |