Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot Table i need an average of a row

I currently have a pivot table built in my document.

The dimensions are

Customer, Origin, Destination, PickupWeek

Expression= Sum(TripCounter) <----This is just a "1" added on to each record to save me from doing a count.

I want to get an average of the rows in my table (See Attached):

PickupWeek
CustomerOriginDestination8/1/20098/2/20098/9/20098/16/20098/23/20098/30/20099/6/20099/13/20099/20/20099/27/200910 wk Average
123ABCXYZ556841012171058.2
456ABCXYZ568543104595.9


Please help. I really need this to work like this so i can replace some reports i currently send out in excel.

2 Replies
Not applicable
Author

PickupWeek
CustomerOriginDestination8/23/20098/30/20099/6/20099/13/20099/20/20099/27/20096 wk Average
123ABCXYZ41012171058.2
456ABCXYZ43104595.9

This is a better example so you can see the end of the row, which is teh important part

hector
Specialist
Specialist

Hi, why your avg is 8.2 for Customer 123? my calculus is 58 / 6 = 9.6

if you try sum(your_dim) / count(week)?

in every week this will be equal to the sum(your_dim), but in the total will be another value

c ya