Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
dats
Resolver I
Resolver I

line chartsort X-Asis by year and month

hi,

I have data from dezember 2019 to today. Is it possible to diyplay the month in a line chart the way that it is also sorted by year without havig to create display axis values that look like this 2019-December, 2020-January?

 

Just December, January, February, and so on??

 

Greetings

1 ACCEPTED SOLUTION

Thanks for the tip but I found another solution. I created a date column out of my column year, monthnumeric and the first day o the month and sorted it by date ascending. Works so far just fine

View solution in original post

3 REPLIES 3
VijayP
Super User
Super User

@dats 

 

If you create a Year Slicer and Then add month  name in Axis Then you can achieve the same!

Vijay Perepa




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Thanks for the tip but I found another solution. I created a date column out of my column year, monthnumeric and the first day o the month and sorted it by date ascending. Works so far just fine

@dats 

I think if you watch this Video (from my channel) you will get a fair idea how to deal with such situations.

If you find that is interesting just share your Kudos and if that is related to your solution then mark it as a soltuion

https://www.youtube.com/watch?v=dLON3mj0los

Thanks

Vijay Perepa




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.