Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Converting abbreviated Month(Text) to Month(Date Data type) Format

Hi,   I have Month column which of text data type having Month in the format of Jan, Feb, Mar, Apr.... I want to convert to format like January, February in Month format. Because I'm sorting, it is...
  • Greg_Deckler's avatar
    Greg_Deckler
    5 years ago

    Anonymous Yeah, I was afraid of a circular dependency which I why I didn't suggest that approach. You likely need to do that in Power Query Editor with nested if then else statements since Power Query does not have a switch statement. Another way is to duplicate the column and then do a bunch (12) replace steps. 

  • V-lianl-msft's avatar
    5 years ago

    Please add a new column in the query editor of the transform data.

    Then select the month column and click Sort by column.