Forum Discussion
PIE Chart - Counting Values
- 4 years ago
Hi Gasdetect40
If you go to canvas view in Power BI Desktop, select a Pie Chart. Drag the Event Description column into the Legend space and then drag the Event Description into the Value space. Make sure to click the down arrow on the Event Description in the Values section and click Count.
Hope this helps.
Theo 🙂
- Anonymous4 years ago
Hi Gasdetect40 ,
Agree with TheoC to simply use the summarize type of "Count" for Event type:
Or you could create a measure to calculate the count of each description:
Measure = CALCULATE( COUNTROWS('Table'),ALLEXCEPT('Table','Table'[Event description]))Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. - Anonymous4 years ago
Hi TheoC ,
Of course! as you mentioned, COUNTROWS ( 'Table' ) is enough for this simple case. I'm just used to “fullfill” the measure in case there are some more complex situations. Sorry for the redundant operation😜
Best Regards,
Eyelyn Qin - 4 years ago
Hi @Gasdetect40
If you go to canvas view in Power BI Desktop, select a Pie Chart. Drag the Event Description column into the Legend space and then drag the Event Description into the Value space. Make sure to click the down arrow on the Event Description in the Values section and click Count.
Hope this helps.
Theo 🙂
Khushboobarai this is likely because of the Visual settings you have applied. I recommend you "reset" the Visual settings and then try again to format it how you would like. Hope this helps.
- Khushboobarai9 months agoHelper IV
I did tried in that way too, reseted the whole setting even tried by creating new one on the same page, what happens is that once I edit any setting from the visualixation pane know the pie showing everything clear but the moment I tried to filter anything, after 1-2 click it again the same issue... With hieght 166 and width 233.
Is there anything more ways from which i can do?