Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
New user to Power BI here, and I am trying to calculate the percentage of each count of Qty from the total quantity count.
I am missing something in my formula, and my percentages are off.
I need to calculate 458/572, 92/572 and 22/572.
Any help is much appreciated.
Solved! Go to Solution.
Hi @supervkc,
In your scenario, you can create a measure with the DAX like below:
% = DIVIDE(COUNT('18'[Qty]),CALCULATE(COUNT('18'[Qty]),ALL('18')),0)
Assume the sample data like this:
Best Regards,
Qiuyun Yu
Hi,
There is another easy way to do it. Right click the metric or measure. Click Quik calc. In the dialog box, choose percentage of grand total.
Hi @supervkc,
In your scenario, you can create a measure with the DAX like below:
% = DIVIDE(COUNT('18'[Qty]),CALCULATE(COUNT('18'[Qty]),ALL('18')),0)
Assume the sample data like this:
Best Regards,
Qiuyun Yu
Hi,
There is another easy way to do it. Right click the metric or measure. Click Quik calc. In the dialog box, choose percentage of grand total.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |