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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
DPE_Fabulous
Frequent Visitor

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
DPE_Fabulous
Frequent Visitor

Hi @v-stephen-msft , 

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.

v-stephen-msft
Community Support
Community Support

Hi @DPE_Fabulous ,

 

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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