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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Zhinee
Helper I
Helper I

Hidden a column by setting width to 0 Cause horizontal Scrollbar and Truncated Text

I’m running into a limitation in Power BI and was wondering if anyone has found a better workaround.

Power BI doesn’t seem to support hiding a column directly in a table visual. As a workaround, I’ve set the column width to 0 and turned off text wrapping to avoid excessive row height.

However, this causes a couple of issues:

  • A horizontal scroll bar appears in the table, and users have to scroll to the right.

  • some values from the columns gets truncated, and for some reason, hovering doesn’t always show the full content in some rows. The values will sometimes end with ... I’m not sure why this happens.

Has anyone encountered this? Are there cleaner ways to hide a column without casuing UI issues like this? Or a way to ensure the full text appears?

Thanks in advance!

4 REPLIES 4
mark_endicott
Super User
Super User

@Zhinee - are you sorting Text values? 

 

If so, you'd be better off adding a column to your orginal data table that does this, and then using the "Sort By" function on the table settings:

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column 

 

Then there's no need to add an additional column to a table that's not needed. 

So my table visual is a session table with a Session ID column (numeric).
If I want to sort by Session ID, I need to add it to the visual in order to perform the sort, right?
However, I want the sorting to happen without displaying the column to the user.

mark_endicott
Super User
Super User

@Zhinee - Dont include the column in the table if you're hiding it from view!

I am actually doing a sorting based on that column, but I am just hiding it. 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.