Forum Discussion
Raveein26
2 years agoRegular Visitor
Getting wrong row subtotals in matrix table.
In our Power BI report, we have a calculated column (Column C) defined as follows: Column C = Column A / Column B. The requirement is to get the subtotals for Column C as the sum of individual rows o...
Anonymous
2 years agoNot applicable
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.
Raveein26
2 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?