The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Solved! Go to Solution.
Hi Alberto,
this problem happens because the windows regional setting is not set to english (US).
You can change that or you can split column by delimiter "/" and rename the columns as below
Then you can create a custom column putting the day before the month:
DateTime=[Day]&"/"&[Month]&"/"&[Year]
I hope you can solve it now!
Ciao
Chiara
Hi @Anonymous;
in Power Query add Custom Column and use below formula:
=Text.Start([Date],Text.Length([Date])-4)&"/"& Text.Start(Text.End([Date],4),2)&"/"&Text.End(Text.End([Date],2),4)
where [Date] is the column you whant to change. After that change type of new column in Date Time.
Best Regards
Chiara
Hi Alberto,
this problem happens because the windows regional setting is not set to english (US).
You can change that or you can split column by delimiter "/" and rename the columns as below
Then you can create a custom column putting the day before the month:
DateTime=[Day]&"/"&[Month]&"/"&[Year]
I hope you can solve it now!
Ciao
Chiara
Hi @Anonymous,
By my tests with the suggestion of Chiara should be helpful and I didn't get any error.
In addition, you could try another way in query editor.
You could split your column like below.
Then create a custom column.
=[Month]&"/"&[Day]&"/"&[Year]
Here is the result.
More details, please refer to the APPLIED STEPS in Query Editor in my test pbix file which has been attached.
Best Regards,
Cherry
Hi @Anonymous,
Have you solved your problem?
If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please share your data sample and your desired output.
Best Regards,
Cherry
Hi @Anonymous,
Based on your data sample, I cannot achieve your data source in query editor.
Please check if your date column is text format, if not, please change it to data type to be text type and then use the formula from Chiara or my another way in my first reply.
Best Regards,
Cherry