Forum Discussion

SJHALANI's avatar
SJHALANI
Helper I
3 years ago
Solved

Convert numbers to Months

Hello, I have a column where numbers are written from 0 to 11. Now I want to create a column where 0 should be replaced with the current month, for eg, February, and 1 should be replaced by next mon...
  • wdx223_Daniel's avatar
    wdx223_Daniel
    3 years ago

    NewStep=Table.AddColumn(PreviousStepName,"Output wanted",each DateTime.ToText(Date.AddMonths(DateTime.LocalNow(),[Current Column]),"MMMM\'yy","en"))