Forum Discussion
Getting Incorrect Grand Total in Matrix
Folks help me to get correct Total.
DataSource - Super Store
Row - Sub Category
Column - Region
Values - Sum of Sales
I figure out the calculation. Thanks.
Measure 2 = SUMX(SUMMARIZE(Orders,Orders[Segment],Orders[Region]),CALCULATE([Measure]))
3 Replies
- Ritaf1983Super User
Hi MarshalSK
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523- MarshalSKResolver I
I figure out the calculation. Thanks.
Measure 2 = SUMX(SUMMARIZE(Orders,Orders[Segment],Orders[Region]),CALCULATE([Measure]))
- MarshalSKResolver I
Datasource link - https://data.world/stanke/sample-superstore-2018
For your convenience, you can use any data source when you filter the measure, grand total will not match.
data without filter(sum of sales > 100000), getting correct total
data with filter(sum of sales > 100000), NOT getting correct total.
Below is the expected output
Let me know the best way to achieve expected result.