Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Hauglaen
Contributor II
Contributor II

Load correct sale

Hi,

I have a problem with incorrect copies sold on transaction level when there are more than one seller on the sale. 

Example:

Transaction numberSellerCopies soldProvision
100Person 115
100Person 215
100Person 315
120Person 1537,5
120Person 2537,5
150Person 110150

 

The above example should look like this:

Transaction numberCopies soldProvision
100115
120575
15010150

 

Is it possible to solve this in Date load editor?

1 Reply
Anil_Babu_Samineni

Perhaps this?

Load distinct [Transaction number], [Copies sold], Sum(Provision) as Provision Resident Table Group By [Transaction number], [Copies sold];

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful