Hi @Filipa
Welcome to the community!
Can you check if the formula similar to the one discussed in the below link works for you? Here a dataset column is being compared with the parameter. You could check literal string to the value selected in the parameter.