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

Alternate States

Hai all,

I am facing a problem plz help me out.Thanks in Advance.

Here is the scenario like i have a list box and two charts like A and B charts for these two charts i am defining each state and if i filter the list box the two charts has to work.

1 Solution

Accepted Solutions
henrikalmen
Specialist
Specialist

In your chart expression, add set expression like this:

{<MonthYear = $::MonthYear>}

This instructs the chart in the active state to use MonthYear selection from default ($) state.

So the expression in both charts would then be: sum({<MonthYear=$::MonthYear>}Valoare)

View solution in original post

12 Replies
florentina_doga
Partner - Creator III
Partner - Creator III

pls see attach !

dathathreya
Creator
Creator
Author

hi florentina i am using desktop version so can u plz share the image and explore it in detail .

florentina_doga
Partner - Creator III
Partner - Creator III

dathathreya
Creator
Creator
Author

Capture.PNG

dathathreya
Creator
Creator
Author

in the above image like if i select the list box year it has to associate with the other two charts .

In my dashboard there are other list boxes and other charts also.so only i am using the alternate states here.

oscar_ortiz
Partner - Specialist
Partner - Specialist

If the chart on the left is using alternate state "A" and the chart on the right is using alternate state "B" what state is the list box in?  Generally I want to have two list boxes, one with alternate state "A" and the other with alternate state "B", similar to the image that florentina.dogaru‌ mentioned.

dathathreya
Creator
Creator
Author

Hi Oscar Ortiz,

If we add an another list box and define it as the state B it will work but in my dashboard and my scenario is not like that .from one list box it self i have show the changes in the chart.if it is not possible with alternate states can u plz tell me any other alternate way to overcome this.

oscar_ortiz
Partner - Specialist
Partner - Specialist

Datha,

What I'm not understanding is what the difference would then be between the two charts?  If I am using the same dimension how is the alternate state working for you.  What are you hoping to accomplish.

You can set up two charts without the alternate state associated to the objects and then modify the expressions themselves to use alternate states in set analysis.  But without truly understanding what you are trying to accomplish it is difficult to give you guidance.

Oscar

henrikalmen
Specialist
Specialist

In your chart expression, add set expression like this:

{<MonthYear = $::MonthYear>}

This instructs the chart in the active state to use MonthYear selection from default ($) state.

So the expression in both charts would then be: sum({<MonthYear=$::MonthYear>}Valoare)