States on seperate metric sets

I have a bar chart with two metric sets.

The bars are from the first metric set and the horizontal line is from the second. I am trying to set up states to change the colors of the bars if they are over or under the horizontal line.

When I go to the set up states area, I only see the option to select members of the original metric set, so I cannot select the formula which is making this bar.

I have tried making a formula in the original metric set by opening up the create formula area and click on the “avg line”. It creates the formula but is useless. This formula cannot be used even as bars in my chart.

Is there a workaround?

image

1 Like

Hi Ryan,

In this case, you can use a formula visualization to create a metric set based on your 2 metric sets, so that the 2 measures are a part of same metric set.
You can then apply states to this resultant formula visualization.
Can you please give this a try and let me know how it goes. I hope this helps.

4 Likes

THANK YOU SO MUCH!!!