March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
Hello,
I have created a hierarchy of year, month and day.
I'm trying to get the date slicer set as the latest date dynamically today()).
But I'm also trying to make the date slicer select all days up to today, today(). Is this possible? I want to look at all the data up to today, and not per day. So that all days are checked in until today.
What i have created so far:
Thank you, this is already what i have done, second part is that i want. example: today is 2024-03-13 , i want 2024 to be checked, the month to checked and all days until the 13 th to checked. is that possible?
Hi @Kellef
You just need to change the measure to the following.
Measure = IF(YEAR(MAX('Table'[Date]))=YEAR(TODAY())&&MAX('Table'[Date])<=TODAY(),1,0)
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I want the dateslicer to look like this, ackumulated until today.
i tried youre way, but maby im missing something?
best regards,
Patrik
Hi @Kellef
If you want to achieve this, you can consider to use custom visual:pre-selected visual.
2.Create a table.
Then change the measure
Measure = IF(YEAR(MAX('Table'[Date]))=YEAR(TODAY())&&MAX('Table'[Date])<=TODAY(),TRUE(),FALSE())
Then put the following fields to the visual.
Output
Note:It has limitation that it cannot put the hierarchy to the field.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
the dates was marked until today, so in that case it worked. But unfortunality it didnt look so good and my sameperiodlastyear measures didnt calculate correctly with that type of slicer.
But a good tip!
Thanks.
Hi @Kellef
You can refer to the following example.
Sample data
1.Create a measure
Measure = IF(EOMONTH(MAX('Table'[Date]),0)=EOMONTH(TODAY(),0),1,0)
2.Put the date hierarchy to the slicer,and put the meaure to the slicer visual filter.
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
128 | |
90 | |
75 | |
56 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |