Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi All,
I have a column(column name: ABC) with 800 records. 545 records have value "1" and rest of them has "0".
I want to display them in a pie chart as a percentage like 1 has 68% values and 0 has 32% values. However when I put Column ABC in values section of a pie chart, I don't get the desired output. Is there something I am missing?
Thank you for your response.
Here is the exact scenario:
Team 1 | Team 2 | Toss winner | Toss decision | Winner |
abc | xyz | abc | bat | xyz |
xyz | rst | xyz | bowl | xyz |
rst | xyz | xyz | bowl | xyz |
abc | xyz | xyz | bat | abc |
xyz | abc | abc | bowl | abc |
abc | rst | rst | bat | rst |
rst | xyz | rst | bowl | xyz |
xyz | abc | abc | bat | xyz |
abc | xyz | abc | bowl | abc |
xyz | rst | xyz | bowl | rst |
rst | abc | abc | bat | rst |
abc | rst | abc | bowl | rst |
rst | abc | rst | bowl | abc |
abc | rst | rst | bat | rst |
xyz | abc | xyz | bowl | xyz |
rst | xyz | xyz | bat | xyz |
abc | rst | rst | bat | rst |
I need to show a pie chart with two values: team batting first won vs team bowling first won.
See attached PBIX below.
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
With your ABC column, add one more column of your dataset, which counts the number of 1's and 0's to the pie chart. Below I have attached screenshots.
Do let me know if you have any queries.
1.
2.
3.
Also you can add ABC column to both legends and values. then change to COUNT of ABC. Shown below
1.
2.
BOTH WILL HELP YOU TO GIVE SAME RESULT
What are you putting in the Legend?
Try dragging the ABC column to both the legend and the values and see if that helps you any. Otherwise, please provide some more info.
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
User | Count |
---|---|
123 | |
76 | |
62 | |
50 | |
50 |
User | Count |
---|---|
175 | |
125 | |
60 | |
60 | |
58 |