Forum Discussion
Getting wrong row subtotals in matrix table.
Hi Raveein26 ,
Generally, the calculated columns do not have subtotal errors in the matrix, this generally occurs in measure, can you share sample data and sample output in tabular format? Or sample pbix after removing sensitive data. We can understand the issue better and help you.
You can also try the following dax:
MeasureC_if=
var _table1=
SUMMARIZE('Table','Table'[Group],"Value",[MeasureC])
return
IF(
HASONEVALUE('Table'[Group]),[MeasureC],SUMX(_table1,[Value]))
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Raveein262 years agoRegular Visitor
Hi Anonymous
You can see your matrix visual for Measure C column you are getting a wrong total. It should be 5.50 but you are getting 5.00.
Same issue I am facing in my matrix. Please find the below screenshot. For C column I am getting total as 17.22 but It should be 23.61. - Raveein262 years agoRegular Visitor
How to attach my power bi sample file for your reference. I could not able to see insert option here or attach file option?
- Raveein262 years agoRegular Visitor
I had three group in row filed called Country, Country region and Pin code. In your measure if I use only one field country or Country region or pin code I am getting wrong total how to resolve it?