March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi, I'm using a DAY function to read the day out of a column with the date in dd/mm/yyyy format.
However when the day is 12 or below the function reads the month instead, as you can see in the picture.
The column [days in between] reads the [ZAPPDATE] with a DAY function, but when the day value equals 12 or lower it instead reads the month value.
I have my dateformat set to dd/mm/yyyy on my computer so that shouldn't be the problem. Any ideas?
Thanks
Solved! Go to Solution.
That does seem odd. What data time are you using for the [ZAPPDATE] column?
And if you are using Date/Time what does your [ZAPPDATE] column show if you set the Format to something a little more verbose?
Thanks! The trick was to change the format outside of the query-editor.
That does seem odd. What data time are you using for the [ZAPPDATE] column?
And if you are using Date/Time what does your [ZAPPDATE] column show if you set the Format to something a little more verbose?
Thanks! The trick was to change the format outside of the query-editor.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |