Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi,
I have been stuck on the following problem for a few days.
I have 2 tables on a page, the data comes from the same imported DB Table (Sheet1):
Table 1
Table 1
Table 2
Table 2
I need to be able filter table2 based on a selection from table 1. It should return the the rows where that Date and Location are the same, i.e. if you select the row with name 3 from Table 1, it should return the rows with Name 1 & Name 3.
I have tried to create a measure to filter this:
Solved! Go to Solution.
Hi @Shaundekok ,
Based on your description, you can create a measure as follows.
Measure =
var x1=SELECTEDVALUE('Table1'[Date])
var X2=SELECTEDVALUE(Table1[Location])
return
IF(MAX('Table2'[Date])=x1&&MAX('Table2'[Location])=X2,1,0)
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Shaundekok ,
Based on your description, you can create a measure as follows.
Measure =
var x1=SELECTEDVALUE('Table1'[Date])
var X2=SELECTEDVALUE(Table1[Location])
return
IF(MAX('Table2'[Date])=x1&&MAX('Table2'[Location])=X2,1,0)
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.