Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
avastani
Partner - Creator III
Partner - Creator III

How to find if a dimension exists in a chart

I would like my expression to change if a certain dimension is present. If the dimension does not exists then I would like to use a different expression.

Is this possible in QV?

4 Replies
Not applicable

Hi Amir,

Try reading help about Dimensionality()

avastani
Partner - Creator III
Partner - Creator III
Author

that only gives me the number but not the dimension name. i am looking for the dimension name to exist

tduarte
Partner - Creator II
Partner - Creator II

Hi amirvas,

I'm also trying to do somethign similar. The idea is to make it work even if the user changes the column position in the pivot.

All we need is to be able to use the dimension name on the expression.

Not applicable

Hi

Did you try using

IF

(

   GetCurrentField(<cyclic dimension or drill down dimension name)='<your dimension name>',then condition,else condition

)