Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi,
I want to keep the rows where the value is before today. The filter needs to be dynamic, so the today filter must change to the current date.
This is the column for the filter.
Who can help me out?
Thanks
Solved! Go to Solution.
Hi @Rgieltjes_Meyn ,
If it is in Power Query you can use this code as today's date:
Date.From(DateTime.LocalNow())
In the query editor, filter the column to any date desired and replace the part of the formula which looks like this:
= #date(2023,1,1) //note: do not delete the ) after this.
with
<=Date.From(DateTime.LocalNow())
DateTime.LocalNow() is equivalent to NOW() in DAX or Excel. Since we need to get jus the date component, we then wrap it with Date.From()
Proud to be a Super User!
Hi @Rgieltjes_Meyn ,
If it is in Power Query you can use this code as today's date:
Date.From(DateTime.LocalNow())
In the query editor, filter the column to any date desired and replace the part of the formula which looks like this:
= #date(2023,1,1) //note: do not delete the ) after this.
with
<=Date.From(DateTime.LocalNow())
DateTime.LocalNow() is equivalent to NOW() in DAX or Excel. Since we need to get jus the date component, we then wrap it with Date.From()
Proud to be a Super User!
User | Count |
---|---|
95 | |
89 | |
70 | |
63 | |
58 |
User | Count |
---|---|
149 | |
113 | |
95 | |
80 | |
72 |