Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Pie chart visual DAX options

Hello PowerBI Community!

 

I created a pie chart that was filtered and it represents certain amount of countries that are operated. I would like to show on the same chart non-operated ones by subtracting Total number of countries by the operated ones that I got by filtering in the same pie chart. How can I do that?

 

Thanks in advance

3 REPLIES 3
Anonymous
Not applicable

@MahyarTF  Thank you for explaining this. I still have to clean my data and form these two tables. So these are two different options on how to do this? I am still new to PowerBI, and haven't used DAX yet, so maybe the first one would be easier.

Hi,

Yes, you could choose ones,

Mahyartf
MahyarTF
Memorable Member
Memorable Member

Hi,

If you want to show the count of various statuses in one Pie Chart :

1- You could create two separate fields in power query or Power Bi and put those with 0 and 1 values (OperatedValue and Non-Operated Value), then use these fields in one par chart (Count Value) :

MahyarTF_0-1658741131798.png

2- Create separate measures for Operated and Non-Operated and then use these measures in your Pie chart :

Count of NonOperated =
CALCULATE(
    DISTINCTCOUNT('Sheet40'[CountryName]),
    'Sheet40'[Status] = "Non-Operated"
)
do it for Operated as well
MahyarTF_1-1658741210528.png

 

Mahyartf

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.