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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Solution Supplier
Solution Supplier

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
Solution Supplier
Solution Supplier

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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