Forum Discussion
elenton
Helper II
7 years agoPrevious Days Orders
Hi I want to get all orders from the previous day. However if i use now() - 1 it pulls the time in which dosent link on my date table. If i format the date it ends up as a string whcih is inc...
parry2k
Super User
7 years agoelenton what exact error your are getting? Date function you used for var should return a date.
elenton
Helper II
7 years agoparry2k this is the error that comes up
Error Message:
MdxScript(Model) (63, 5) Calculation error in measure '_Alert Measures'[_Daily Calls Total]:
DAX comparison operations do not support comparing values of type Date with values of type Text.
Consider using the VALUE or FORMAT function to convert one of the values.