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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Sorting Week in Table issue

Hi guys,

 

I am currently working on a overview to show the last 5 week of my sales per each customer

 

 

 

How can i sort the  Week column in the table  so i can get the logical order like 50 , 51, 52, 1, 2, 3?

 

in the following image you can see that the number 2 starts.  this because i currently use the visual filter with filter type Relative Date Filtering to show the items in the last 5 weeks.

  

Any suggestions? 

 

Many Thanks 

 

 

last 5 week trends.jpg

1 ACCEPTED SOLUTION
LivioLanzo
Solution Sage
Solution Sage

Hi @Anonymous

 

you will have to add two more columns in your calendar table, one with the 'Year Week' and one with the Week Sequence and then sort Year Week by Week Sequence, you can check out the file I uploaded last week for this post:

 

https://community.powerbi.com/t5/Desktop/Get-weekly-change-first-hour-in-week-compared-to-previous-weeks/m-p/600111#M285462

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

View solution in original post

1 REPLY 1
LivioLanzo
Solution Sage
Solution Sage

Hi @Anonymous

 

you will have to add two more columns in your calendar table, one with the 'Year Week' and one with the Week Sequence and then sort Year Week by Week Sequence, you can check out the file I uploaded last week for this post:

 

https://community.powerbi.com/t5/Desktop/Get-weekly-change-first-hour-in-week-compared-to-previous-weeks/m-p/600111#M285462

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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