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

Pivot Table / Chart - How to aggregate

Hello,

sorry for this stupid question, but I just started with QlikView, but can not resolve this issue by myself. I am familiar how Pivot tables work from my experience with the Excel Assistant / Layout.

Now I would like to do the same with Qlik butcan not reach the same result.

I would like to get a table &chart where all values for one day averaged in one number/bar. With the Pivot table as it stands (in my case) I get as many bars/day as I have lines per day - no aggregation over one day takes place.

How to configure Qlik Pivot table to make this work? In Excel it is so easy and obvious ... ;-).

Here is my table:

Date/Timestamp Identifier value

---------------------------------------------------

05.10.09 1 123456

05.10.09 2 6293737

06.10.09 3 42637

06.10.09 4 182829

06.10.09 5 273738

......

Thank you

Kind regards

Matthias

05.10.200916473294404
05.10.200916474221970
05.10.200916475772188
05.10.200916477900615
05.10.2009164766044
05.10.200916487534191
05.10.200916486249359
05.10.200916545655765
05.10.20091654613600
05.10.200916592628629
06.10.200916584583798
06.10.20091659669769
06.10.200916631365732
06.10.200916634782447
07.10.200916718655914
07.10.20091675073824
07.10.2009167261246742
07.10.200916746451110
07.10.2009167476957
07.10.200916748385539
08.10.20091685014209
08.10.200916899621370
08.10.20091691190477
09.10.20091701553197
09.10.200917027820366
09.10.200917050391570
12.10.200917263482657
12.10.20091727025985
12.10.200917271381098
12.10.200917277617390
12.10.200917293770595
12.10.200917315657016
12.10.2009173171039616
12.10.200917319749370
13.10.200917390467258
13.10.200917395483056
14.10.200917451528672
14.10.200917465580580
14.10.200917469929472
14.10.200917505768573
14.10.2009175231841
15.10.200917549296553
15.10.200917550146152
15.10.200917554645128
15.10.200917556890517
15.10.200917568171570
15.10.200917569415791
15.10.200917570207721
15.10.200917571136995
15.10.200917573323188
16.10.200917587808192
16.10.200917602677691
16.10.200917627769774
16.10.200917629585635
16.10.2009176488743
16.10.2009176501079960
16.10.200917653385796
17.10.200917662203021
17.10.20091766311685
17.10.20091766862828
17.10.200917670339417
17.10.200917674498321
18.10.2009176883643
18.10.20091768936165
18.10.20091769794749
19.10.200917707781213
19.10.200917709792304
19.10.2009177101046295
19.10.200917711707525
19.10.20091771410874
19.10.200917724489382
19.10.20091773860178
19.10.200917739262085
19.10.200917740197055
20.10.200917760102693
20.10.200917770445030
20.10.200917779339694
20.10.200917780346970
20.10.200917781759080
20.10.200917784346832
20.10.200917783938084
20.10.200917786913584
20.10.200917785995135
20.10.20091779012562
20.10.200917795775687
20.10.200917797114903
20.10.200917798133445
21.10.2009178111085333
21.10.2009178131149254
21.10.200917819777604
21.10.200917823196839
21.10.200917834586000
21.10.2009178401361039
21.10.200917841779321
21.10.200917844350578
21.10.200917850536449
22.10.200917861578421
22.10.2009178625197
22.10.200917865856606
22.10.200917872711357
22.10.200917880558265
22.10.200917881894809
22.10.200917886166856
22.10.200917894947720
22.10.200917898354579
22.10.200917899713327
23.10.200917918778394
23.10.200917932878634
23.10.200917935643235
23.10.200917941598476


1 Solution

Accepted Solutions
johnw
Champion III
Champion III

You want to use Date as the dimension, and avg(Value) as the expression.

However, when you say your table has a Date/Timestamp, is it a date or a timestamp? If it's a timestamp, then that would cause you to get one row per record. You need a date field, which you can extract from a timestamp by using the floor() function, either to make a new field, or in a calculated dimension.

View solution in original post

3 Replies
johnw
Champion III
Champion III

You want to use Date as the dimension, and avg(Value) as the expression.

However, when you say your table has a Date/Timestamp, is it a date or a timestamp? If it's a timestamp, then that would cause you to get one row per record. You need a date field, which you can extract from a timestamp by using the floor() function, either to make a new field, or in a calculated dimension.

Not applicable
Author

Hello John,

thanks for your hint - works just great now. I just started with Qlikview and my sw engineering skills became a bit rusty, but I need to catch up quickly.

Thank you.

P.S. In case you are a freelancer and interested in a project then ping me with your contact details. Wink

Kind regards

Matthias

johnw
Champion III
Champion III

Sorry, happily employed. Glad it works now, though. Smile