Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

How to change text to date format

Hi guys,

 

Power BI neewbie here ... and I am in need of some help. I have a dataset with a "month" column which has short month names (jan, feb, mar, apr, may etc...) ONLY as values. These are in Text format and I need to change them to date format. 

 

What is the best way to get this done? I can't seem to just change the type to date because it will give me errors...

 

Thx in advance for all help!! 

  • kentyler's avatar
    kentyler
    6 years ago

    can you guess the year ?

    I've created a calculated column which has a year hard coded, it combines the year with the text month name and transforms them into a date

    Every time I answer a question I learn something
    I'm a personal Power BI trainer 

4 Replies

  • kentyler's avatar
    kentyler
    Icon for Solution Sage rankSolution Sage

    Do you also have a column that tells what year you are in ?

    • Anonymous's avatar
      Anonymous
      Not applicable

      No unfortunately not.. I literally only have this column to work with...

      • kentyler's avatar
        kentyler
        Icon for Solution Sage rankSolution Sage

        can you guess the year ?

        I've created a calculated column which has a year hard coded, it combines the year with the text month name and transforms them into a date

        Every time I answer a question I learn something
        I'm a personal Power BI trainer