Hi @AlexGW - You can’t create a calculated field that contains a multivalued parameter—those with a multiselect drop-down control. Source: Using calculated fields with parameters in Amazon QuickSight - Amazon QuickSight
This post talks about a workaround. But in that case there are only two outcomes for the usecase. In your case, it might be better to use individual parameters per discount code.