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

Bar chart

Hi everybody, i would like to create a barchart like the one below:

ValeriaBonini_0-1663749663575.png

In my script i have the sum of qty sold for actual and budget (TOTAL_ACTUAL and TOTAL_BUDGET) and the MONTH and YEAR fields.

How can I create a barchart grouped like this? 

 

Labels (5)
1 Solution

Accepted Solutions
SchalkF
Contributor III
Contributor III

Good day,

If I understand your question correctly you are looking for something like this:

SchalkF_0-1663760416924.png

 

The below is my data load which sounds similar to what you currently have:

Table:
load *
inline [
Year,Month,Type,Qty
2021,01,Actual,200
2021,01,Budget,180
2022,01,Actual,220
2022,01,Budget,200
2021,02,Actual,180
2021,02,Budget,150
2022,02,Actual,190
2022,02,Budget,170
]
(delimiter is ',');

My Dimensions/Measures are as follows:

SchalkF_1-1663760558034.png

 

Where Month Year is basically just a concatenate in the Dimension expression as below:

SchalkF_2-1663760609533.png

Kind regards

 

View solution in original post

1 Reply
SchalkF
Contributor III
Contributor III

Good day,

If I understand your question correctly you are looking for something like this:

SchalkF_0-1663760416924.png

 

The below is my data load which sounds similar to what you currently have:

Table:
load *
inline [
Year,Month,Type,Qty
2021,01,Actual,200
2021,01,Budget,180
2022,01,Actual,220
2022,01,Budget,200
2021,02,Actual,180
2021,02,Budget,150
2022,02,Actual,190
2022,02,Budget,170
]
(delimiter is ',');

My Dimensions/Measures are as follows:

SchalkF_1-1663760558034.png

 

Where Month Year is basically just a concatenate in the Dimension expression as below:

SchalkF_2-1663760609533.png

Kind regards