How do I make a conditional calculation to search a record field for a specific string?
If ( Descrizione= "BENEFICIARI" ; Type = "Beneficiary")
Your calculation also does not set Type to the value "beneficiary". Rather, it returns 1, 0, or Null.
The type field can be defined with the following calculation:
If ( PatternCount (
Descrizione ; "BENEFICIARI" ) ; "Beneficiary" )