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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Syndicate_Admin
Administrator
Administrator

Sort Line Chart Values

Hi guys, I had been graphing without problems, normal line graph, the data is by weeks, example 49, 50, 51 etc, but now that I finish the 52 comes the 1, that value I want you to show on the right side of the 52 example
48 49 50 51 52 1

But it obviously shows it at the beginning, which is not what I'm looking for

dbolivaru_0-1704827826533.png

1 48 49 50 51 52

Is there a way or trick to manually sort that data by week?

5 REPLIES 5
Anonymous
Not applicable

Community.png

 

I think you are asking like this .

Make Sure If it is ok rply me.

That's how it is, just as you show it in the picture

Anonymous
Not applicable

It Simple dude only i used sorting nothing else done here 

refer the above screenshot..

Fowmy
Super User
Super User

@Syndicate_Admin 

Add an additional column in your date table combining year and week number for example  and use in on the X-Axis:

Year Week = 'Date'[Year]  & "-" & 'Date'[Day of Week Number]



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Excellent thank you very much, I thought about it but I didn't apply it hahahaha

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.