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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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