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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Ignoring the interaction of a slicer but keeping the value of the slicer

Hello,

I hope you are well?

 

I'd like to create a visual displaying the last 7 months according to the slicer date, without any interaction between the slicer and the visual (Digits 1 and 2). So here, i'm filtering with the Digits 2 my table (measure = 1). If I change the slicer value, it doesn't affect my measure.

 

DPE_Fabulous_0-1689852344080.png

 

In fact, I'd like to keep the value of the slicer (red number 1) in order to put it into a calculation used to filter dates (green number 2). I'm currently using the LASTEDATE value as _MaxDate, but when I deactivate the slicer, the LASTDATE no longer corresponds to it.

 

Can you help me? Thank you 🙂

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous , 

I'm already using a separate calendar table because I use a lot of separate datasources. I use my Calendar Table as a slicer to filter some measures.

 

I've already thought about this solution but it doesn't work at all.

Anonymous
Not applicable

Hi @Anonymous ,

 

It sounds like you can create a separate calendar table, and then the slicer's dates come from this table. Because this table is independent, it is not affected by others. You can use SELECTEDVALUE function.

 

                                                                                                                                                

Best Regards,

Stephen Tao

 

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

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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