Hi dear,
If I have multiple fields like:
CustID Items_A_Bought Items_B_Bought ... Items_Z_Bought
John 1 7 0
Jack 0 0 1
Jess 2 2 2
And I want to calculate how many types of items they bought:
John 2 (A and B)
Jack 1 (C)
Jess 3 (A,B, C)
The way I can think of is to use Filler node to fill where @FIELD>0 with 1, then sum_n(@fields_between(Item_A_Bought,Item_Z_Bought). Is there any other way to do this?
Thanks,