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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Lexixl
Frequent Visitor

How to set a default date slicer value when publish to the service

Hi everyone,

 

I created Date slicer with the method in the following link: https://www.linkedin.com/pulse/custom-range-date-slicer-power-bi-dynamic-defaults-more-a%C5%9F%C4%B1...

 

And I got a slicer like this:

Lexixl_0-1625540594816.png

Then I publish the report to the service. 

 

I want to make the slicer set to 'yesterday' every time I reopen it in the service.

But right now, for example, if I select 'This Month' in the service, the next time when I reopen the report in the workspace, the date slicer still shows the 'This Month' rather than 'Yesterday'.

 

Is there any way to make the 'Yesterday' group as default whenever I open it in the service? 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Lexixl , Ideally if the report is saved yesterday and you reset it, it should open on yesterday.

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Lexixl ,

 

What you said is not that there is a problem. When you save a pbix file, it saves the last option of your slicer.

The best way to achieve this is to make sure select the slicer option to 'Yesterday' every time you save&close the pbix. 

 

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.

amitchandak
Super User
Super User

@Lexixl , Ideally if the report is saved yesterday and you reset it, it should open on yesterday.

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
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 Kudoed Authors