You can also do it in script level where you can mention
if(upper(Products)='SAMSUNG','0','1') as ProductSpecificFlag
Later,you can use this in your calculated dimension,
This will take all values irrespective to any change in the cases of Samsung(upper case or lower case).
Hope it helps.