In this article, we will show you, How to Format Tree Map in Power BI with example. This includes changing the Box Color, Tree Map Title position, background Colors, and Data labels etc.
To demonstrate these formatting options, we are going to use the Treemap that we created earlier. Please refer Power BI Treemap article to understand the steps involved in creating Tree Map.
How to Format Tree Map in Power BI
Please click on the Format button to see the list of available formatting options for the tree map.
Format Legend of a Tree Map in Power BI
To display the Legend, Please select the Legend region and change the option from Off to On. From the below screenshot, you can see the legend
Format Power BI Tree Map Data Colors
By default, Power BI intellisense will assign random colors to each and every rectangle box. But using this Data Colors section, you have an option to changes these colors as per your requirement.
For the demonstration purpose we changed the rectangle Box of a Finance to Pink.
Enable Data Labels on Tree Map in Power BI
Data Labels is used to display the information about the rectangle box. In this case, it will display the Sales Amount of each rectangle box. To enable data labels, please toggle Data labels option to On.
From the below screenshot you can see that, we changed the Color, Display Units from Auto to Thousands, and Font family to Arial Black.
Format Category Labels of a Power BI Tree Map
Category Labels are noting but a Dimension value (Group Value) that represent a rectangle box. From the below screenshot you can see that, we changed the Color of a category Label, Text Size to 14, and Font family to Georgia.
Format Title of a Tree Map in Power BI
Please select the Title, and toggle the option from Off to On to display the Treemap title. Following are the list of options that are available to format the Tree map title.
As you can see from the below screenshot, we change the Title Text to Sales Amount by Department Name, Font Color, Font style to Georgia, Font Size to 20, and Title Alignment to center.
Add Background Color to Tree Map in Power BI
You can add Background color to Tree map by toggling Background option to On. For the demonstration purpose we are adding Yellow as the background color. Here, you can change the Transparency percentage as well.
Below screenshot will show you the Tree map after formatting
Thank You for Visiting Our Blog