Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
Need help,
I want row wise 100% of category and sub category please suggest DAX code
I am using Matrix Visual for this, Category and Subcategory are Rows and A,B,C,D are single column , Please help
Solved! Go to Solution.
@Anonymous , You want % of row-wise total for a measure M1 . Sub Category on column
Divide([Measure], calculate([Measure],removfilters(Table[ Sub Category]) ) )
or
Divide([Measure], calculate([Measure],filter(allselected(Table), Table[Category] = max(Table[Category]) ) ) )
Percent of Total and Percent of SubTotal https://www.youtube.com/watch?v=6jTildcV2ho
@Anonymous , You want % of row-wise total for a measure M1 . Sub Category on column
Divide([Measure], calculate([Measure],removfilters(Table[ Sub Category]) ) )
or
Divide([Measure], calculate([Measure],filter(allselected(Table), Table[Category] = max(Table[Category]) ) ) )
Percent of Total and Percent of SubTotal https://www.youtube.com/watch?v=6jTildcV2ho
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
46 | |
28 | |
22 | |
12 | |
8 |
User | Count |
---|---|
76 | |
51 | |
44 | |
16 | |
12 |