Count occurences of sells per customer

Solved!
Julux
Level 2
Count occurences of sells per customer

Hi there,

I think it must be a very simple task, but I can't find any recipe or formula in order to count the number of sells per customer (I have a colum "orderTransaction" and a column "IDbuyer").

Thank you for your help !

0 Kudos
1 Solution
Andrey
Dataiker Alumni

Hi,

Have you tried a "Group" recipe? You'd have to specify IDbuyer as a grouping key when creating a recipe and then "Count" next to the orderTransaction column.

Andrey Avtomonov
R&D Engineer @ Dataiku

View solution in original post

2 Replies
Andrey
Dataiker Alumni

Hi,

Have you tried a "Group" recipe? You'd have to specify IDbuyer as a grouping key when creating a recipe and then "Count" next to the orderTransaction column.

Andrey Avtomonov
R&D Engineer @ Dataiku
Julux
Level 2
Author

Sorry for late answer ! Your solution worked ! Thank you very much !

0 Kudos