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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
JRP515
Frequent Visitor

Question About Date Slicers RE: Refreshed data

Is there a way to have date slicers on the "Between" setting (rather than "Relative") where the second date updates automatically after refreshing with new data?

 

In other words, can the date slicer automatically change/update based on the date range of the new data?

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi, @JRP515 

Now when you log out of Power BI and come back to a report, the same items will be selected as when you left.

So for your requirement, it couldn't achieve in power bi for now.

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7162004-default-selected-slicer-o...

and as a workaround, you add a column to judge if the date is max date then set it in visual/page/report level filter or create a measure do the same work as vaibhavdesai provided.

 

Best Regards,

Lin

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

View solution in original post

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hi, @JRP515 

Now when you log out of Power BI and come back to a report, the same items will be selected as when you left.

So for your requirement, it couldn't achieve in power bi for now.

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/7162004-default-selected-slicer-o...

and as a workaround, you add a column to judge if the date is max date then set it in visual/page/report level filter or create a measure do the same work as vaibhavdesai provided.

 

Best Regards,

Lin

Community Support Team _ Lin
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,

For this you will need to add a calculated column in your Date table as below:

DateToShow = IF( Dates[Date] <= MAX( TransactionTable[Date] ), TRUE(), FALSE() )

Once this is done, you can add a page level filter on 'DateToShow' field and set it to True.

So every time you refresh the data, it will fetch the MAX avaialable date and only show slicer till that date.

 

Thanks.

Please accept this as a solution if it satisfies the requirement. Appreciate your Kudos. 🙂

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.