Forum Discussion
Fix Matrix Total in Dax Measure Column with Condition and Variables in Power BI?
- Anonymous3 years ago
Hi mandyhpnguyen ,
This is because the context is difference, please try to create two new measure according to your original measure, try below dax formula:
Adjust Headcount = SUMX(VALUES('Table'[Animal Type]),[HeadCount])Adjust Working Hour = SUMX(VALUES('Table'[Animal Type]),[Working Hour])Please refer the attached .pbix file.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi mandyhpnguyen
Could you use this Measure.
Some times in Matrix Visual Calculate the total wrongly so that case We Can require this error
First thing will Create a one measure
then,
Aply old measure into New measure.If we can apply in variables It won't work thats why This mandatory.
Thanks ,
Thennarasu
- mandyhpnguyen3 years agoRegular Visitor
Thanks,
I got the exact solution in the comment below but you helped to explain the case!
I really appreciate it!
Best,
Mandy