Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to add nulls values to Others using set analysis.

Hi all,

I have a dimension called state which contains values like CA, NY, Others, nulls.

I have a measure called salse. I want to add all the salse value to Others category while creating a bar chart.

Can anybody help me to handle this?

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Thanks prat1507  it worked this way 

if(isnull(state),'Others',state)


View solution in original post

5 Replies
shraddha_g
Partner - Master III
Partner - Master III

do you have access to load script?

prat1507
Specialist
Specialist

Use the below in your dimension:

if(state='CA' or state='NY',Others)


Regards
Pratyush

Anonymous
Not applicable
Author

no

Anonymous
Not applicable
Author

Thanks prat1507  it worked this way 

if(isnull(state),'Others',state)


prat1507
Specialist
Specialist

Welcome