Forum Discussion
Anonymous
3 years agoNot applicable
Filtering with dates
Hi, I'm new to DAX queries and trying to use the below code although I keep getting an error. I want to filter based on the last 2 years of data based on todays date. My Date_Rd column is in...
ChielFaber
Super User
3 years agoDo you have the error message for us?
Regarding date filtering. I myself would suggest using the DATEDIFF function:
https://learn.microsoft.com/nl-nl/dax/datediff-function-dax