Hi,
I am creating a scatter chart for different hierarchy level. For each individual person in the lower level of the hierarchy, I created a column that categorizes him under particular range and I colored the range using the legend and data colors option(as below screenshot). This works well for the individual people in the lower level. However, when I drill it up the hierarchy, the range doesn't work well and the color coding fails. I thought that's because it is a categorical value (text format), which is remaining static even when you drill it up. Suppose if the supervisor has two people with different categories in the lower level it shows the supervisor as two people in the higher level hierarchy visualization.
So, I tried assigning numeric values (whole numbers) for the range to see if it helps. But that also failed because the column placed in the legend to color code cannot function as an aggregate when you drill it up.
Later, I created a measure, which is dynamically calculated for any person in any hierarchy level. But it seems like the measure cannot be used in the legend. I know there is color saturation option(limited to 3 colors: maximum, minimum, and center) but I cannot use all the colors that I want as in the screenshot. Could you please help me with this issue? Thank you for your inputs in advance!
Below are examples of the column with ranges that I am creating
Column that I am creating through dax is category_ColumnN = IF(tableA[total_alpha] <= 0.05, "<= 5%",
IF(tableA[total_alpha] <= 0.10, "> 5% - 10%",
IF(tableA[total_alpha]<= 0.20,"> 10% - 20%",
IF(tableA[total_alpha] <= 0.30, "> 20% - 30%", "> 30%"))))
But it doesn't work well when I drill it up the hierarchy.
Also, tried to create category with a numerical value
category_ColumnN = IF(tableA[total_alpha] <= 0.05, 1,
IF(tableA[total_alpha] <= 0.10, 2,
IF(tableA[total_alpha]<= 0.20,3,
IF(tableA[total_alpha] <= 0.30, 3,5))))
Even this didn't work when I drill it up. Reason I understood is that the legend doesn't have aggregate functionality. So, created measure that calculates the alpha for anyone in the hierarchy. Can I use the measure "alpha" in legend by any chance? I don't want to use it under color saturation. Thank you for your inputs in advance!