Search code examples
qlikviewqliksenseqlik-expression

QlikView WHERE condition in chart calculated dimension


I have a chart with a calculated dimension

it contains 4 possible values A, B, C, or D

however in my bar chart i only want it to contain B and C

I have tried:

=MATCH(CATEGORY, 'B','C',)

But this just numbers them.


Solution

  • Using the IF condition this can be achieved with:

    if(MATCH(CATEGORY, 'B','C'),CATEGORY)