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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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

Labels (1)
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