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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
duggy
Advocate II
Advocate II

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.

 

6 REPLIES 6
v-lid-msft
Community Support
Community Support

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.
v-lid-msft
Community Support
Community Support

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.

Hi @duggy FYI @v-lid-msft 

 Can you please share the pbix file? the link is broken. 

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?

 


@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
edhans
Super User
Super User

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.