Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Two charts on same sheet with different selections of same field

I have a field called "Narative" and want to display two straight table charts on one sheet. One with Narrative value like 'SETTLEMENT*' and othe other the other with all other values

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

that´s a case to use SET Analysis.

Expression a): Sum({$}Amount) //calculate the amount regarding your selection

Expression b): Sum({1-$}Amount) //calculate all other values but not the selected ones

See also QV help for more details.

Good luck!

Rainer

View solution in original post

4 Replies
Not applicable
Author

Hi,

that´s a case to use SET Analysis.

Expression a): Sum({$}Amount) //calculate the amount regarding your selection

Expression b): Sum({1-$}Amount) //calculate all other values but not the selected ones

See also QV help for more details.

Good luck!

Rainer

Not applicable
Author

Use the set analysis function: (in the following I assume that you need to express sum of amounts, adjust the expressions according to your needs)

Expression in chart #1:
sum( { $ < Narrative = {"SETTLEMENT*"} > } Amount )

Expression in chart #2:
sum( Amount )

regards

sparur
Specialist II
Specialist II

see in my example

Anonymous
Not applicable
Author

Problem solved - Thanks