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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Show multiple Time dimension on same axis

Hi, using below data,how to plot a multiple time dimension on same axis and create column chart ?

Data:

InvoiceDateSalesWeekMonth
09/09/201410037Sep
10/09/201420037Sep
11/09/201440037Sep
12/09/201480037Sep
13/09/201490037Sep
14/09/2014120038Sep
15/09/2014140038Sep
16/09/2014250038Sep

Desire Output:

Please refer to attahcment

Message was edited by: Kaustubh Bagal

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

hi,

try aggregating the data in the script

TimeTable:

load

Month as Time,

sum(Sales) as Sales,

1 as SortPrio

Resident Data Group by Month;

concatenate (TimeTable)

load

Week as Time,

sum(Sales) as Sales,

2 as SortPrio

Resident Data Group by Week;

concatenate (TimeTable)

load

InvoiceDate as Time,

sum(Sales) as Sales,

3 as SortPrio

Resident Data Group by InvoiceDate;

you can skip the last sum(Sales) and group by InvoieDate if you only have one data entry for a specific day.

Use Time as Dimension in your chart.

Best

Stefan

View solution in original post

4 Replies
MarcoWedel

there is no attachment?

Not applicable
Author

Hi Marco, now attachment added. Please check.

Anonymous
Not applicable
Author

hi,

try aggregating the data in the script

TimeTable:

load

Month as Time,

sum(Sales) as Sales,

1 as SortPrio

Resident Data Group by Month;

concatenate (TimeTable)

load

Week as Time,

sum(Sales) as Sales,

2 as SortPrio

Resident Data Group by Week;

concatenate (TimeTable)

load

InvoiceDate as Time,

sum(Sales) as Sales,

3 as SortPrio

Resident Data Group by InvoiceDate;

you can skip the last sum(Sales) and group by InvoieDate if you only have one data entry for a specific day.

Use Time as Dimension in your chart.

Best

Stefan

Not applicable
Author

Thanks Stefan