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
sxuanjing
Frequent Visitor

Filter from an independent table value

Hi Hi

I would like to get some advice on should I approach this scenarios if possible

 

Table A with Column "DayLeft"

sxuanjing_0-1636110245396.png


Table B 

sxuanjing_1-1636110380699.png

 

These 2 tables are not related

 

I wanted 

1) create a slicer with TableB [Expire] Column

2) when i choose 3 Months

3) TableA will only display DayLeft >= 90

 

sxuanjing_4-1636110742871.png

 

Thank you 

1 ACCEPTED SOLUTION
sanalytics
Super User
Super User

Hello @sxuanjing 

 

Try to Create a measure which will help you acheive this

Something like below

Tag = IF(
MAX( TableA[DayLeft] ) >= SELECTEDVALUE(TableB[value]),
1,0
)

 

Attached is the screenshot and Power Bi file

sanalytics_0-1636112478431.png

 

https://dropfiles.org/EG888s

 

Have a look

 

Regards

sanalytics

if it is your solution then please like and accept it as your solution

 

 

View solution in original post

2 REPLIES 2
sxuanjing
Frequent Visitor

Hi @sanalytics 

Thank you so much for your time to prepare the solution. 😀

I really appreciate it. 

sanalytics
Super User
Super User

Hello @sxuanjing 

 

Try to Create a measure which will help you acheive this

Something like below

Tag = IF(
MAX( TableA[DayLeft] ) >= SELECTEDVALUE(TableB[value]),
1,0
)

 

Attached is the screenshot and Power Bi file

sanalytics_0-1636112478431.png

 

https://dropfiles.org/EG888s

 

Have a look

 

Regards

sanalytics

if it is your solution then please like and accept it as your solution

 

 

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.