Robert Forbes
07/02/2020, 6:43 PMbattk
07/02/2020, 6:58 PMbattk
07/02/2020, 7:02 PMleo
07/02/2020, 7:03 PMKevinJ of Kansas
07/02/2020, 7:42 PMcase {item} when 'X' then 1 when 'y' then 1 else 0 end
That will get you the desired result with a little tweaking.