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

Announcements
Mastering Change Data Capture: Read Now
cancel
Showing results for 
Search instead for 
Did you mean: 
shekkyBoi
Contributor
Contributor

blank value '-' change to static value of "OTHER".

Hi,

 

I have a report below, I have attached the main area of issue.

When I run the Load I have "-" in my table, which is not clickable, I am assuming its nulls? 

My question is, how do I turn the "-' to say "others" instead of -?

shekkyBoi_0-1635222858640.png

 

 

 

CRM_MAP:
 
Mapping

LOAD * INLINE [

Association, CODE

1, a

2, b

3, b

4, c

5, d

 


];




Intermediary :
LOAD

Association,
(there are other fields as well. But the association is the main field of concern ).


FROM
$(vDataPath)test.qvd
(qvd)where PrimaryLoc='Yes';

1 Reply
njc_96
Contributor II
Contributor II

Hi @shekkyBoi ,

Please use the below lines before loading the table. These lines converts the nulls into values

NullAsValue Associaton;  

Set NullValue = 'Others'; 

Reference Link:

https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptR...

Hope this solution helps you!

Thanks!