cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Setting the date slicer for between option to the current date

Hi,

 

I have a date slicer (as below image) and I need the end date to result in the current date when the user opens the page (I have the graph embedded in an asp .NET site). At the moment it seems to always show as the date that I select when I save the PBIX and upload it to powerbi.

Capture.JPG

Much apprecited.

 

5 REPLIES 5
Highlighted
Super User II
Super User II

Re: Setting the date slicer for between option to the current date

You cannot cause the slicer selection to dynamically change when a user loads it that I am aware of. It will typically remember their last selection unless:

  • They have reset filters and cleared it, so they get what you set
  • You have blocked the end user's ability to save filters, so they always see what you set when they open it.


Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
Highlighted
Community Support
Community Support

Re: Setting the date slicer for between option to the current date

Hi @duggy ,

 

How about put a Relative Date Filtering as all page filter like following picture? Then the slicer should apply the filter and you can put a bookmark to clear the filter.

 

8.PNG

 


BTW, pbix as attached.

 

Best regards,

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

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

Re: Setting the date slicer for between option to the current date

This sounds like it could be what I am looking for. Will the slicer "reset" when the person loads the page again?

So if they go to another webpage and then return to this page, it will reset to the current date as a result of the relative filtering?

 

Highlighted
Super User II
Super User II

Re: Setting the date slicer for between option to the current date


@duggy wrote:

This sounds like it could be what I am looking for. Will the slicer "reset" when the person loads the page again?

So if they go to another webpage and then return to this page, it will reset to the current date as a result of the relative filtering?

 


Depends on your setting. If you have the PBIX file set to not allow users to save filters, it will reset to what you had it at when you published, along with any relative filters. If you allow them to save filters in the report, it will always be what they left it at the last time, assuming that is possible. For example, if the relative filter is set to last month (and it is a 3 month report) that would be Sept. But if they don't look at the report again until December, then it cannot show Sept as that is invalid.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
Highlighted
Community Support
Community Support

Re: Setting the date slicer for between option to the current date

Hi @duggy ,

 

How about the result after you follow the suggestions mentioned in my original post?Could you please provide more details about it If it doesn't meet your requirement?

 

Best regards,

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

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

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors