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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
lem5072
Frequent Visitor

Multiple Filters across different workbooks

Hello, 

 

I am trying to apply 2 filters across 2 different fields in 2 different workbooks. I cannot merge the files as they deal with seprerate data and that would not work. I need to filter by Office AND by YEAR. However when i create the relationships I cannot link these tables on multiple fields. When i then create a table to link the Office to Workbook 1 then Year from Workbook 1 to Workbook 2 this also doesn't work. I hav also tried the formula 

 

 

Year Sep Count = calculate(count(Workbook2[Count]), filter('Workbook2','Workbook2'[Year] in values(Workbook1l[Year])))
 
Workbook 1 Workbook 2
CountOfficeYearAge  OfficeYearLeave Taken
13987Front Office201243  Front Office2012Y
13989Front Office201467  Front Office2014N
13990HR201533  HR2015Y
13991Front Office201424  Front Office2014N
13992IT201965  IT2019Y
13993IT202023  IT2020Y
13994HR201465  HR2014N
13995Front Office201619  Front Office2016Y
 
 
My Dashboard has both the Office Filter and the Year filter, so when you select either I want both tables to filter appropriatley. Creating 2 seperate lookup tables for the Office and Year also cause a circular relationship 
 
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@lem5072 , You can create common office and year (if needed date table) dimension and join with both tables and use those dimensions as slicer and visual along with measure from two tables

 

new tables 

Office=

distinct(union(distinct('Table'1[Office]),distinct('Table'2[Office])))

 

year =

distinct(union(distinct('Table'1[year ]),distinct('Table'2[year ])))

 

Bridge Table: https://www.youtube.com/watch?v=Bkf35Roman8&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=19

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

View solution in original post

2 REPLIES 2
lem5072
Frequent Visitor

Thank you for the help!

amitchandak
Super User
Super User

@lem5072 , You can create common office and year (if needed date table) dimension and join with both tables and use those dimensions as slicer and visual along with measure from two tables

 

new tables 

Office=

distinct(union(distinct('Table'1[Office]),distinct('Table'2[Office])))

 

year =

distinct(union(distinct('Table'1[year ]),distinct('Table'2[year ])))

 

Bridge Table: https://www.youtube.com/watch?v=Bkf35Roman8&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=19

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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
Top Kudoed Authors