Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Incremental distinct customer count

I am trying to create an incremental customer curve showing number of unique customers from begining to end of month by day. As an example, if 100 people ordered in Jan 1 and 100 people placed orders in Jan 2 but 22 of the customers in Jan 2 were new  , the total unique customers would be 122 .  I need to build this by date or by product (how many people ordered product A, Product A & Product B, etc...) 

I appreciate any pointers on what approach might work. Thanks in advance 

 

 

Date# of Customers Distinct Customer Count (Jan 1 forward)
1/1/2022100100
1/2/2022100122
1/3/2022100129
1/4/2022100133
1/5/2022100145
1/6/2022100177
1/7/2022100199
1/8/2022100211
1/9/2022100233
1/10/2022100255
1/11/2022100288
1/12/2022100299
  • Anonymous's avatar
    Anonymous
    4 years ago

    Anonymous if you haven't already, I would recommend starting by referring to the "New and Returning Customers" Dax Patterns.  It seems to me that some of the New customers patterns contained there may be adapted and/or combined to solve your use case.

    https://www.daxpatterns.com/new-and-returning-customers/ 

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anonymous if you haven't already, I would recommend starting by referring to the "New and Returning Customers" Dax Patterns.  It seems to me that some of the New customers patterns contained there may be adapted and/or combined to solve your use case.

    https://www.daxpatterns.com/new-and-returning-customers/