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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.