Forum Discussion
Anonymous
2 years agoNot applicable
DAX date today query
Hello everyone, Within a step in a flow to Run a query against I dataset, I wish to just retrieve items from a column called ETD where the date is "today" but I am getting an error when I try to ...
- Anonymous2 years ago
Many thanks, this helped me to fix it.
- 2 years ago
Please accept the correct answer as a Solution.
Best Regards
Saud Ansari
If this post helps, please Accept it as a Solution to help other members find it. I appreciate your Kudos!
rohit10191
2 years agoFrequent Visitor
Hi Anonymous ,
Try adding the EVALUATE and RETURN keywords as shown below. Also, your syntax for the filter query seems incorrect. Please try this code :
EVALUATE
VAR __DS0FilterTable4 =
KEEPFILTERS (
FILTER (
ALL ('SDT Clarity Tasks'[ETD] ),
'SDT Clarity Tasks'[ETD] = Today ()
)
)
RETURN
__DS0FilterTable4