Forum Discussion
Date DAX Function is different
- 6 years ago
Hi Anonymous ,
I am sorry that we can not reproduce your issue, but I found a workaround in this post, please try to add a space after each number and see if you can get the correct answer.
DATE = DATE(2019 , 9 , 1)
This should get the result of 9/1/2019 12:00:00 AM
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi
Thank you for replying. I am using the most recent 64 Bit version. I uninstalled Power Bi and reinstalled it. But still getting this problem. The first photo below is the normal way of writing the Statement and I get the error as shown. The second photo is when I enter DATE(2019,2019,09,09,01,01) and I get October 1st as the result.
Thanks
Joe
Hi Anonymous ,
I am sorry that we can not reproduce your issue, but I found a workaround in this post, please try to add a space after each number and see if you can get the correct answer.
DATE = DATE(2019 , 9 , 1)
This should get the result of 9/1/2019 12:00:00 AM
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous6 years agoNot applicable
Thank you! that works.