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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
Dinesh97
Helper I
Helper I

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

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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