Count total enums

Hi

Im trying to create a simple app. I have 3 tables: Customers RAN, Customers BAM and Products

In the form of Customers RAN i can select via dropdown a product. and with a dropwdown i can select if i have given away a product or not. 

IDName CustomerProductProduct given away?
1Cust 1Product AYes
2Cust 2Product BNo
3Cust 3Product AYes
4Cust 4Procuct CYes

In the form of Customers BAM i can select via dropdown a product. and with a dropwdown i can select if i have given away a product or not. 

IDName CustomerProductProduct given away?
1Cust 1Product CYes
2Cust 2Product BNo
3Cust 3Product AYes
4Cust 4Procuct CYes

In my other table called products i want to show data based, on the table Customers RAN and Customers BAM,  how many products i have given away (so count value "Yes" of the product and  If value no is selected than it will not to anything and will be 0):

IDProductTotal product given away
1Product A3
2Product B0
3Product C3

What formula can i use in appsheet to show the result in the field Total product given away based on the Product field ?

Best regards,
Zuha

0 2 89
2 REPLIES 2
Top Labels in this Space