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 Pbi expert
i need to calculate a % value og each row based on total.
eg: i want to calculate value as showed down in red
How can I reach such calculation ?
categ. | Count | |
M-5 | 20 | 25% |
M-4 | 19 | 24% |
M-7 | 15 | 19% |
M-3 | 13 | 16% |
M-6 | 12 | 15% |
Total | 79 |
Solved! Go to Solution.
Hi @Anonymous ,
You can try adding the count to the matrix again but then setting the field to show as % of grand total.
Please accept as solution if this answers the question- thanks!
Hi @Anonymous ,
Based on your description, please try:
Percentage = DIVIDE(COUNT('Table'[categ]),CALCULATE(COUNT('Table'[categ]),ALL('Table')))
Change the format:
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You can try adding the count to the matrix again but then setting the field to show as % of grand total.
Please accept as solution if this answers the question- thanks!
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 |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |