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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

data struture for combo chart

HI All

I'm very new to qlikview and I'm confused as to how to correctly create a combo chart.

My data structures is the following:

Present Data
ticket numbercreation_dateclose_date
ticket15/15/2011
ticket25/15/2011
ticket35/15/20115/15/2011

I want to where it shows me on 5/15/2011, I have 2 tickets created and 1 closed.

So far the only way I got the combo chart to work correctly was to create a new table in qlikview that takes my original data and transform it into this:

Data Needed
Datecreation_dateclose_date
5/15/2011ticket1
5/15/2011ticket2
5/15/2011ticket3
5/15/2011ticket3

What's the better way of doing this?

3 Replies
swuehl
MVP
MVP

I think, it might be better to transform it into a table like below (but that's probably depending on what you want to do with your data):

Date             |  ticket number | type

5/15/2011     |    ticket1         | creation

5/15/2011     |    ticket2         | creation

5/15/2011     |    ticket3         | creation

5/15/2011     |    ticket3         | closing

I would also create a separate calendar table (search for master calendar and calendar linkage table here in the forum, I think there is also an example in Rob Wunderlich's QV cookbook). Then link the Date from the your data table to the master calendar or use it as data island (depending what you want to achieve).

Just out of interest: in which way do you want to present your data in a combo chart?

Regards,

Stefan

Not applicable
Author

hello there,

maybe you add a extra field in load script, flag that says if ticket is OPENED or NOT

Present Data
ticket numbercreation_dateclose_dateStatus
ticket15/15/2011Open tickets
ticket25/15/2011Open tickets
ticket35/15/20115/15/2011Closed tikets

and then buid table/chart with dimencions creation_date  and Status and expression like = count(ticket_number)

its_anandrjs
Champion III
Champion III

Hi,

YesYou need to do load another field that manage the Ticket Info what is status and then load a resident load of the table  with field Ticket_Info and get the details of ticket and use this field where ever you want to calculate.

Below is a code

Data:

Load * ,

If(close_date = 0, 'Ticket Open','Ticket Closed') as Ticket_Info

Resident Raw;

See the sample file.

HTH

Rgds

Anand