Using sliders to change a bar chart
I wonder how to set this up correctly:
I have two variables A and B. I change their values with two sliders S1=A and S2=B. I want to add these two numbers in the Sum variable by using the +Add trigger.
I would like Sum to change the states of a bar chart. If the Sum value is high the bar is high. If the Sum values is lowered the Sum bar should decrease.
This works fine first time I drag the slider. But each time I change the slider position a new value is adds to A or B and then of course into Sum. Obviously +Add is not the best choice here.
Is there a way to combine two variables into one new variable and then adjust a bar chart according to the later?