Hi @duncan thank you for prompt feedback! You were right, when removed parenthesis everything works as expected. However when validating the output i realized that the calculated field is returning only some values (on 1 st level). Let me walk you through my problem:
Those calculated fields are generating TRUE/FALSE values depending on some other fields:
stdDev1XOutliersIndicatorByProject
stdDev2XOutliersIndicatorByProject
stdDev3XOutliersIndicatorByProject
The work totally fine when using then as 3 separate controls within dashboard, so user can select TRUE/FALSE on each level:

However I would like to consolidate all the 3 control within 1 control, so i’m trying to include the hardcoded parameter values ${OutlierTRUE} ${OutlierFALSE
into the calculated field. This is the calculated field for this excercise, i’ve recreated as per your advice:
ifelse
(
stdDev1XOutliersIndicatorByProject = ${OutlierTRUE}, 'Outlier 1 std dev',
stdDev2XOutliersIndicatorByProject = ${OutlierTRUE}, 'Outlier 2 std dev',
stdDev3XOutliersIndicatorByProject = ${OutlierTRUE}, 'Outlier 3 std dev',
stdDev1XOutliersIndicatorByProject = ${OutlierFALSE}, 'Regular 1 std dev',
stdDev2XOutliersIndicatorByProject = ${OutlierFALSE}, 'Regular 2 std dev',
stdDev3XOutliersIndicatorByProject = ${OutlierFALSE}, 'Regular 3 std dev',
NULL
)
The control works fine but apparently it’s returning values only on 1st levels i.e.
'Outlier 1 std dev'
'Regular 1 std dev'

For instance for this scenario, i was expecting to see 3 labels:
stdDev1XOutliersIndicatorByProject = TRUE / Outlier 1 std dev
- WORKING FINE
stdDev1XOutliersIndicatorByProject = FALSE / Regular 1 std dev
- WORKING FINE
stdDev2XOutliersIndicatorByProject = FALSE / Regular 2 std dev
- MISSING LABEL
stdDev3XOutliersIndicatorByProject = FALSE / Regular 3 std dev
- MISSING LABEL
For the validation I’m filtering only by filter, control is set as “select all”.
I guess it’s related to the fact that ifelse assignes only 1 label based on the 1st calculated field and ingores other 2. Otherwise the records would must be duplicated to include all the labels. Could you take a look and advice what could be improved here or if it’s even doable?
Many thanks in advance!