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

Can I create filter with overlapping values?

Hello data heroes!

 

I would like to ask if there is a possibility to create filter with overlapping values? Let's say, I have a table with cars and their statuses:

 

CarIDStatus
1Rent
2Rent
3Broken & Rent
4Broken & Vacant
5Vacant
6Vacant

 

Do you think, that it is possible to create single filter with three buttons / selectors, working as below?

* Clicking on Rent will return cars with id 1, 2 and 3.

* Clicking on Broken will return cars with id 3, 4.

* Clicking on Vacant will return cars with id 5, 6.

 

Thank you! All the best,

rakunn

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @rakunn,

 

You should have a single table to list all available slicer selections.

1.PNG

 

Create a measure. And add it to visual level filter, set its value to 1.

Check_Measure = 
IF ( ISERROR(FIND(SELECTEDVALUE ( Table7[Column1] ) ,LASTNONBLANK(Table6[Status],1 ))), 0, 1 )

2.PNG3.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yulgu-msft
Employee
Employee

Hi @rakunn,

 

You should have a single table to list all available slicer selections.

1.PNG

 

Create a measure. And add it to visual level filter, set its value to 1.

Check_Measure = 
IF ( ISERROR(FIND(SELECTEDVALUE ( Table7[Column1] ) ,LASTNONBLANK(Table6[Status],1 ))), 0, 1 )

2.PNG3.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.