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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Switch Expression dimension

Hi,

I have a question,

I have a bar chart like this:

Capture.PNG

Is it possible for me to switch the position between BRAND and MY EXPRESSION (DLV & REQ) ?

I also attach my data and sample file.

Really appreciate your help

thanks in advance.

1 Solution

Accepted Solutions
sunny_talwar

This?

Capture.PNG

Script:

CrossTable (Name, Value, 2)

LOAD YEARMONTH,

     BRAND,

     REQ_QTY,

     DLV_QTY

FROM

sample.xlsx

(ooxml, embedded labels, table is Sheet2);

Three Dimensions

YEARMONTH

Name

BRAND

Expression

Sum(Value)

View solution in original post

4 Replies
MK_QSL
MVP
MVP

What is meant by

switch the position between BRAND and MY EXPRESSION (DLV & REQ) ?


Please elaborate !

sunny_talwar

This?

Capture.PNG

Script:

CrossTable (Name, Value, 2)

LOAD YEARMONTH,

     BRAND,

     REQ_QTY,

     DLV_QTY

FROM

sample.xlsx

(ooxml, embedded labels, table is Sheet2);

Three Dimensions

YEARMONTH

Name

BRAND

Expression

Sum(Value)

ali_hijazi
Partner - Master II
Partner - Master II

possible if you have a record for Requested quantity and a record for Delivered quantity then next to each record you would put Flag as R or V

in this way you would use the Flag as a dimension

and you need to add the Brand as a dimension too

in your expression you would count the brands (how many times a brand was ordered or delivered)

is this what you aim for?

I can walk on water when it freezes
Anonymous
Not applicable
Author

Yes that's my goal.

Thanks once again ! Really appreciate your help