Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i need to combine null and unknown bars into one in bar chart
=if('ethnicity'='NULL' or 'ethnicity'='Unknown','Unknown)
i tried this but its not working. I dont know if I am putting it in the right place
maybe with a calculated dim
=if(mixmatch(ethnicity, 'NULL', 'Unknown'), 'Unknown', ethnicity)
why dont you assign Unknown text to all null values while loading the script ?
ex: if(len(trim(fieldname))=0,'Unknown',fieldname) as fieldname
or map using ..
isnull(<field name>) can be used in logic to test for null values.
=if('ethnicity'='NULL' or 'ethnicity'='Unknown','Unknown) is comparing string
What´s name of your field?
Posting some data will help.
Please check if this solve your problem
the field name is Ethnicity. Null and Unknown in the field need to be combined
Please check the file I´ve attached
Hi Vector
Answer is provided here in the below post.
http://community.qlik.com/message/557821#557821
Regards
ASHFAQ