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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Specific Row on Top

Hi All,

I have a table like this, even after sorting in asc or desc I want alex will be in top always, how can we achieve this in power bi

NameMark
Alex50
Praveen45
Santhosh60
Naveen70

 

NameMark
Alex50
Naveen70
Santhosh60
Praveen45
1 REPLY 1
barritown
Super User
Super User

Hi,

 

If you want to adjust such a sorting in Power Query, try adding a new column called "Priority" and then apply this solution - https://community.powerbi.com/t5/Desktop/Sorting-a-table-using-multiple-columns/m-p/447941

 

See a test case with your data:

barritown_0-1679301805944.png

 

 

Update:

 

If there is a limited amount of such VIP names in your table, the conditional column for sorting may look like:

 

barritown_0-1679314588406.png

*Don't forget to adjust the format so the output value is number, not text.

 

And then you just choose this newly created column as a column used for sorting Mark:

 

barritown_1-1679314848380.png

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors