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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Stacked bar with one dimension

Hi everyone

I need to create a stacked bar in qliksense, grouped in a different way.

what i have:

     dimension:

          1. type: (domestic, international)

     measures:

          1. sales

          2. goal sales

when i build the stacked bar this is what i get.

Any idea how to solve it?

graph.png

Labels (1)
1 Reply
shraddha_g
Partner - Master III
Partner - Master III

Try below in Bar chart

Dimension:

1st - Valuelist('Sales','Goal Sales')

2nd - Type

Measure:

Pick(Wildmatch(Valuelist('Sales','Goal Sales'),'Sales','Goal Sales'),

SalesExpression,

Goal Sales Expression

)