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
Hi,
I would like to show a percent of "Total Global" and "Total By Group" in the same column like this example. Is it possible?
(p.s: the last column was manually drawn, I would like to create a measure that make this result possible)
The idea is:
1) Calculate the percent of group´s rows using the Total Sales / Total Global
2) Calculate the percent of country´s rows using the Total Sales / Total by Group
I´m using the AdventureWorks' dataset
Solved! Go to Solution.
Hi,
Try this measure
=IF(HASONEVALUE(Data[Country]),[Total Sales]/[Total by Group],[Total Sales]/[Total Global])
Hope this helps.
Hi,
Try this measure
=IF(HASONEVALUE(Data[Country]),[Total Sales]/[Total by Group],[Total Sales]/[Total Global])
Hope this helps.
You are welcome.
Hi,
Why you just use the
Measure = DIVIDE([Total Sales],[Total Global])
It will works for the 2 cases.
If this helps, I apreciate you give a kudo and mark as the solution. Thanks
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |