Forum Discussion
1up
6 years agoResolver I
Query Editor - Replacing values in text string
Hello, I am trying to replace a text substring in a column, ideally directly in the Query Editor. Let's call the column 'YearMonth', fields look like this: "202001", "201912", etc. I'd like t...
Anonymous
6 years agoNot applicable
Hi 1up
Create custome column
=Text.Combine({Text.Middle(Text.From([YearMonth]),0,4),Text.Middle(Date.MonthName(#date(2020,Number.FromText(Text.Middle(Text.From([YearMonth]),4,2)),01)),0,3)})
YearMonth column is of Int.
Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar
If I resolve your problem Mark it as a solution and give kudos.
1up
6 years agoResolver I
Thank you for the support and quick reply, Pravin.