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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
balaji_m
Partner - Contributor III
Partner - Contributor III

Qlik Sense Stacked Bar chart without Dimensions

Hi Team,

I have a scenario like given below

Dimension - No Dimension

Expression1 - Sum(A)+Sum(B+sum(C)

Expression 2 - sum(D) +sum(E)+sum(F)

I have to show the value in Stacked Bar chart as Attachedtest.png

1 Solution

Accepted Solutions
OmarBenSalem

Dimension:

ValueList('exp1','exp2')

Measure 1:

if(ValueList('exp1','exp2')='exp1',sum(A),sum(D))

Measure 2:

if(ValueList('exp1','exp2')='exp1',sum(B),sum(E))

Measure 3:

if(ValueList('exp1','exp2')='exp1',sum(C),sum(F))


Result:

Capture.PNG

View solution in original post

3 Replies
OmarBenSalem

Dimension:

ValueList('exp1','exp2')

Measure 1:

if(ValueList('exp1','exp2')='exp1',sum(A),sum(D))

Measure 2:

if(ValueList('exp1','exp2')='exp1',sum(B),sum(E))

Measure 3:

if(ValueList('exp1','exp2')='exp1',sum(C),sum(F))


Result:

Capture.PNG

balaji_m
Partner - Contributor III
Partner - Contributor III
Author

Hi Omar,

Thanks.

farahahmad
Contributor II
Contributor II

Hi Omar,

 

I have the same question but with 3 different dimension.

Can you give example using the same example here but add 'exp3'?

 

Really appreciate if you can help.

 

Thanks.