The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
20 | |
17 | |
15 | |
13 |
User | Count |
---|---|
42 | |
36 | |
23 | |
22 | |
17 |