Forum Discussion

Spikekahl's avatar
Spikekahl
Copper Contributor
Feb 28, 2022

Help With Pivot tables. I have a list of popular part numbers and a list of cust part nos.

Hello I have a list of part numbers that are most popular in the state.   I also have a list of which part numbers this customer has in stock.  I want to see which of his part numbers are in the list of popular ones by rank. Also, how many he has in stock of each.  ex:

Most popular in State-

PART NUMBER       RANK     IN STOCK PAIRS

BS123                     1

BS1467                   2

BR4557                   3

BS199                     4

The customer has:

PART NUMBER      RANK   IN STOCK PAIRS

BR457                                   2

BS123                                   3

BS188                                   1

Thanks for your help!  Mike Kahl

 

1 Reply

  • Martin_Weiss's avatar
    Martin_Weiss
    Bronze Contributor

    Hi Spikekahl 

     

    in order to analyze two different source tables with one Pivottable, you have several options:

    1. Merge/copy the two tables manually to a single one

    2. Merge the two tables with a join in Power Query (this is what I would recommend)

    3. Load the two tables in the datamodel and create a relationshipt between them. Depending on the source data, this might require some additional preparation.  

     

    Then you can create your Pivottable and analyze the data.

Resources