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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
ajinkyacgaikwad
Advocate I
Advocate I

Graph Interaction and filter

I have two graphs one has country level data and another has province level data.
Country Graph has all the countries and Province graph has all the provinces from all countries.

So when I select a specific country in bar graph - related provinces get highlighted. which is basic.

 
 

BasicBasicLooking forLooking for

 


I am looking for a functionality where one country is selected then the province graph should show only the related provinces in Province graph and nothing else. 
When nothing is selected in the country graph province graph should show all the provinces.


2 REPLIES 2
ajinkyacgaikwad
Advocate I
Advocate I

Hi Adam
Thank you for reverting
I am looking more for on top interaction. when a value is selected on the bar graph and not in the slicer.

Anonymous
Not applicable

Hi @ajinkyacgaikwad ,

 

You can create a filter table of countries and then create the following measure to apply it to the filter.

 

Refer to the following:

vkongfanfmsft_0-1717037806611.png

vkongfanfmsft_3-1717037977499.png

 

create below measure:

result_ =
VAR sel =
    SELECTEDVALUE ( slicer_[Country] )
RETURN
    IF ( sel = MAX ( 'Table'[Country] ), 1, 0 )

vkongfanfmsft_1-1717037850801.pngvkongfanfmsft_2-1717037865899.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.