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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
genashpuryk
Helper I
Helper I

Fixed column width for WEB

Hi! Are there any ways to lock the width change of columns in WEB service? 

genashpuryk_0-1721981360049.png

I do not want viewers to be able to make columns wider or narrower. How can I achieve this? Thanks!

1 ACCEPTED SOLUTION
Shravan133
Super User
Super User

In Power BI, the ability to lock column widths in the Power BI service (web) to prevent viewers from adjusting them is not a native feature. However, there are a few strategies you can use to control the appearance and interaction with your reports to some extent:

Strategies to Control Column Width

  1. Use Table or Matrix Visuals with Precise Formatting:

    • In Power BI Desktop, you can set precise widths for columns in table or matrix visuals. These settings are respected when you publish to the Power BI service.
    • To set column width in Power BI Desktop:
      1. Select the table or matrix visual.
      2. In the "Format" pane, under "Column headers", you can adjust the column width manually.
  2. Disable Interactivity:

    • While this does not directly lock the column widths, you can reduce the interactive features for viewers. For example, you can disable sorting and other interactions to make the table appear more static.
  3. Report Tooltip Pages:

    • If you only need to show detailed information without user interaction, consider using tooltip pages. Tooltip pages allow you to show detailed data when hovering over visuals without allowing direct interaction with the table or matrix visual.
  4. Custom Visuals:

    • Consider using custom visuals that provide more control over the appearance and interactivity. Some custom table or matrix visuals may offer additional formatting options that are not available in the standard visuals.

View solution in original post

1 REPLY 1
Shravan133
Super User
Super User

In Power BI, the ability to lock column widths in the Power BI service (web) to prevent viewers from adjusting them is not a native feature. However, there are a few strategies you can use to control the appearance and interaction with your reports to some extent:

Strategies to Control Column Width

  1. Use Table or Matrix Visuals with Precise Formatting:

    • In Power BI Desktop, you can set precise widths for columns in table or matrix visuals. These settings are respected when you publish to the Power BI service.
    • To set column width in Power BI Desktop:
      1. Select the table or matrix visual.
      2. In the "Format" pane, under "Column headers", you can adjust the column width manually.
  2. Disable Interactivity:

    • While this does not directly lock the column widths, you can reduce the interactive features for viewers. For example, you can disable sorting and other interactions to make the table appear more static.
  3. Report Tooltip Pages:

    • If you only need to show detailed information without user interaction, consider using tooltip pages. Tooltip pages allow you to show detailed data when hovering over visuals without allowing direct interaction with the table or matrix visual.
  4. Custom Visuals:

    • Consider using custom visuals that provide more control over the appearance and interactivity. Some custom table or matrix visuals may offer additional formatting options that are not available in the standard visuals.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.