Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 43 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 65 | |
| 30 | |
| 26 | |
| 25 |