Forum Discussion
Matrix showing Wrong Totals
I am not sure what's wrong with this measure. But, showing wrong totals. Can anyone advise, how can I resolve this?
Measure here:
products> = CALCULATE(
[Overall_Sales],
FILTER(ALL('Products'),[Overall_Sales]>350000)
, VALUES(Products[Product Name])
)
Thank you in advance,
Hi, rocky09
Try this:
products> = CALCULATE ( SUM ( 'Products'[_Overall_Sales] ), FILTER ( ADDCOLUMNS ( 'Products', "_Overall_Sales", [Overall_Sales] ), [_Overall_Sales] > 350000 ) )If this doesn't work for you, please consider sharing more details about it. And It would be great if there is a sample file without any sesentive information here.
It makes it easier to give you a solution.
- Sample (dummy dataset) data as text, use the table tool in the editing bar
- Expected output from sample data
- Explanation in words of how to get from 1. to 2.
Best Regards,
Community Support Team _ Zeon ZhengIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
9 Replies
- hvnter
Resolver I
Rocky,
Have you checked the relationships in your model?
- rocky09
Solution Sage
The Relatations are good
- v-angzheng-msft
Community Support
Hi, rocky09
Try this:
products> = CALCULATE ( SUM ( 'Products'[_Overall_Sales] ), FILTER ( ADDCOLUMNS ( 'Products', "_Overall_Sales", [Overall_Sales] ), [_Overall_Sales] > 350000 ) )If this doesn't work for you, please consider sharing more details about it. And It would be great if there is a sample file without any sesentive information here.
It makes it easier to give you a solution.
- Sample (dummy dataset) data as text, use the table tool in the editing bar
- Expected output from sample data
- Explanation in words of how to get from 1. to 2.
Best Regards,
Community Support Team _ Zeon ZhengIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.