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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
gazzap
New Member

filter multiple SQL directquery views with one on page filter

Hi

I have two separate SQL views, both contain the Close_Year and Close_Quarter, which are not unique, I want to add both sets of information to the same page and allow the data to be filtered, and visually changed from interacting with the panels that I add to the page. Trouble is I can seem to filter the two sources from the same filter. I can't join the tables as the data is not unique, and there are more than two fields to join. The data looks like 

Close_year, Close_quarter

2018            1

2018            2

2018            3

2018            4 

 

etc. 

Each view contains thousands of rows and contains both the Close_year and Close_quarter as int's. 

 

Any ideas ?

1 ACCEPTED SOLUTION

Hi 

I am using directquery. Think I solved this myself, by creating two separate tables, Close_Year, Close_Quarter and linking to the other views, on the Close_Year and Close_Quarter fields, then filtering via the links. Thanks.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@gazzap,

Do you connect to SQL Server using Direct Query mode in Power BI Desktop? Do you create new tables that contain unique values and then create relationship among these tables? What is your expected visual after joining tables? Please post the expected result here.

Regards,
Lydia

Hi 

I am using directquery. Think I solved this myself, by creating two separate tables, Close_Year, Close_Quarter and linking to the other views, on the Close_Year and Close_Quarter fields, then filtering via the links. Thanks.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors