I think , you tried with Qlikview Help file example..
Just try the below code..
mapping load * inline [
3, three ] ;
LOAD ApplyMap ('map1', 2 ) as Field1, // returns ' two'
ApplyMap ('map1', 4 ) as Field2, //returns 4
ApplyMap ('map1', 5, 'xxx') as Field3, //returns 'xxx'
ApplyMap ('map1', 1, 'xxx') as Field4, // returns 'one'
ApplyMap ('map1', 5, null( ) ) as Field5, // returns NULL
ApplyMap ('map1', 3, null( ) ) as Field6 // returns 'three'
Inline [ Temp
Apparently, you can use Applymap() in UI objects. The function name is accepted but always returns NULL, even if you supply a third parameter. Which IMHO means that the function isn't even executed, or skips execution on entry.
And in any case, this wouldn't work at all as one of the main properties of mapping tables is that they are dropped at the end of reload scirpt execution. Mapping tables do not survive a reload. Ever.
And based on public knowledge of QlikView settings and options, there is nothing that can be done about this behaviour. Even the easter eggs do not list an option that hints at manipulating mapping table behavior. Sorry.
As sunny said. It is not possible to use in frontend.
ApplyMap() is only a back-end (or script) function. You cannot use ApplyMap() in front end objects such as text boxes and charts