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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
cpaysinger
Regular Visitor

Simple Line Chart Help Please

HI,

 

I have been struggling with this for a while now and cannot figure it out. In the first picture below I have created a simple line chart, but the x axis is always out of order. In my data view (second picture below) the data is sorted by the week of the year column which goes from 1 to 52, but when I go back to chart it is always out of order starting with 1 then 10 then jumping to 2 or 4 see below. Any ideas please help!

 

Thank you in advance,

 

Casey

Line graph for help.PNGLine graph for help 2.PNG

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @cpaysinger,

 

Please check the data type of [Week of Year] to ensure it is numeric.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Humm, that is odd. Try using Sort by Column under the Modeling Tab. Start first by selecting the field in the FIELDS window. The Sort by Column should be selectable. Make sure it's sorting on itself (should be the default).  I tried to replicate by everything I used sorted fine. 

 

I do use a date/Calendar table. Are you using one? If not, I highly recommend it. Dates will cause you many troubles without one, this could be one.

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