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
Anonymous
Not applicable

Exclude value via a slicer

Hi,

 

I'm making a sales report and I want to exclude sales orders based on a characteristic.

 

Let say that every order can be categorized as A, B or C.

 

Example:

 

Sales order 1 | A

Sales order 2 | B

Sales order 3 | C

Sales order 4 | A.

 

Now I want to make a filter with two options, either 'showing all orders'  (in this example 4) or 'showing all orders except A' (in this example 2).

 

Can you help we with this?

 

Thx!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

 

I'm just giving a try.

 

Download the Solution File

 

Please check the solution and let me know if it helps you.

 

Regards,

Pavan.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi,

 

I'm just giving a try.

 

Download the Solution File

 

Please check the solution and let me know if it helps you.

 

Regards,

Pavan.

Greg_Deckler
Super User
Super User

Typically you would use a slicer such that you would select everything and then unselect the items that you want to exclude. That being said, I have done some things with switching up the behavior of slicers like in this Inverse Aggregator here:

 

https://community.powerbi.com/t5/Quick-Measures-Gallery/Inverse-Aggregator/m-p/342266


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.