Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Bar chart with multiple columns in x axis

Dear All,

For below data I wanted to create a Bar(stack also) chart with all expenses in X-Axis and count of it in Y-Axis. and also wanted to do some filter on other columns like By Family or by gender. my data is in excel.

 

Familymembergenderfoodtransportmischealth
AA1MMEDIUMHIGHLOWNIL
AA2FLOWLOWNILMEDIUM
BB1MMEDIUMMEDIUMHIGHMEDIUM
BB2MLOWNILHIGHMEDIUM
CC1FNILMEDIUMNILLOW

PFA, expected sample result.

1 Solution

Accepted Solutions
sunny_talwar

May be use a The Crosstable Load

Table:

CrossTable(Type, Rating, 3)

LOAD Family,

    member,

    gender,

    food,

    transport,

    misc,

    health

FROM

[https://community.qlik.com/thread/234334]

(html, codepage is 1252, embedded labels, table is @1);


Capture.PNG

View solution in original post

3 Replies
sunny_talwar

May be use a The Crosstable Load

Table:

CrossTable(Type, Rating, 3)

LOAD Family,

    member,

    gender,

    food,

    transport,

    misc,

    health

FROM

[https://community.qlik.com/thread/234334]

(html, codepage is 1252, embedded labels, table is @1);


Capture.PNG

Not applicable
Author

Sorry for late reply. Thanks sunny for your solution. When I tried cross table with original data, it is not giving the correct output rows. I was expected around 14K rows but it is giving around 300 rows less.

sunny_talwar

Would you be able to share your application to see the issue?