Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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.
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |