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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anchit_Thomas
Helper I
Helper I

How to pass filters to different backend SQL tables

Hi Everyone,

 

I have three visuals in my report, assume a graph and two different tables.

Now data for these thee visuals come from three different SQL tables. There is a filter - slicer say "brand" at the top.

 

We want this filter (which comes from SQL table of graph) to affect all the three visuals. How can we do this ?

One way is to create relationships between tables but as I am using direct query and size of data in each table is very large I dont want to go with this due to performance issues.

 

Is there any other way we can achieve this ? 

 

Thank you in advance.

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anchit_Thomas ,

 

Try to create a measure and put the measure into "Filters on this visual". 

 

Measure = IF ( MAX ( 'Table'[Column] ) IN VALUES ( 'graph'[Column] ), 1 )

 For example, put the above measure into "Filters on this visual" field of the three visuals and set as "is not blank",

 

 

Best Regards,

Icey

 

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

View solution in original post

2 REPLIES 2
Icey
Community Support
Community Support

Hi @Anchit_Thomas ,

 

Try to create a measure and put the measure into "Filters on this visual". 

 

Measure = IF ( MAX ( 'Table'[Column] ) IN VALUES ( 'graph'[Column] ), 1 )

 For example, put the above measure into "Filters on this visual" field of the three visuals and set as "is not blank",

 

 

Best Regards,

Icey

 

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

amitchandak
Super User
Super User

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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