Treemap legend colour

Hi everyone,

I have a requirement to add a dimension field to the colour field well of Treemap visual. However, I’m able to see to add only measure to the colour field well. Is there any option/workaround for my requirement?

Reference Image:

Hi @Kripa_Magesh,
While the field well says to ‘add a measure’, it can accept dimensions in certain situations as well. Could you share the dimension field that you’re trying to add…is it a calculated field?

Hi @Brett ,

Yes it is a calculated field. If I add the calculated field dimension to the colour field well, it takes it as count/ distinct count.

However my requirement is to bring different colour for each dimension and here it gives colour based on the count/ distinct count only

Hi @Kripa_Magesh,
I understand. Unfortunately that is a current limitation when it comes to utilizing colors in a tree map.
At AWS, our roadmap is primarily driven by our customers, your feedback helps us build a better service. I’ll go ahead and tag this as a feature request to promote visibility to the support team.

Hi @Kripa_Magesh,
While I’ve marked this as a feature request already, I wanted to follow up to see if you had any additional questions regarding your initial topic?

If we do not hear back within the next 3 business days, I’ll go ahead and close out this topic.

Thank you!