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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
alex59800
Contributor II
Contributor II

Force the "no answer " with an applymap function

Hello

Just a question on applymap functionnality :

When you do

applymaptest:

MAPPING LOAD

X

Y

SQL SELECT X Y.....

applymap('applymaptest', X)

when applymap does not suceed in finding X, the function give you the answer X.

My question is, can we force the no answer by giving to the no answer by default Z as no answer instaed of X ?

Thanks a lot

Alex

Labels (1)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Yes,

applymap('mapname', expr [ , defaultexpr ] )


Just add a default value after X:

applymap('applymaptest', X, Z)

View solution in original post

2 Replies
Anonymous
Not applicable

Yes,

applymap('mapname', expr [ , defaultexpr ] )


Just add a default value after X:

applymap('applymaptest', X, Z)

alex59800
Contributor II
Contributor II
Author

Thanks a lot Johannes, you're the one !


Best regards