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
Hello Friends,
i am new to Power BI and started exploring the features of power BI. i am stuck on understanding how to dervice the percentage of the grand total.
my case is as below
I have the below table
| Description | No of Units | Units Sold | Percentage of units Sold | |
| 1 | 286 | 252 | 88% | Created a custom calculated column and the values are coming correctly |
| 2 | 253 | 177 | 70% | |
| 3 | 90 | 51 | 57% | |
| 4 | 11 | 4 | 36% | |
| 5 | 2 | 1 | 50% | |
| 6 | 1 | 0 | 0% | |
| Grand Total | 643 | 485 | 75% (485/643) | This is not being calculated correctly in Power BI, it shows either 100% or sum of the values. |
please help me.
Solved! Go to Solution.
Make your Percentage of units Sold a measure an use this formula:
Percentage of units Sold = sum('TableName'[Units Sold]) / sum('TableName'[No of Units])
Make your Percentage of units Sold a measure an use this formula:
Percentage of units Sold = sum('TableName'[Units Sold]) / sum('TableName'[No of Units])
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 36 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |