Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Converting Quarter & Year to Date

Hi all,

 

I have a quarter & year column in my date table and am getting an error message when i try to convert it to a date, i have checked in the query editor and quarter & year is marked as a date field.

 

Just wondering if i am missing something obvious?

 

Thanks

7 Replies

  • Hi Anonymous ,

    can you send a screenshot of your date table?

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi, thanks for picking up the question:

       

       

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

        Hi Anonymous ,

        I don´t understand why you need to convert the [Quarter & Year] column from text to date. Normally in the date table only the column [Date] must be in date format.

         

        Are you sure that the [Quarter & Year] column in Power Query is in date format? Do you have a screenshot of it?

  • Hi Anonymous ,

    you have already in your date table this column in whole number format that can help you to sort the column [Quarter & Year] in your visual.

     

     

  • Do you know how to sort a column by another column?

    • Anonymous's avatar
      Anonymous
      Not applicable

      i didn't know that this was possible!

      Thanks for the tip.