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 have a strange issue in one of my requirement. I have a date column in my dataset that is coming in as text. When i try to convert this to Datetime the dates and months are getting mixed up :
Example : if you look into the rows highlighted in Red, the Month and dates are swapped and the green rows are correct.
Is there a way to fix this? beause of this all my time related measures are getting calculated incorrectly.
Solved! Go to Solution.
@Jagan_MFilterIT , This UK vs US date issue.
or create a new column in dax
date(mid([Delivery Datetime],7,4) , mid([Delivery Datetime],4,2), left([Delivery Datetime],2) + timevalue([Delivery Datetime])
@Jagan_MFilterIT , This UK vs US date issue.
or create a new column in dax
date(mid([Delivery Datetime],7,4) , mid([Delivery Datetime],4,2), left([Delivery Datetime],2) + timevalue([Delivery Datetime])
Sir,
Thanks a ton. I used the second option to construct the date using your dax formula:
date(mid([Delivery Datetime],7,4) , mid([Delivery Datetime],4,2), left([Delivery Datetime],2) + timevalue([Delivery Datetime])
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 |
---|---|
119 | |
88 | |
74 | |
67 | |
49 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |