Forum Discussion
Anonymous
6 years agoNot applicable
Date wrong type
When I was tryin to create YTD last year formula ,its getting anerror when it pulled to visual. DAX: Spent_Amnt_YTD_LY = VAR DataMaxDate = CALCULATE (DATE(YEAR(max(DETAIL[CHECK_DATE]))-...
- Anonymous6 years ago
Hi Anonymous ,
Wrong data type of the parameter in datesbetween() function.
Refer:
https://docs.microsoft.com/en-us/dax/datesbetween-function-dax.
If you can share some sample data and expected result, we might help you deal with the formula.
Best Regards,
Jay
amitchandak
6 years agoSuper User
Anonymous , why are you giving blank in DATESBETWEEN