This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello, I have a problem, when I import data from the MySql database, the date is of type text in the form of mm/dd/yyyy, I can't change the database....and when I transfer that column to date, short date, it just creates mm.dd.yyyy, and then there is a problem, if dd is greater than 12, it gives an error......how can I transfer that column to dd.mm.yyyy
Thanks
Solved! Go to Solution.
maybe you can Using Locale and select the proper locale to get the correct date type.
Proud to be a Super User!
the easy way is just Paste this M Code : = Date.FromText([Date column Name], "en-US")
2nd Method :
Right Click the Date column in Power Query and Click data type Correct the Date Type
Then Go to Using Locale and change the Locale to English (United States)
Hi @maricci1
Have you had a chance to look through the responses shared earlier? If anything is still unclear, we’ll be happy to provide additional support.
Hi @maricci1
We wanted to follow up to check if you’ve had an opportunity to review the previous responses. If you require further assistance, please don’t hesitate to let us know.
maybe you can Using Locale and select the proper locale to get the correct date type.
Proud to be a Super User!
Hello @maricci1
Try this
Add Column → Custom Column and use this formula:
= Date.FromText(Text.Replace([YourDateColumn], "/", "-"), [Format="en-US"])
But if that gives errors, try this manual split + reorder method:
let
parts = Text.Split([YourDateColumn], "/"),
month = Number.FromText(parts{0}),
day = Number.FromText(parts{1}),
year = Number.FromText(parts{2})
in
#date(year, month, day)
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 32 | |
| 26 | |
| 24 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 50 | |
| 31 | |
| 26 | |
| 22 |