Forum Discussion
Unable to date formatting using Direct Query
I'm having this problem when importing my data using direct query:
In the Power Query my data is shown in the the right format (DD/MM/YYYY)
But when I place this column inside a visual that's how it's shown:
Is there any way to change this date to the DD/MM/YYYY format?
Thank you in advance, best regards.
- Anonymous3 years ago
Hi Anonymous ,
Here are the steps you can follow:
1. You can Add Column – Custom Column in Power Query Editor.
Text.From(Date.Day([Date]))&"/"&Text.From(Date.Month([Date]))&"/"&Text.From(Date.Year([Date]))2. Or use the custom format.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
4 Replies
- vicky_Super User
Click the Date column and then Format.
- AnonymousNot applicable
Yeah, I tried something like that, but the thing is using Direct Query mode you're not allowed to execute such thing, hence my question.
- AnonymousNot applicable
Hi Anonymous ,
Here are the steps you can follow:
1. You can Add Column – Custom Column in Power Query Editor.
Text.From(Date.Day([Date]))&"/"&Text.From(Date.Month([Date]))&"/"&Text.From(Date.Year([Date]))2. Or use the custom format.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly