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
Exciting changes

Power BI Community Changes

Check out the changes to the Power BI Community announced at Build.

May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Kudo Data Story carousel

Data Stories Gallery

Visit our Data Stories Gallery and give kudos to your favorite Data Stories.

Top Solution Authors