Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

exclude value in dimension

Hi everyone,

I am trying to exclude a value in a dimension and have tried below three methods and keep getting "Invalid dimension" message.

{<[Reason]-={'NO'}>}

IF(NOT MATCH ([Reason], 'NO'), [Reason]}

IF([Reason] <> 'NO', [Reason]}

Did I do something wrong?

Thanks in advance!

1 Solution

Accepted Solutions
Chanty4u
MVP
MVP

try below

if([Reason] <> 'Fieldvalue', [Reason])

View solution in original post

4 Replies
Chanty4u
MVP
MVP

try below

if([Reason] <> 'Fieldvalue', [Reason])

Chanty4u
MVP
MVP

or you can try below aswell

if([Reason] <> 'Fieldvalue', [Reason],null())

Anonymous
Not applicable
Author

Thanks Chanty for trying to help. I tried both and still not working...

Anonymous
Not applicable
Author

My bad! I just discovered that I used the curly bracket to end instead of the round bracket! That's the whole reason why it wasn't working! Thanks Chanty for your patience....