Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello:
I need help with calculation.
I want to calculate total count of cars where BreakWorkDone YES or NO
Any help is greatly appreciated.
Thanks
| Cars | BreakworkDone |
| Car1 | YES |
| Car2 | YES |
| Car3 | YES |
| Car4 | NO |
| Car5 | NO |
| Car6 | NO |
| Car7 | YES |
| Car8 | YES |
Solved! Go to Solution.
Hi @aaditya2000
If you drag the [cars] field to the canvas and turn it into a pie chart. Make sure that [Cars] is in the value field, then drag [BreakworkDone] to the legend field as per this image
HI @aaditya2000
Do you want a visual that will show that you have 5 yes and 3 No?
Or something that will say you have 8 cars?
Hello Phil:
Thank you for your reply.
it should show me that total 5 cars are YES and 3 Cars is NO.
I want to display this count of cars with Yes & NO in PIE chart.
Thank you again.
Hi @aaditya2000
If you drag the [cars] field to the canvas and turn it into a pie chart. Make sure that [Cars] is in the value field, then drag [BreakworkDone] to the legend field as per this image
Thank you phil, that helped me to resolve.
Thank you again.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 18 | |
| 16 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 42 | |
| 40 | |
| 40 | |
| 38 |