Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to enable conditional value for a record to hide in a Column field

Hi,

I have one small doubt. How can I set a condition for a field in Column.

I have below data in a Straight table and I want to hide or set to null the records "Sales" in column "Department Type".

I tried functions Match, GetSelecFields and Set Analysis but unable to solve this issue.

Can anyone help me?

"Date" "Category" "Department Type" "Employee"

1      IT                   Software                A

2    NonIT               Sales                     B

3    NonIT               Sales                     C

4     IT                    Software                 D

5     IT                    Software                 E

I do not want to see Sales in Department Type column and result should be either 0 or Null.

Thanks,

Shiva.

11 Replies
Anonymous
Not applicable
Author

Andy,

For suppose, if we want to hide other field for example 'HR' also in 'Department Type' what would be the expression.

Req: "Sales" and "HR" should miss in records of column "Department Type".

"Date" "Category" "Department Type" "Employee"

1      IT                   Software                A

2    NonIT               Sales                     B

3    NonIT               Sales                     C

4     IT                    Software                 D

5     IT                    Software                 E

6   IT-Related         HR                         F

awhitfield
Partner - Champion
Partner - Champion

Hi Shiva,

like this

=If([Department Type]='Sales' OR [Department Type]='HR',
NULL(),[Department Type])

Andy