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
Hi Expert,
I have Date, Start Week, End Week, and Week columns. I want to sort my week column based on date or start week column but because of multiple values in date column I cant sort it.
Can anyone have any idea how to sort column by multiple values in date column???
Thank you in advance. your help would be appreciated.
okay, follow below steps
Create a new calculated column in your data model that calculates the minimum or maximum date for each week. For example, if you want to use the minimum date, you can use the following formula:
This formula calculates the minimum date within each week, considering only the rows that have the same Week value as the current row.
Once you have the new calculated column (e.g., MinDate), go to your table visualization and select the Week column.
In the "Modeling" tab of the Power BI ribbon, click on the "Sort ascending" or "Sort descending" button to sort the Week column based on the MinDate column you just created.
HI @Uzi2019 ,
Try below steps
To sort the Week column in Power BI based on multiple values in the Date column, you can follow these steps:
By specifying the Date column as the sort column for the Week column, Power BI will use the values in the Date column to determine the sorting order of the Week column. This way, your Week column will be sorted based on the corresponding dates.
That's not an issue. Issue is multiple datas in date column. That's throwing an error while sorting week column by date.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.