Hi All,
I am trying to use a multi-field formula for a case where I have a customer id, basket id and Offer Code as columns. I want to find out the the number of times a booking was made with an offer which is count distinct of basket ids with offers but cannot as currently in the table one basket has Null values which refers to something else. For that I thought one way could be add a column which will assign "offer" to all same basket ids if one of them has an offer and then do a count distinct. (Please suggest an alternative solution in case you think it would be easier
) . I tried using the multi field formula ( "IF [Basket ID ]=[Row-1:Basket ID ] and [Row-1:Price Code]!= 'Null' THEN 'Offer' ELSE 'no offer' ENDIF) but it is not giving desired result.
I have added an excel sheet of my sample data and have added a column D which I would want ideally to finally count distinct the number of basket ids with offers.
Would highly appreciate any help
Thanks
Veekay