Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
55 | |
36 | |
34 |
User | Count |
---|---|
99 | |
56 | |
53 | |
44 | |
40 |