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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

GrossWeight

Hi,

i have a qlikview document which consolidates orders for example customer a has ordered 2 items which are the same on the same day but with different order numbers

when i produce the table qlikview consolidates these jobs which is fine but i want it to give me the total weight not the consolidated weight ? i hope this makes sense?

at the moment it is removing the *duplicate weight* and only giving me the weight of one for example 1kilo instead of 2

thanks for your time

Jase

10 Replies
Not applicable
Author

it might help if you showed some data. Is the weight numeric, it can only sum numbers, not strings.

Not applicable
Author

Hi Steve

the Weight is a numbers and not strings if you can see below:

DateDcityDDepotDIDDnameDivisionGrossWeightModule IDOareaODepotOnameOzipPriorityVolume
#############Birmingham areaCoP Birminghamtest3402.6808146.1.2DLLESTest CompanyDL5 6EPCollection16.98775
#############Birmingham areaCoP Birminghamtest3402.6808146.1.2DLMANCHESTERTest CompanyDL5 6EPCollection16.98775
#############DaventryCoP DaventryPDC Daventrytest3402.6808147.1.2DLLESTest CompanyDL5 6EPCollection16.98775
#############DaventryCoP DaventryPDC Daventrytest3402.6808147.1.2DLMANCHESTERTest CompanyDL5 6EPCollection16.98775


the table produces

CalendarYearCalendarMonthNameCalendarDayNameJobsWeightVolume
2009MayMon26,80534


but if you look at the original data and add the weight up and volume it is treating it as duplicate data

hope this makes sense?

Not applicable
Author

Hi Steve

the Weight is a numbers and not strings if you can see below:

DateDcityDDepotDIDDnameDivisionGrossWeightModule IDOareaODepotOnameOzipPriorityVolume
#############Birmingham areaCoP Birminghamtest3402.6808146.1.2DLLESTest CompanyDL5 6EPCollection16.98775
#############Birmingham areaCoP Birminghamtest3402.6808146.1.2DLMANCHESTERTest CompanyDL5 6EPCollection16.98775
#############DaventryCoP DaventryPDC Daventrytest3402.6808147.1.2DLLESTest CompanyDL5 6EPCollection16.98775
#############DaventryCoP DaventryPDC Daventrytest3402.6808147.1.2DLMANCHESTERTest CompanyDL5 6EPCollection16.98775


the table produces

CalendarYearCalendarMonthNameCalendarDayNameJobsWeightVolume
2009MayMon26,80534


but if you look at the original data and add the weight up and volume it is treating it as duplicate data

hope this makes sense?

Not applicable
Author

I assume that's a straight table. You have summarsied by day, so if there are 2 jobs , 6805 looks right. What are the dates - is it all the same date? What expression have you used tosum the weight?

Steve

Not applicable
Author

Hi Steve,

6805 isnt correct its only adding together 2 of the 4 jobs its all the same date the only difference between the jobs is the Dcity 2 are going to birmingham and 2 to Daventry.

but my Pivot table is only taking 2 jobs and not the 4 ?

does this make sense? 😜 on the weight field on the pivot table im using just Sum (GrossWeight)

deepakk
Partner - Specialist III
Partner - Specialist III

HI Westie,

It seems there is some problem in your data modelling. Such error occurs when the linking between tables are wrong.

If you can show the table and the linking we might able to help you out.

llauses243
Creator III
Creator III

Hi,

to test aggr(nodistinct Sum (GrossWeight))

good luck, Luis

Not applicable
Author

Hi Luis,

i tired that and it gives me a - in the gross weight field?

Not applicable
Author

Hi Deepak,

i cant give you the data as its customer data otherwise i would.