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 ,
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.
- mandyhpnguyen3 years agoRegular Visitor
Thanks!
This is the correct solution for my particular case!
Best,Mandy