Power BI Table Freeze Panes: How to Lock Rows
In this article
Power BI does not have a "freeze panes" button for tables and matrices, so you cannot lock header rows in place the way you can in Excel. The closest working alternatives are to turn on the table's header and set the visual to scroll with the header visible, or to build a paginated report where repeating header rows are a real setting. This guide explains what actually works in the Power BI service and Desktop, what does not, and how to get the practical result you are after.
What You'll Need
- Power BI Desktop installed, or access to the Power BI service in a browser.
- A report you can edit (at least Contributor permission for the workspace if you are in the service).
- A table or matrix visual already on the canvas with enough rows to scroll.
- Optional: Power BI Report Builder if you need true repeating headers in a paginated report.
Step-by-Step
- Open your report in Power BI Desktop or in the service editor. Menu labels can differ slightly between versions and between Desktop and the browser editor, so look for the closest match if a name is not identical.
- Select the table or matrix visual on the canvas so the Format pane appears on the right.
- In the Format pane, expand the section for the visual's general settings and turn the header on if it is off. In most versions this is under a heading like Column headers for tables or Row headers for matrices.
- With the header visible, the header stays at the top of the visual while you scroll the rows inside it. This is the practical equivalent of freezing the top row: the column names remain readable as you move down the table.
- To keep the visual itself from growing taller than the page, resize the visual to the height you want. A table that is taller than the page will scroll with the report page instead of scrolling internally, and the header will move out of view.
- If you want a fixed set of rows to stay visible at the top regardless of scroll, the reliable approach is to split the data: put the key rows in a small separate table visual above the main one, and let the large table below scroll. Both visuals read from the same data, so they stay in sync when filters change.
- For a true repeating header on every printed page, use a paginated report. In Power BI Report Builder, right-click the row group in the Row Groups pane, open Group Properties, and set the header row to repeat on each page. Paginated reports are the only Power BI surface where repeating headers are a first-class setting.
- Save and publish the report, then test the scroll behaviour in the service, because the browser viewer and Desktop can render the visual slightly differently.
Common Mistakes
- Expecting an Excel-style Freeze Panes command. There is no such button in the Power BI table or matrix format options, and searching for it wastes time.
- Making the visual taller than the page. When the whole page scrolls, the header scrolls away with it; the header only stays put when the visual has a fixed height and scrolls internally.
- Turning the header off for a cleaner look, then wondering why column names disappear while scrolling.
- Assuming a matrix and a table behave the same. Matrices add row and column groupings, and the header behaviour depends on which headers you have enabled.
- Confusing paginated reports with regular Power BI reports. Repeating headers are a paginated report feature, not a setting on the standard table visual.
Tips
- Keep the header row visually distinct with a background colour and bold text so it reads clearly while scrolling.
- If your table has many columns, consider a matrix with row headers so the left-most labels stay visible as you scroll sideways.
- Use a slicer or filter to reduce rows so the table fits without scrolling; that often solves the readability problem more cleanly than any freeze workaround.
- For dashboards viewed on phones, test the mobile layout, because the visual height and scroll behaviour change on small screens.
- When you need a printable, paginated output with repeating headers, build it in Report Builder and publish it to the same workspace.
Troubleshooting
If the header still scrolls away, first check the visual's height against the page height. A visual that extends past the bottom of the page will not scroll internally. Reduce its height, then test again.
If the header is missing entirely, reopen the Format pane and confirm the header toggle is on. Some themes hide headers by default, so switching to a different theme can also bring them back.
If the table does not scroll at all, check that the visual is not set to fit all rows. In some versions there is a setting that expands the visual to show every row; turning that off restores internal scrolling.
If behaviour differs between Desktop and the service, refresh the browser, sign out and back in, and confirm the report was republished after your last change. Clearing the browser cache is the next simplest step.
If you need repeating headers on every printed page and the standard table will not do it, move that report to Report Builder rather than trying to force the setting in the regular editor.
Frequently Asked Questions
Does Power BI have a freeze panes option for tables?
No. There is no Freeze Panes command for the table or matrix visual. The header stays visible while the visual scrolls internally, which is the closest equivalent.
Can I lock the first column so it stays visible when scrolling sideways?
Not with a fixed column lock. A matrix with row headers keeps the row labels visible on the left as you scroll, which achieves a similar result.
Why does my table header scroll away?
The visual is almost certainly taller than the page, so the whole page scrolls instead of the visual. Resize the visual to a fixed height and the header will stay in place.
Can I get repeating headers when printing a Power BI report?
Yes, but only in a paginated report built with Power BI Report Builder. Standard Power BI reports do not repeat headers across printed pages.
Does this work the same in Desktop and the service?
The format options are broadly the same, but rendering can differ slightly. Always test the scroll behaviour in the service after publishing.
Is there a workaround to keep specific rows always visible?
Yes. Place a small table visual with just those rows above the main table. Both use the same data, so they update together when filters change.