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
dokat
Post Prodigy
Post Prodigy

Exclude slicer selection from the results

Hi,

 

I have a report with 4 slicers. I'd like to create a measure where it sums regardless of the slicer selection. I'd like to completely exclude any slicer selection from the results. How can i do that? Appreciate any help!

 

Slicer 1; Period

Slicer 2: Channel

Slicer 3: Category

Slicer 4: Segment

1 ACCEPTED SOLUTION
dokat
Post Prodigy
Post Prodigy

I found the solution all() function did the trick for me and excluded all slicers.

 

Calculate(SUM('POS'[Values]),'POS'[Measures] IN {"Dollars"},ALL())

 

View solution in original post

4 REPLIES 4
dokat
Post Prodigy
Post Prodigy

I found the solution all() function did the trick for me and excluded all slicers.

 

Calculate(SUM('POS'[Values]),'POS'[Measures] IN {"Dollars"},ALL())

 

Syk
Super User
Super User

Click on your slicer and find the format tab in the ribbon, select edit interactions and hit the circle with the line through for the measure you don't want to change with the slicer

Syk_1-1646685306259.png


The slicer will no longer affect the value (changed dates here)
Before:

Syk_3-1646685395180.png

After:

Syk_2-1646685350025.png

 

@Syk Thank you for your response. There are some calculations i'd like it to interact with the slicer selections in the same table. I don't want to exclude all interactions. Is there a way to do this?

You'd need to use a filter function that overides the context of the report page.. Calculate is an example of this - in this screenshot the table still takes interaction from the date slicer but the 'New Measure' doesn't care because it uses calculate to overide it.

Syk_1-1646686303929.png

 

 

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.