Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
sudhakarsamak06
Contributor
Contributor

Change the data for timeline chart

I have the following data 

1971/01

Quantity

1971-01

Amount

1971-07

Quantity

1971-07

Amount

1972-01

Quantity

1972-01

Amount

1972-07

Quantity

1972-07

Amount

2

10

5

15

3

69

4

52

4

10

2

30

7

96

8

66

5

45

7

32

2

59

3

47

 

Now i want to convert this data into a format which i can use for a timeline chart. With the year in x-axis, i want to display the total amount and and quantity as the lines in a line chart. Basically i want to convert the above data into something that looks like this:

Year

Quantity

Amount

1971

25

142

1972

27

389

Could someone please help me do this in Qlikview.

PS: I have a lot more fields than i have mentioned here. I am using data from 1971 - 2019.

Labels (1)
1 Reply
Brett_Bleess
Former Employee
Former Employee

I believe what you want to look into is the Crosstable function:

http://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/Script...

Also found a Design Blog post along the same lines that may be helpful as well:

https://community.qlik.com/t5/Qlik-Design-Blog/The-Crosstable-Load/ba-p/1468083

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.