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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
jmccann
Contributor
Contributor

Multiple date dimensions on one Combo Chart

I am attempting to create a combo chart with two sets of data, each with their own date field. I would like the combo chart to display both sets of data on the same timeline; however, the combo chart does not support combining dimensions. Is this possible to achieve using a calculated dimension, or another way of transforming the data?

My data model is relatively complex, so I've distilled down an example:

 

 

[Widgets]:
Load *
INLINE [
Project_ID, Widget, Widget_amount, Widget_date
1, A, 19, 20020101
1, B, 34, 20020102
1, C, 51, 20020105
2, A, 15, 20020104
2, B, 13, 20020101
2, C, 52, 20020103
];

[Gadgets]:
Load *
INLINE [
Project_ID, Gadget, Gadget_amount, Gadget_date
1, X, 6, 20020106
1, Y, 3, 20020102
1, Z, 7, 20020105
2, X, 2, 20020104
2, Y, 4, 20020101
2, Z, 5, 20020102
];

 

 

 

Project_ID Widget Widget_amount Widget_date
1 A 19 20020101
1 B 34 20020102
1 C 51 20020105
2 A 15 20020104
2 B 13 20020101
2 C 52 20020103

 

Project_ID Gadget Gadget_amount Gadget_date
1 X 6 20020106
1 Y 3 20020102
1 Z 7 20020105
2 X 2 20020104
2 Y 4 20020101
2 Z 5 20020102

 

I can make the individual bar charts (first two images) but I need to display these on the same chart (like in the third image). The tables are linked based on the Project_ID field, which I use to filter the visualizations and to link several other data sources. I feel like there's something basic I'm missing here but this has been throwing me for a loop for a while. Any help would be appreciated!

Gadgets by DateGadgets by DateWidgets by DateWidgets by Date

 

Combined (mock-up)Combined (mock-up)

Labels (1)
1 Solution

Accepted Solutions
hic
Former Employee
Former Employee

1 Reply
hic
Former Employee
Former Employee