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
XiaoxiangXue
Regular Visitor

Data Refreshed and how to keep the date with slicer keep the earliest to latest

To refresh dashboard automatically everyday since there are new data input everyday. Created at (FROM - TO)

The dates mu model used "After" format, if so, the "TO" date (circled) will keep the latest date eveyday. But if so, the grey one is un-changable. If I use "Between", the TO is unchanged everyday except by hand. How can I use the dates format to keep the FROM and TO are changed everyday. "Between", "Tooltips" or others?

Thanks,

 

XiaoxiangXue_1-1732674126266.png

 

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @XiaoxiangXue 
You can create flag measure like

flag_last_trefresh = if(max('Calendar'[Date])>max('table'[lastrefresh]),0,1)
And use it as a filter for the slicer:
Ritaf1983_1-1732677058854.pngRitaf1983_2-1732677187807.png

 The pbix with the logic (based on the last transaction date is attached)

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
XiaoxiangXue
Regular Visitor

And how can I set up that? Thanks.

XiaoxiangXue
Regular Visitor

I did not explain the question clear, like the following:

The date range were from the created_at.

For the first dashboard, the TO date did not change unless you drag or change. The right one page change to the latest date every morning automatically.

The both are using "Between' for date range. If I use the "After" that is like the original question with a "grey" and unchangable latest date.

The two page different I could find is the "drill through" or "tooltip" area. Is that the reason or other reasons?

XiaoxiangXue_0-1732685918944.png

XiaoxiangXue_1-1732686009478.png

 

Ritaf1983
Super User
Super User

Hi @XiaoxiangXue 
You can create flag measure like

flag_last_trefresh = if(max('Calendar'[Date])>max('table'[lastrefresh]),0,1)
And use it as a filter for the slicer:
Ritaf1983_1-1732677058854.pngRitaf1983_2-1732677187807.png

 The pbix with the logic (based on the last transaction date is attached)

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

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