Forum Discussion
Anonymous
8 years agoNot applicable
variable for today's date
I'm trying to filter on a data set to have the date always be greater than or equal to the current date. Is there a variable that I can use, like 'DATE' or something like that? Thanks!
- 8 years ago
Ah. You are in Power Query. The language used there is called "M", not DAX...no matter, we can make this right. Instead of TODAY(), use DateTime.LocalNow() where you edited it in the formula (you were on the right track) and all should be good. And you need to make sure that you balance the paranthesis, see error message in the pic you attached.
Anonymous
8 years agoNot applicable
That worked perfectly! Thank you for the solution - and for the clarification between DAX and Power Query. Still very new to this, and have a lot of learning to do! :smileyhappy:
erik_tarnvik
8 years agoSolution Specialist
My pleasure!