Forum Discussion

lem5072's avatar
lem5072
Frequent Visitor
4 years ago
Solved

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 
 

2 Replies