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 Team,
Below is screenshot for data output the same output I need to replicate in Power BI matrix:
I need to calculate the last % value, For Ex. For ALL ITEMS Category, we have Branch Stocked Subcategory
The Unique Items value is 524
And Total Purchased Subcategory within ALL ITEMS Category the Unique Item value is 1328
% value of Branch Stocked = 524/1328=39.5%, Same type of calculation we need for all subcategory within a category.
Power BI Screenshot:
What measure I need to create to get similar output in Power BI?
Thanks in advance!
@mg01 If this post helps, please consider accept as solution to help other members find it more quickly and Appreciate your Kudos.
I tried first this measure :
sub1 category = CALCULATE(MAXX(ALLSELECTED('Total Purchased'[Sub Category]),COUNT('Total Purchased'[Column])))
where
Unique Items= COUNT('Total Purchased'[Column])
But not getting correct result.
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 |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |