Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello
Maybe I missed something with an update? My DATE() DAX functions are showing Errors now. Normally DATE functions are like this DATE(YYYY,MM,DD) now when I want to use it, it wants two values for Year, Month and Day DATE(YYYY,YYYY,MM,MM,DD,DD)
Normally after entering the year and then comma, you will be prompted to enter the month, but not in my example below.
Does anyone know why?
Thanks
Solved! Go to Solution.
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 @Anonymous ,
I think it is a dispaly error of hint, the date and time function works fine on my side, Could you please try to use a card visual to show the measure:
DATE = DATE(2019,9,1)
BTW, what is your verios of Power BI Desktop? Could you please upgrade it to the lastest version to see if this unexpected display happened again.
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.
Thank you! that works.
It's the same for the TIME function too
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
104 | |
98 | |
97 | |
38 | |
37 |
User | Count |
---|---|
153 | |
122 | |
75 | |
73 | |
64 |