Forum Discussion

abristow's avatar
abristow
Frequent Visitor
6 years ago
Solved

Calculating incremental items sold v PY

Hello,

 

I'm trying to calculate two similar (but different) metrics based on my sales data and need help with both, please.

 

1. [Incremental SKU] = a new item sold into a customer that has purchased other products in the past (i.e. total historical vol > 0)

2. [New SKU] = an item sold into a customer that has never purchased anything in the past (i.e. total historical vol =0)

 

In this case, the "past" is constrained to Q4 of prior year. 

 

This a super simple example of what I'm looking for in results:

 

CustomerNumDateSKUVolIncremental SKUNew SKU
10111/1/2019Chocolate3  
10111/5/2019Vanilla5  
1091/10/2020Chocolate1 1
1091/10/2020Vanilla1 1
1011/12/2020Chocolate2  
1011/12/2020Banana11 

 

Thanks so much!

  • Hi abristow ,
     
    Once you have solved the problem of the new customer, you can proceed to deal with the problem of repurchasing other products.
    You can refer to this pbix.
     
    Best Regards,
    Liang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

3 Replies