Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I have a sales report published in service which shows sales for the year 2022. I have a date slicer which is as shown below
The date on the left (1/1/2022) should not change and the date on the right (1/3/2022) should update everyday with yesterday's date when a report is being sent today. Is there a way I can accomplish this using DAX in desktop and need not worry about changing the date manually in service everyday?
Thanks in advance.
Regards,
Rosh
Hi @Rosh89 ,
I think you can create a DimDate table by "Calendar" function in Dax.
Date =
CALENDAR(DATE(2022,01,01),TODAY()-1)
It will always show dates in range from 2022/01/01 to yesterday.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous,
I tried what you suggested but it does not work for sending emails automatically on a daily basis. The date slicer will always show the date the report was published from desktop to service.
Best Regards,
Rosh
@Rosh89 , As far as I know, you can not initialize date range slicer. You can log an idea https://ideas.powerbi.com/ideas/
User | Count |
---|---|
82 | |
79 | |
66 | |
49 | |
46 |
User | Count |
---|---|
103 | |
44 | |
39 | |
39 | |
39 |