Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Please can anyone help as I have a problem with the sum of a calculated column not being correct when I put into a table visual.
The calculated column has been added to a calculated table 'Universal hours' and is labelled 'unused hours' - I want to have a visual where I have the total of 'unused hours'.
When I add to table as 'Sum of unused hours' the sum is incorrect
Solved! Go to Solution.
@SK1968 Hi!
This issue occurs because calculated columns in Power BI are evaluated row by row in the context of the calculated table. The sum displayed in your table visual might seem incorrect because of how Power BI aggregates data, especially when relationships and filters are applied.
To fix this, you can use a measure instead of relying on the aggregation of a calculated column. Measures are dynamic and respect the filter context of your visuals.
So, create a measure:
Total Unused Hours = SUM('Universal hours'[unused hours])
BBF
@SK1968 Hi!
This issue occurs because calculated columns in Power BI are evaluated row by row in the context of the calculated table. The sum displayed in your table visual might seem incorrect because of how Power BI aggregates data, especially when relationships and filters are applied.
To fix this, you can use a measure instead of relying on the aggregation of a calculated column. Measures are dynamic and respect the filter context of your visuals.
So, create a measure:
Total Unused Hours = SUM('Universal hours'[unused hours])
BBF
Thank you very much - easy now I know
It looks like total issue with measure
@IM_TRYING_HERE First, please vote for this idea: https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e
This looks like a m...https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, t...
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Also...https://youtu.be/uXRriTN0cfY
And: https://youtu.be/n4TYhF2ARe8
Proud to be a Super User! |
|
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
19 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
25 | |
10 | |
10 | |
9 | |
6 |