Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
viveksingh
Creator III
Creator III

Bar chart

Hi Experts,

I have a table like below

Customer0 to 3030 to 6060 to 90
C1102030
C2100160210
C3150120110

I want a bar chart which should show sum of all Customers(C1,C2,C3) under 0to30, 30to60, 60to90.


which is C1,C2,C3 under 0to30 is  260

            C1,C2,C3  under 30to60 is 300

            C1,C2,C3 under 60to90 is 350


I want to show like below

bar bucket.png



1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Use crosstable load..

CrossTable (Flag,Value)

Data:

LOAD Customer,

     [0 to 30],

     [30 to 60],

     [60 to 90]

FROM

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

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

Now create a bar chart

Dimension

Flag

Expression

SUM(Value)

View solution in original post

2 Replies
MK_QSL
MVP
MVP

Use crosstable load..

CrossTable (Flag,Value)

Data:

LOAD Customer,

     [0 to 30],

     [30 to 60],

     [60 to 90]

FROM

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

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

Now create a bar chart

Dimension

Flag

Expression

SUM(Value)

viveksingh
Creator III
Creator III
Author

Thanks Manish