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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Treemap error

Hi everyone,

I have treemap where I wanted to show items, value and category of value.

I added item in group, value in value and category in details, which resulted in following error:

The groups in the primary axis and secondary axis overlap.

I used same approach for stacked column chart and it worked.

What can be wrong with it?

Also, I wanted to color by category, and I wasn't able to do it. In advanced control of data colors, I can't select category, only numeric values.

How I can color by category, so all items for category1 will have same color?

Regards,

Yerkhan

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi everyone,

 

Was able to add category in details by changing dimension usage.

 

Regards,

Yerkhan

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi everyone,

 

Was able to add category in details by changing dimension usage.

 

Regards,

Yerkhan

v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

Just drag category to Group and item to Details.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-chuncz-msft 

 

I did as you suggested: category to group and item to detail. Got same error.

 

Regards,

Yerkhan

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.