Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Chart with selected Name and Total

Hi friends,

I don't know how to make stacked chart with selected variable and Total?

Capture.JPG.jpg

I have list box, where I select "name" from variable Name and compare to Overall (Total)

Please find my QV file.

Thanks

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I got it. Thank you, guys.

I used msolomov structure and combined with Rebecca idea

if(ValueList($(vValueList))='A',

count({<[POV]={'*myself*'}>}respondentID)/count({<[ POV]=>} respondentID),

if(ValueList($(vValueList))='B',

count({<[POV]={'*myself*'}>}respondentID)/count({<[POV]=>} respondentID),

count({1<[POV]={'*myself*'}>}respondentID)/count({1} respondentID))))

and so on for each POV

View solution in original post

8 Replies
Anonymous
Not applicable
Author

any ideas?

Anonymous
Not applicable
Author

A sort of - see attached.

Not applicable
Author

Something like this? Wouldn't work with a large number of names though.

Anonymous
Not applicable
Author

Hi Rebecca,

Thanks for your helping.

It works well, but when Name doesn't have answers for 1 tag of POV, the Overall bar doesn't show all tags. (it not consist 100%) .

Do you know how to fix it?

Or you need sample QV file?

Thanks,

Anonymous
Not applicable
Author

Thanks Michael,

Rebecca suggested better way.

In your sample I can't use legend and Name doesn't show "actual name"

Her sample doesn't show all tags for Overall, if Name doesn't have all tags.

Could you help with it?

Thanks again,

Not applicable
Author


Hmm. That's weird. I would have thought the set analysis would have avoided that. I will play with it.

Anonymous
Not applicable
Author

I updated the file.

The problem, when you select Name  automatically selected POV.

Anonymous
Not applicable
Author

I got it. Thank you, guys.

I used msolomov structure and combined with Rebecca idea

if(ValueList($(vValueList))='A',

count({<[POV]={'*myself*'}>}respondentID)/count({<[ POV]=>} respondentID),

if(ValueList($(vValueList))='B',

count({<[POV]={'*myself*'}>}respondentID)/count({<[POV]=>} respondentID),

count({1<[POV]={'*myself*'}>}respondentID)/count({1} respondentID))))

and so on for each POV