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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Jeanxyz
Power Participant
Power Participant

sort Year Month axis in charticulator

I need to create a line chart in charticulator. My x axis is Year Month from Dim_Date table, I want to sort Year Month by ascending order, something like 2021/Jan, 2021/Feb.... 

In charticulator Plot attributes, I have set up X axis to be  sorted by Yearmonth number (integer format), but it doesn't seem to work. 

sort charticular year month axis.png

1 ACCEPTED SOLUTION
Jeanxyz
Power Participant
Power Participant

I figured it out. instead of sort Year Month Short by YearMonthNumber (integer), I should sort by YearMonthNumber_Text. 

so I have created a new column in Dim_Date tabel

YearMonthNumber_Text=convert([YearMonthNumber],String)

and use this new field to sort chartculator

click sort

charticulator ym solved.png

 

View solution in original post

1 REPLY 1
Jeanxyz
Power Participant
Power Participant

I figured it out. instead of sort Year Month Short by YearMonthNumber (integer), I should sort by YearMonthNumber_Text. 

so I have created a new column in Dim_Date tabel

YearMonthNumber_Text=convert([YearMonthNumber],String)

and use this new field to sort chartculator

click sort

charticulator ym solved.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors