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.
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
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 |
---|---|
107 | |
93 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |