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

how to make a dynamic label reference an alternate state?

Hi, I have a chart that I am putting a couple of set analysis expressions into and I'd like to make the label of the alternate state expression show the name of the client selected in the alternate state.

I can make the label name =ClientAccountName and that gives me the ClientAccountName selected in the default state.

What do I put in that expression to make it show me the ClientAccountName in the State2 alternate state?

I'd like the labels to show Company A for one and Company B for the other as different companies are selected from either state.

Thanks!

-Steve

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try this:

Only ( {State2} ClientAccountName)

View solution in original post

3 Replies
tresesco
MVP
MVP

Try this:

Only ( {State2} ClientAccountName)

stevelord
Specialist
Specialist
Author

Worked like a charm, thanks.

I'm still getting a feel for alternate state syntaxes and tackling basket analysis beasts.  And this was a much needed morale boosting victory break of some kind.  You gave me syntax for a chart that I managed to hammer together earlier in the day.  (I think the graph works right too but I need to QA it against made-up data questions that I already know the answers to. )

MuraliPrasath
Creator III
Creator III

thanks for this solution. I had same problem and got it fixed. Thanks once again!