Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
evan_kurowski
Specialist
Specialist

ApplyMap error handling

Hello Community,

Quick question... should normal error handling of an ApplyMap() that referenced a non-existant mapping table return an error?


ApplyMap
('thismappingtabledoesntexist',F1,'this is the map default message') AS MAP_TEST

1 Solution

Accepted Solutions
Peter_Cammaert
Partner - Champion III
Partner - Champion III

No, Applymap doesn't know about errors. Everything is OK to applymap, but you may not get the results you expect.

Note that applymap() by default returns NULL only when the mapping table doesn't exist. Otherwise it will return either the search result, the original index value or the value of the third parameter (can also be NULL)

Peter

View solution in original post

1 Reply
Peter_Cammaert
Partner - Champion III
Partner - Champion III

No, Applymap doesn't know about errors. Everything is OK to applymap, but you may not get the results you expect.

Note that applymap() by default returns NULL only when the mapping table doesn't exist. Otherwise it will return either the search result, the original index value or the value of the third parameter (can also be NULL)

Peter