Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi,
Is there a way the date in slicer automatically set Max value with today's date, but I do not want to use "Relative date include today" setting, since I still need the null date (1900/01/01)
Thanks,
Solved! Go to Solution.
If you add a column to your date table like so
DateOffset = DATEDIFF(TODAY(),'Date'[Date],DAY)
That will show 0 on today, -1 for yesterday, etc.
Then you can use this column as a filter on your date slicer and set it to <= 0 OR blank:
I think that will give you what you are looking for.
Hello @admin_xlsior
I'm assuming you are showing a measure in a visual that has data against the null date? You can apply that measure to your date slicer as a filter and set it to Is Not Blank which will then only show dates with data in the slicer. Will that work for you?
Hi,
Actually no, I just want the date slicer always point or fill in with today's date in its Max value (To date)
But yes, the reason I do not want to use Relative Date because I have data which is Null, so it will be filtered out if I'm using Relatif date. I cannot say relative in the last 200 years because the allowed value is 1-100.
Thanks,
Do you have a date table you are using?
Yes, the slicer use Date table can be up to year 2154
If you add a column to your date table like so
DateOffset = DATEDIFF(TODAY(),'Date'[Date],DAY)
That will show 0 on today, -1 for yesterday, etc.
Then you can use this column as a filter on your date slicer and set it to <= 0 OR blank:
I think that will give you what you are looking for.
Hey jdbuchanan71,
Thanks heaps - you are a genius!
I so needed this to do fiscal year to date Budget against year to date Actuals.
So I still have Date as >= 1 July
BUT now with your help, the DateOffset is set <1
Problem fixed. Thanks for posting this
If you are using Power BI Date/Calendar table then change the Date table as below.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 32 | |
| 27 | |
| 26 |