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
So I have this data below. I want to make a bar chart with "category" on the x axis, number of users on the y axis and each game to have differently colored bar chart. But I also want to be shown as a percentage not of the total users but of the total users of that particular game. So basically the sum of bars colored the same has to be 100%. In this way you can say that for game a the users are mainly in 1-10 category for example. The games can be filtered (diplaying only game a or a and b, etc.)
How can I calculate that percentage?
I couldnt find any answer anywhere 😞 Thanks
game userid category
a 1 1-10
b 2 1-10
c 3 10-20
d 4 10-20
a 5 10-20
a 6 20-30
a 7 20-30
b 8 20-30
b 9 20-30
b 10 20-30
c 11 20-30
c 12 20-30
Solved! Go to Solution.
Hi @dgyurdieva,
you need to choose the 100% stacked column chart (6 visualization) and then add:
Category - Axis
UserId - Value (count)
Game - Legend
and you should have what you need
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @dgyurdieva,
you need to choose the 100% stacked column chart (6 visualization) and then add:
Category - Axis
UserId - Value (count)
Game - Legend
and you should have what you need
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi, thank you for the answer but I think you did not quite get my question. I want it to look like this but the sum of all, for example red bars to be 100%, then all green 100% as well
Did you ever find a solution to this? I'm having the same issue, and it's driving me mad.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsAny thoughts on how it should look?
Hi @dgyurdieva,
Current power bi not contains the visual support show clustered column and percent at same time, perhaps you can submit a idea for this requirement.
Regards,
Xiaoxin Sheng
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 127 | |
| 88 | |
| 78 | |
| 66 | |
| 65 |