Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I'm having problems with trying to keep the date format of my original Excel sheet that forms the basis of a report.
In Excel it's in the correct UK format - DD/MM/YYYY - but when i'm building the dataflow, it's reverted to MM/DD/YYYY. My browser is Chrome and the Language is set to English (United Kingdom) and both removing the Changed Column Types from the Transform Sample File and formatting the column to Date and UK Locale do nothing.
Solved! Go to Solution.
Hello @Liam01
When in Power Query, have you tried to:
First - change data type to text (normally you'll have only ABC instead of ABC123).
Then - change the format using locale (right clic -> Change type -> Using locale).
Sometimes the intermediate step, transform to text, resolves this problem.
Regards,
Hi @Liam01
Hmm, strange. Can you post please the M query here? that you use to connect to the Sharepoint site.
You can get it by going to the advanced editor:
Thanks
Hello @Liam01
I don't see the step where you change the date format for your Date Modified Column.
What you need to do is to first transform your Date Modified to Text type and then add another transform step by choosing "Using locale" -> Date/time -> the desired zone.
Regards,
Apologies, in the interim, the Date Modified is in the correct UK format in Power Query so I didn't need that step. Although it's now in the US format in Microsoft Teams despite my browser language being English (UK)!
To add to this, I'm looking at the Date Modified for pulling through the most recent file and that date in Sharepoint is in UK format but in Power Query, it shows as US format. Tried the suggested fix and that doesn't resolve it here.
Hello @Liam01
When in Power Query, have you tried to:
First - change data type to text (normally you'll have only ABC instead of ABC123).
Then - change the format using locale (right clic -> Change type -> Using locale).
Sometimes the intermediate step, transform to text, resolves this problem.
Regards,
Hi @AnastasiaS
Thanks - that appears to have worked on one dataflow but not on another one! It's odd - the one it's worked on is pulled from a Table whereas the other one isn't. Not sure if that's anything to do with it, i'll keep looking into it.