cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anil_k Frequent Visitor
Frequent Visitor

Start Date should be todays date and end date should be todays date plus one month

HI,

 

I have a requirement, i have date slicer i have created the date dimension

Start Date = CALENDAR (DATE ( 1900,1, 1), DATE (2025,12, 31))
now i have kept the slicer for this it shows like this 1/1/1900 - 12/31/2025
but the end user want to see the start date with default todays date i.e. 01/02/2019 start date &  end date.JPG
and end date should show as 02/02/2019 insteaad of 12/31/2025.

can anybody suggest me how can i approach this requirement.

Regards
Anil k

1 ACCEPTED SOLUTION

Accepted Solutions
tarunsingla Established Member
Established Member

Re: Start Date should be todays date and end date should be todays date plus one month

Add a report or page level filter on date. Use Relative Date filtering for the filter; set to "is in the next" 30 "days" or 1 "month". The date slicer on the report page will then show the next 30 days by default. The report or page filter can be cleared by the end user when they wish to see data for all dates.

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Start Date should be todays date and end date should be todays date plus one month

Well, once you publish this to the Service, the Service will remember each users' preferences. Or, does this need to work in Desktop?


I have book! Learn Power BI from Packt


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

Community Support Team
Community Support Team

Re: Start Date should be todays date and end date should be todays date plus one month

Hi @Anil_k,

 

AFAIK, current power bi still not support to setup default value on slicer.(dynamic default value also not support)

 

Maybe you can submit or vote similar requirement to idea forum.

 

Regards,

Xiaoxin Sheng

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



For learning resources/Release notes, please visit: | |
tarunsingla Established Member
Established Member

Re: Start Date should be todays date and end date should be todays date plus one month

Add a report or page level filter on date. Use Relative Date filtering for the filter; set to "is in the next" 30 "days" or 1 "month". The date slicer on the report page will then show the next 30 days by default. The report or page filter can be cleared by the end user when they wish to see data for all dates.

View solution in original post

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 60 members 1,275 guests
Please welcome our newest community members: