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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
shon_tytus
Frequent Visitor

Locking First Column from Sorting in Power BI Table

As shown in the image, I have created a table in Power BI. The first column contains column names, and the second column has a header with a dynamic value that changes based on the selected filter.

If a user accidentally clicks the sort option on the first column (for example, on the "First_name” column in the image), the rows get sorted and the order changes.

Is there a way to lock the first column to prevent it from being sorted?

shon_tytus_0-1772095560161.png

 

6 REPLIES 6
v-echaithra
Community Support
Community Support

Hi @shon_tytus ,

At present, Power BI does not provide a native option to disable or lock sorting for a specific column within a Table visual. This is a known limitation of the product, and there is no built in setting to control sorting at the individual column level.

If this functionality is important for your scenario, we recommend submitting a request to the Power BI Ideas forum Fabric Ideas - Microsoft Fabric Community. The product team actively reviews customer submissions there, and it helps prioritize enhancements based on demand.

Hope this helps.
Chaithra E.

Hi @v-echaithra 

Thank you for getting back to me.

v-echaithra
Community Support
Community Support

Hi @shon_tytus ,

We’d like to follow up regarding the recent concern. Kindly confirm whether the issue has been resolved, or if further assistance is still required. We are available to support you and are committed to helping you reach a resolution.

Best Regards,
Chaithra E.

This issue is not resolved, and I am still looking for a solution.

v-echaithra
Community Support
Community Support

Hi @shon_tytus ,

As suggested by danextian, Power BI currently does not provide a native way to lock sorting for a specific column in a Table visual. This is a known product limitation.

You can try this workaround by enforcing a Fixed Order Using an Index Column. If sorting needs to remain available in the visual but you want to preserve a predefined row order, you can enforce the order using an Index column:

In Power Query, add an Index column:
Add Column > Index Column > From 1
Close and apply the changes to load the data into the model.
In Model view, select the display column (for example, first_name).
Choose Sort by Column and select the newly created Index column.
Hide the Index column from Report view so it is not visible to end users.

With this configuration, even if users attempt to sort the column, Power BI will maintain the intended order defined by the Index column.

Hope this helps.
Chaithra E.

danextian
Super User
Super User

Hi @shon_tytus 

There is currently no built-in option for a table visual. You can overlay a transparent shape on the first column so the user clicks the shape instead of the column, but this only prevents the column header from being selected. If the user sorts the other columns, that first column will also be sorted relative to the currently sorted column.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.