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
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

@Anchit_Thomas , refer if this feature can help

https://powerbi.microsoft.com/en-us/blog/power-bi-october-2020-feature-summary/#_Toc51665421

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.