Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi Community..!!
I wanted to change date format (DD-MM-YYYY) into (YYYY-MM-DD) in Power Query Editor
I want above dates in the 2018-06-01 in Power Query Editor.
Please help me out to do this..!!
Solved! Go to Solution.
Hi @Anonymous ,
I wanted to change date format (DD-MM-YYYY) into (YYYY-MM-DD) in Power Query Editor
Why do you want to change date format from DD-MM-YYYY to YYYY-MM-DD?
If you want to keep the data type as "Date", it is no need to manually change it in Power Query Editor. It is based on your local machine's date formate.
You can change it in Power BI Desktop later.
If you want to keep the data type as text and since your date column has changed to "Date" type, create a custom column like this:
Text.From(Date.Year([Date])) & "-" & Text.From(Date.Month([Date])) & "-" & Text.From(Date.Day([Date]))
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
I wanted to change date format (DD-MM-YYYY) into (YYYY-MM-DD) in Power Query Editor
Why do you want to change date format from DD-MM-YYYY to YYYY-MM-DD?
If you want to keep the data type as "Date", it is no need to manually change it in Power Query Editor. It is based on your local machine's date formate.
You can change it in Power BI Desktop later.
If you want to keep the data type as text and since your date column has changed to "Date" type, create a custom column like this:
Text.From(Date.Year([Date])) & "-" & Text.From(Date.Month([Date])) & "-" & Text.From(Date.Day([Date]))
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , You can create a new column as text or date
Text.End([Month]) & "-" & Text.Middle([Month],3,2) & "-" Text.Start([Month],2)
#date(Text.End([Month]) , Text.Middle([Month],3,2) , Text.Start([Month],2))
in case if date you can filter data > 2018
in case text > 2018-00-00
I have used below formula
But its showing error like this
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 64 | |
| 31 | |
| 26 | |
| 26 |