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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Janet_PHQ
Helper I
Helper I

filter to control/interact with only part of the chart

Hello everyone, I am a new user of PBI and this is my first time posting a question in the forum. I wonder if it is possible for a visual level filter to interact with only part of a chart?

 

I have 2 column charts: 1 for global categories and 1 for each indivudual country. The first one is static which has the total count percentage for each category at a global level; The second one has the count percentage for each category filtered by a slicer of country list (200ish countries in total). The idea is to use just ONE clustered column to include both the percentage at the global level and at each indivisual country level. Something similar to the chart below:

 

Global Vs Individual Country.PNG

So the orange columns are for global % which should remain static, while the grey columns are for each individual country controlled by a filter. The point behind this is to use the global % for each product as a benchmark for each country. Hope it makes sense and please let me know if it is possible or it is just too silly 🙂

 

Thanks!

4 REPLIES 4
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Janet_PHQ,

 

According to your description above, you should be able to use ALL, or ALLEXPECT function which can ignores filters that might have been applied to create a measure to calculate the global % in your scenario. Then the global % won't be affected by the slicer of country list. Smiley Happy

 

Regards

Anonymous
Not applicable

Hi @Janet_PHQ

 

@v-ljerr-msft is right. I've made an example of how to write this with DAX in a different post.

 

Link to post: http://community.powerbi.com/t5/Desktop/Calculate-of-a-total/m-p/213290#M94264

 

Hope it makes sense. If you want me to elaborate, I'll gladly do so.

 

Best,

Martin

Hi @Anonymous,

 

Thank you very much for the reply! It looks helpful but very hard to implement in my case. I will do more research later.

 

Thanks againSmiley Very Happy

Hi @Janet_PHQ,

 

If you have any issue with the formulas later, you can just post your table structures with some sample data here. Then we will try to further assist on it. Smiley Happy

 

Regards

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.