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

Two stacked bars with 8 expressions

Hi All,

I have to create a chart in which there is no dimension but 8 expressions(4 for Activity & 4 for Sales). Now i want these 8 expressions to divided into two stacked bars with 4 expression each(attached image for reference). Is this possible or am i being too ambitious?

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Of course you can:

=valuelist('Activity','Sales')

The expression can be changed in:

=if(valuelist('Activity','Sales')='Activity', ...activity_expression_PP_here..., ...sales_expression_PP_here... )


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar

Use a (calculated) dimension for the two bars for Activity and Sales and use four expressions for the bar segments.


talk is cheap, supply exceeds demand
Not applicable
Author

Actually, I can not create a calculated dimension for Activity & Sales and since the expressions are different, i can not club the dimensions together.

Gysbert_Wassenaar

Of course you can:

=valuelist('Activity','Sales')

The expression can be changed in:

=if(valuelist('Activity','Sales')='Activity', ...activity_expression_PP_here..., ...sales_expression_PP_here... )


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks a lot. It worked.