Forum Discussion
Previous Days Orders
parry2k sorry i missed that bit.
I think the issue may be that the date format i am trying to link on is YYYY-MM-DD which is different to the fomat that the variable is producing.
When i try to format the variable the same it is then converted to a string so data type mismatch. So im not sure how to then convert it back into a date.
Or is there something more obvious im missing?
elenton what exact error your are getting? Date function you used for var should return a date.
- elenton7 years agoHelper II
parry2k 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.