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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

stacked barchart into batchart

im using 2 dimensions and morethan 1 expression then barchart show stacked

but i dont need stacked hoe to resolve this

im using trellis chart but it not good

plz give me the reply.

Thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You have two dimensions and two expressions. Try using one calculated dimension: empno & ' ' & ename instead of both ename and empno. I assume that there's a one-to-one relation between ename and empno.


talk is cheap, supply exceeds demand

View solution in original post

11 Replies
Not applicable
Author

u need trellis chart ?

how many dimensions & exprs in total ?

Not applicable
Author

Hi

i have 2 dimensions and 2 expressions

in the style -subtype of the chart is grouped but it display as stacked

plz give without trellis chart

Not applicable
Author

hi

thanks for the reply

i dont need trellis chart

i have 2 dimensions and 2 expressions

then it automatically show as stacked

Not applicable
Author

cud u pls post ur sample qvw....thoda check karna hoga abt exprs

Regards

Not applicable
Author

Hi

now im using qv personal edition

in my chart 2 dimensions

for sample

empno,ename

expressiona

sum(sal),avg(sal)

im using just sample data

my chart display like this

Capture1.PNG

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You have two dimensions and two expressions. Try using one calculated dimension: empno & ' ' & ename instead of both ename and empno. I assume that there's a one-to-one relation between ename and empno.


talk is cheap, supply exceeds demand
Not applicable
Author

Hi

Thank you for your valueble information

now i get it.

Not applicable
Author

so does it mean that if there is one to many relation between two dimensions then it shud nt show stacked?

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

That depends. If you are aware of it and you want to show the combinations then you can do it that way. I assumed that ename and empno actually represent the same thing, an employee, so there is no need to use both dimensions.

A bar chart can show only three independent variables. So you're limited to two dimensions and one expression or one dimension and two expressions. If you have a hierarchy of dimensions (like year,quarter,month) you can 'stack' them on one axis.


talk is cheap, supply exceeds demand