cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anshenterprices
Helper IV
Helper IV

Default date should be last date in date slicer

Source data

Datecategorysales
4/6/2021A120
3/6/2021A100
2/6/2021A300
1/6/2021A270


whenever new  data is added in the table then in the date slicer by default date selection should be last date and rest of the other dates should be present in the date slicer , means when user open the report he can see last date of the sales and after that he can change the dates as per required.

2 REPLIES 2
amitchandak
Super User
Super User

@Anshenterprices , Create a new column in your date table or in table and sort that on date

 

Max Date = if([Date] = max(Table[Date]), "Max Date", [Date] & "" )

 

Select Max date and save

 

refer if needed

Default Date Today/ This Month / This Year: https://www.youtube.com/watch?v=hfn05preQYA&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=35

@amitchandak  In the Drop down user should see and selected last date automatically ,because daily i need to send  a pdf version of dashboard in power bi subscription,

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors