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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
gianmarco
Helper IV
Helper IV

Advanced filter

Dear All,

I can slice a table for the following row values:

0

1

2

3

 

What I want to achieve is a slicer where I can filter for the following options:

0 & 1,

0 & 2,

0 & 3.

 

In other words, you can slice for 1, 2 & 3 only but when you do you always slice for 0 as well.

 

Thank you very much

gianmarco

 

 

 

1 REPLY 1
lbendlin
Super User
Super User

0 & 1

That's not what you mean, you need 0 || 1  (or, not and).

 

Usually this is achieved by UNIONing two tables, one static (with the 0) and one to feed the slicer (1,2,3).  The UNION needs to be done inside a measure and that measure needs to produce a 1/0 value that can be used as a visual filter.

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Top Solution Authors