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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
LoicIDCC
Regular Visitor

Filter the visual of a running total without filtering the underlying data

Hello,

I created a running total that calculates the count of distinct values by dates (using ISONORAFTER to manage the blank values):

Cumulative =
CALCULATE(DISTINCTCOUNT(Data[PATT_ID]), FILTER( ALLSELECTED('CALENDAR'),ISONORAFTER('CALENDAR'[Date],MAX('CALENDAR'[Date]),DESC)))
 
I want to create a slicer to filter the visual to certain years but not filtering the underlying running total.
I have tried to create a third calendar table for the visual and link to the calendar table, but that doesn't work.
Any idea how I can do that?
Thanks!

LoicIDCC_0-1620941283690.png

LoicIDCC_1-1620941301920.pngLoicIDCC_2-1620941319150.png

 

1 ACCEPTED SOLUTION
v-janeyg-msft
Community Support
Community Support

Hi, @LoicIDCC 

 

The slicer is originally used to filter the visual effects, and it doesn't affect the underlying data. 

v-janeyg-msft_0-1621243200662.png

If there is a measure in the visual that is affected by the slicer, you can choose to change 'allselected' to 'all' or edit interactions in the visual format.

Reference: Change how visuals interact in a report - Power BI | Microsoft Docs

If you still need help, please feel free to ask me.

 

Best Regards

Janey Guo

 

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-janeyg-msft
Community Support
Community Support

Hi, @LoicIDCC 

 

The slicer is originally used to filter the visual effects, and it doesn't affect the underlying data. 

v-janeyg-msft_0-1621243200662.png

If there is a measure in the visual that is affected by the slicer, you can choose to change 'allselected' to 'all' or edit interactions in the visual format.

Reference: Change how visuals interact in a report - Power BI | Microsoft Docs

If you still need help, please feel free to ask me.

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.