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.
Hi, I am facing a weird problem in Power BI table visual. My table visual is giving me wrong total. I exported the same table into excel and it gives a different value. How can I correct this?
Even if plot it for matrix visual it's giving me wrong total.
I have attached screenshots for both excel and power bi table visual for reference.
Regards. Quick help is highly appreciated.
Solved! Go to Solution.
Hi, @Anonymous
Please try the following methods.
YTD =
IF (
HASONEVALUE ( 'Table'[Department] ),
SUM ( 'Table'[Amount] ),
CALCULATE ( SUM ( 'Table'[Amount] ), ALL ( 'Table' ) )
)
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Please try the following methods.
YTD =
IF (
HASONEVALUE ( 'Table'[Department] ),
SUM ( 'Table'[Amount] ),
CALCULATE ( SUM ( 'Table'[Amount] ), ALL ( 'Table' ) )
)
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Please post your measure.
For now please check if this resolve your problem: https://community.powerbi.com/t5/Desktop/Incorrect-sum-calculated/m-p/325609
@Saap my measure is a simple:
YTD Actuals = SUM('Table'[Amount])
Row Values are being displayed correctly there's issue only with the total.
@Anonymous
Please try the solution I posted in my previous post.
Or try to do something like this:
@Saap Hi, it's giving even weird total when I use the DAX code that you provided.
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 |
---|---|
97 | |
95 | |
80 | |
77 | |
66 |
User | Count |
---|---|
130 | |
106 | |
105 | |
86 | |
72 |