Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I am using the Between format for the Date slicer. What I need is to set the end date of the date range to yesterday date, so everytime I open the dashboard ,it shows 1/1/2020 - Yesterday. I would like the slicer to always default from the first of January to yesterday. Please suggest how to achieve this. Thanks.
Solved! Go to Solution.
The best solution would be to create an additional column to check if the date is less than today. If so, show date, if not blank (). And add this new column to the slicer.
to Yesterday Date =
IF ( DATEDIFF ( 'Date'[Date], TODAY (), DAY ) >= 1, 'Date'[Date], BLANK () )
Result:
_______
If I helped, please accept the solution and give kudos! 😊
Hi, @LyncoData1
The selection of the default value of the slicer is not yet supported as below.
The only effect that can be achieved is what mentioned by @lkalawski .
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can use relative date filter till yesterday
@amitchandak wrote:You can use relative date filter till yesterday
amitchandak, the filter does not have the "till" option, so this solution will not pass.
The best solution would be to create an additional column to check if the date is less than today. If so, show date, if not blank (). And add this new column to the slicer.
to Yesterday Date =
IF ( DATEDIFF ( 'Date'[Date], TODAY (), DAY ) >= 1, 'Date'[Date], BLANK () )
Result:
_______
If I helped, please accept the solution and give kudos! 😊
Hi,
Is there a way to default the from date to Yesterday?
Regards,
Raj
Place a filter on that filter visual to be in the last 1 days.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
85 | |
82 | |
66 | |
49 |
User | Count |
---|---|
137 | |
111 | |
101 | |
66 | |
65 |