Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

X -Axis with Month Names

How can I get the X-axis like below?. I don't want to see full month name like January, February, etc.

 

Thanks in advance

  • Hi Anonymous ,

     

    Create a year_month number column based on the month name, then select the month name column, click sort by column button, and select sort by month number.

     

    Year_Month number = Year(Sheet2[Date])*100+MONTH(Sheet2[Date])
    

     

     


    Best Regards,
    Liang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

3 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Icon for Community Champion rankCommunity Champion

    Anonymous Create a new column like:

    Column = LEFT('Table'[Month Name],3)
    • Anonymous's avatar
      Anonymous
      Not applicable

      Greg_Deckler  - I can do that but data doesn't display in sorted order.. Eg: Jan, Feb, Mar, etc. 

  • V-lianl-msft's avatar
    V-lianl-msft
    Icon for Community Support rankCommunity Support

    Hi Anonymous ,

     

    Create a year_month number column based on the month name, then select the month name column, click sort by column button, and select sort by month number.

     

    Year_Month number = Year(Sheet2[Date])*100+MONTH(Sheet2[Date])
    

     

     


    Best Regards,
    Liang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.