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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Slicer Issue in desktop

Hi all,

 

I currently have a slicer with dropdown dates. When I refresh the data, I need to manually change the date in slicer. How can I make it to refresh automatically?

 

Vignesh_98_0-1647843731860.png

As in the above image I need the slicer to automaticaaly update to 15th without manually changing it. Any suggestions would be soo helpful.

 

Thanks,

AV

3 REPLIES 3
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on my testing, even after restricting the date in the slicer to show only the latest date, when the data is updated, the slicer retains the last selection. As shown below, showing both 3/15/2022 and 3/13/2022. 3/13/2022 only disappears when you manually select 3/15/2022.

 

vkkfmsft_0-1648102393816.png                  vkkfmsft_1-1648102410995.png

 

A workaround is to use measure rather than slicer to filter the latest date in other visuals.

 

Measure = 
COUNTROWS (
    FILTER (
        'Table',
        'Table'[Starttime] = MAXX ( ALL ( 'Table' ), 'Table'[Starttime] )
    )
)

vkkfmsft_2-1648102573699.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Hi Winnie,

apologies for the late reply. I couldn't get the desired result from the above measure. My expectation is when the date slicer needs to get updated automatically once the data is refreshed. As of now I need to select it manually. I also need to retain older dates but the slicer should get updated automatically. The below data was refreshed on 29th, so I want the date slicer to automatically show to 29th instead I need to switch manually.

 

snip.PNG

 

Thank you, 

AV

amitchandak
Super User
Super User

@Anonymous , You need to create a static column like this and save or today or yesterday

 

Date Type = SWITCH(TRUE(),'Date'[Date]=TODAY(),"Today"
,'Date'[Date]=TODAY()-1,"Yesterday"
,'Date'[Date]=TODAY()-2,"2 Days Ago"
,'Date'[Date]&"")

 

As of now only this work around is there

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.