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
Hi all
I would like to create a default date slicer "latest" which updates every time new data is loaded to the latest date. Note this is an End of Day Report, meaning the latest date is always TODAY()-1, except on Monday it should be Friday
My code:
I was wondering if it were possible to modify this expresission that on Monday, last Friday is considered the latest date.
I have a holistic date table which includes day name, dummy for weekdays and weekends etc...
Many thanks in advance for your help!
Best SwissCake
Solved! Go to Solution.
Hello @SwissCake ,
check this link for instructions on how to set a slicer to default latest date https://www.youtube.com/watch?v=JlVHsZUk1nc
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
thank you very much for posting the video - that goes a bit beyond what i require.
I think I modified my code and it works now - In addition to this code I filtered my calender table to exclude weekends.
modified code
Hello @SwissCake ,
check this link for instructions on how to set a slicer to default latest date https://www.youtube.com/watch?v=JlVHsZUk1nc
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
thank you very much for posting the video - that goes a bit beyond what i require.
I think I modified my code and it works now - In addition to this code I filtered my calender table to exclude weekends.
modified code
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 |
---|---|
94 | |
86 | |
82 | |
70 | |
49 |
User | Count |
---|---|
143 | |
123 | |
107 | |
61 | |
55 |