Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a line chart that uses rolling 90 days of data - now that there is a new year of data in the set though; the line chart shows this week at the front instead of the end. I've tried sorting the column by date, but because there is more than one date per week; it won't let me. Does anyone know of a way to sort this the way I need to?
Graph:
^ Notice how Week 0 is shown at the front of the graph, instead of at the end; where it falls in relation to the other dates
Solved! Go to Solution.
@MPetramalo214 , you should sort week name on week start date
example
Week Start date = 'Date'[Date]+-1*WEEKDAY('Date'[Date],2)+1
Week End date = 'Date'[Date]+ 7-1*WEEKDAY('Date'[Date],2)
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
Our weeks start on Tuesday for all of our reporting - is there a way to make the formula reflect that? I tried adjusting it to 'Date'[Date]+1-1*WEEKDAY('Date'[Date],2)+1 which makes it reflect that weeks Tuesday as the first day of the week; but still includes the previous weeks Monday.
@MPetramalo214 , you should sort week name on week start date
example
Week Start date = 'Date'[Date]+-1*WEEKDAY('Date'[Date],2)+1
Week End date = 'Date'[Date]+ 7-1*WEEKDAY('Date'[Date],2)
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
Our weeks start on Tuesday for all of our reporting - is there a way to make the formula reflect that? I tried adjusting it to 'Date'[Date]+1-1*WEEKDAY('Date'[Date],2)+1 which makes it reflect that weeks Tuesday as the first day of the week; but still includes the previous weeks Monday.
Nevermind, I was able to figure it out! For anyone curious - change the Weekday formula to reflect WEEKDAY('Date'[Date] -2)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 74 | |
| 50 | |
| 47 | |
| 44 |