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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
BartVA
Creator
Creator

ApplyMap: which default_mapping value to use for integers

Small "best practice" question. I am doing an ApplyMap which fetches integer values, including 0, positive and negative values. Which value do I put as "default_mapping" value?

I don't want it to be NULL.

I can't really use an integer.

Is it a bad idea to put '-' ? (As this is another data type than the rest of the values)?

Labels (1)
1 Solution

Accepted Solutions
anat
Master
Master

you can't really use an integer ,so means  you are not going to use sum aggr function for this field.

so in that case you can use "NA" or "Not Found"

View solution in original post

4 Replies
Antoine04
Partner - Creator III
Partner - Creator III

Hello

Maybe just « not found » ?

then in your analyse you can also filter on « not found » and quickly see the values not found

Regards

BartVA
Creator
Creator
Author

OK, so it's not a problem to mix strings with integers then?

Antoine04
Partner - Creator III
Partner - Creator III

Maybe yes if you plan to sum your DATA.

Other way would be to but them as 0 ?

anat
Master
Master

you can't really use an integer ,so means  you are not going to use sum aggr function for this field.

so in that case you can use "NA" or "Not Found"