Forum Discussion
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
Community Champion
Anonymous Create a new column like:
Column = LEFT('Table'[Month Name],3)- AnonymousNot applicable
Greg_Deckler - I can do that but data doesn't display in sorted order.. Eg: Jan, Feb, Mar, etc.
- V-lianl-msft
Community 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.