Forum Discussion
aishak12
Helper IV
5 years agoChange the Subtotal calculation
Hi All, This is a table matrix and the grey column is the subtotal field. In Line 3 it is currently adding all three values. In line 7 it is adding them and dividing by 3. Is there a way to c...
v-xulin-mstf
Community Support
5 years agoHi aishak12,
I'm not sure about the data structure.
Maybe you can use HASONEVALUE to custom the calculation of subtotal.
If you need a specific dax, please provide pbix file after removing sensitive information.
You can also refer the related post:
https://community.powerbi.com/t5/Desktop/Measure-to-group-by-Month/m-p/1713961
Hope it helps.
Best Regards,
Link
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.