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: 
Not applicable

Bar chart With Two dimension

Hi All,

I want to create a bar chart with 2 dimension & two expression. One expression should be stacked sub type & other expression should be grouped subtype.

Any help would be appreciated.

16 Replies
Not applicable
Author

PFA contains the application as well as data..

Not applicable
Author

This Chart is OK but my requirement is different

I have:

1)Annual plan year wise for salesman

2)Actual Plan month wise for salesman

I want All month grouped into a single bar & another bar for Annual Plan

BarChart.png

Not applicable
Author

Could you please add your application sample to understand me your requirement.

Not applicable
Author

PFA content.

I want both the chart to be combine.

Not applicable
Author

Any solution guys???

Anonymous
Not applicable
Author

Hi,

See attachment.

jagan
Partner - Champion III
Partner - Champion III

Hi Prashant,

Try like this

Script:

----------

Tab1:

LOAD Salesman,

     Month,

     Actual AS Value,

     1 AS Category

FROM

[Budget.xlsx]

(ooxml, embedded labels, table is Sheet1);

Tab1:

LOAD Salesman,

     Month,

     [Annual Plan] AS Value,

     2 AS Category

FROM

[Budget.xlsx]

(ooxml, embedded labels, table is Sheet1);

Now in chart use

Dimension : Salesman, Category

Expression1:=Sum({<Category={2}>}Actual)

Expression2:=sum({$<Category={1}, Month={Jan}>} Actual)

Expression3:=sum({$<Category={1}, Month={Feb}>} Actual)

Expression4:=sum({$<Category={1}, Month={Mar}>} Actual)

Expression5:=sum({$<Category={1}, Month={Apr}>} Actual)

Hope this helps you.

Regards,

Jagan.