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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors