Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I need to transform a column from dd-mm-yyyy to mmm-yy before merging it with another column, so it has to happen in the query editor and not through a measure.
How? Nothing I have tried worked. It can't be that difficult.
Thanks in advance.
Solved! Go to Solution.
Hi @Thad ,
Please try the following methods and check if they can solve your problem:
1.Create the simple table.
2.Click the Transform data and add custom column.
= Text.From(Date.MonthName([Joining date]))&"/"&Text.From(Date.Year([Joining date]))
3.The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Thad ,
Please try the following methods and check if they can solve your problem:
1.Create the simple table.
2.Click the Transform data and add custom column.
= Text.From(Date.MonthName([Joining date]))&"/"&Text.From(Date.Year([Joining date]))
3.The result is shown below.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Thad try custom column in PQ
Date.ToText([YourColumnForDate],"mmm-yy")
Proud to be a Super User!
Wish that was it. Unfortunately, this results in a 4-digit-value with no letters, e.g. 31.07.2022 becomes "00-22". May that be due to a wrong locale setting?
That worked - thanks!
hi , share some sample please to see the type of the column and data inside it
The data comes in dd-mm-yyyy format as text.
I am now trying a workaround by extracting the name of the month from each row (after converting the column to date format, ofc), then keeping only the first three letters of that column and then merging it with the extracted year. If you have an easier way, I woudn't be mad.
User | Count |
---|---|
98 | |
76 | |
69 | |
53 | |
27 |