Skip to main content

I have an excel file that comes from our sales system and it's what we work around. Invoice number can have multiple qty of a specific sku. Protrak number is some sort of barcode and we generally have one per sku, but not always, see below ~

Then I have the sql database that is the datasource for tableau. The serial number is unique and it has assigned a protrak number and an invoice number. see below

The result I am looking for is the image at the top. The issues we are having are the fact that the protrak number is not unique in the sales system and also that even if we match the invoice/protrak and pull the first serial number, second match will not skip to the next serial number.

As I read this back, it makes no sense but hopefully the images will help.

 

1 answer
  1. Nov 20, 2020, 2:33 PM

    Hi

    if I had this issue I would clean the data using Prep to first split the protrak number, then pivot the data and eliminate any nulls - then come back and use an LOD to aggregate the data at the serial number level

     

    Jim

0/9000