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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Load script table manipulation?!?


hoping someone can help...if this is even possible?!?

I have the following table...

numberYCH GBWM GBRN GLWH GKNI GLNI GMAC GMCI GVWM G
10602906-2ynnnnnnnn
10605441nynnnnnnn
20118159nnnnnnnyy
20743581nyynnnnn

n

and what I want to do is create a secondary table as a lookup for my main table above.. i.e when I select number 20118159 I want to be able to select from a list any site code where there is a 'y' in the column... can I create a create a table like this...

numbersite_code
10602906-2YCH G
10605441BWM G
20118159MCI G
20118159VWM G
20743581BWM G
20743581BRN G

so that I can have a list box of sites and my main table will reurn the related numbers?!?

Does that make any sense?

23 Replies
qlikconsultant
Creator III
Creator III

I'm not sure what you you want with isnull?

Not applicable
Author

when there is a 'y' or 'null' in the filed I want it flagged (i.e treating nulls as 'y')

qlikconsultant
Creator III
Creator III

Should look like

NoConcatenate LOAD * Resident CroTables where Flag = 'y' or IsNull(Flag)='-1'

Not applicable
Author

added that all i think i need to do now is add to the site_code lookup table (where description is held) is where site_code isnull then description is 'not entered' this lookup is coming from an excel sheet.

Not applicable
Author

Thanks so much for you help the other day.... I also need to pick up null values as well as 'y' , how can I include these?

tresesco
MVP
MVP

Try like:

Where Flag='y' or Len(Trim(Flag))=0 ;

Not applicable
Author

that doesnt seem to work

Is there any way I can get the 'nulls' to text as 'not entered' and display these in my location table?

tresesco
MVP
MVP

Try like:

NullAsValue YourField;

Set NullValue = 'Not entered';

Not applicable
Author

sorry not sure where to put this

tresesco
MVP
MVP

In the script before you start your scripting:

Screen Shot 10-21-14 at 01.55 PM.PNG.png