Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Linking 2 states

Hi,

I have created the following:

- 3 states (Main, Sub1 and Sub2)

- 2 charts

- Input data (ProductStatus, Price and Region)

Let's say ChartA displaying ProductStatus ('Cancelled','Expired') and ChartB displaying ProductStatus ('Available').

In my chart expression i'm using "Sum({Sub1}[Price])" for ChartA and "Sum({Sub2}[Price])" for ChartB.

My question is how do i change the 2 charts' value if i change the region in Main state?

* Sorry for my bad explaination

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Sum({Sub1<Region = $::Region>}[Price])

See the "What's new in QV 11" in your getting started page for a working example.

-Rob

http://robwunderlich.com

http://masterssummit.com

View solution in original post

3 Replies
Not applicable
Author

How do i link 2 states in the expression?

example something like "Sum({Main}{Sub1}[Price])"

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Sum({Sub1<Region = $::Region>}[Price])

See the "What's new in QV 11" in your getting started page for a working example.

-Rob

http://robwunderlich.com

http://masterssummit.com

Not applicable
Author

thank you.