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! Request now

Reply
Anonymous
Not applicable

Whole name of category inside the squares in Treemap

Hello,

How could one possibly include the the whole name of the category in each square of a PowerBI Treemap? When this name is too large, part of it gets hidden with the three dots(...)
How could I get a visualization like this, with the whole names displayed in the squares?image (2).png?

 

 

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

You can change the text size under the Category labels in the Format tab. But whether the whole name can be seen depends on the length of category name, as the text size value must be greater than or equal to 8.

vkalyjmsft_0-1642411267820.png

Best Regards,
Community Support Team _ kalyj

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
alexddc24
Advocate II
Advocate II

I don't understand why we can't just have an option to wrap the category text? This is a pretty basic UI requirement and something that's been implemented elsewhere.

v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

You can change the text size under the Category labels in the Format tab. But whether the whole name can be seen depends on the length of category name, as the text size value must be greater than or equal to 8.

vkalyjmsft_0-1642411267820.png

Best Regards,
Community Support Team _ kalyj

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

This is not a solution. How, more than three years later, has microsoft still not implemented text wrap for category or data labels in this visual? I am working with a very simple dataset, but I can't even see the data for the smaller categories because they get cut off. The text is locked to the bottom of each cell leaving the majority of space unusable, and then running out of space to show the only thing I actually need to see. It is galling that this extremely simple feature, which is a part of many other Power BI visuals has not been implemented here. 

Anonymous
Not applicable

miimzavell_0-1700148186823.png

 

Hi when i try to do that I do not have the option, any feedabck?

Anonymous
Not applicable

Because when i go beyond 10pt then it starts to screw my data and I wont be able to see the category label

 

Pragati11
Super User
Super User

Hi @Anonymous ,

 

Treemap visual is tricky one to handle when a categorical distribution displayed on it is very small but the name of the category is long.

 

The only way I can think of achieving this is:

  1. Try re-sizing your Treemap visual on the report page. May be make it bigger.
  2. Try to play with the Data Label sizes on the Treemap visual

But yes there is no guarantee you can fit the long category names in the small square distribution shown on the visual for that category.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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