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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
hasmyt
Contributor II
Contributor II

Load Null Values

I have an excel table that looks like this

Col1            Col2          A        B        C       D

'abc'           'A'              3         15       -        4

'abd'           'B'             -         1           -       10

 

When I convert this into a crosstable, the null values don't show up. However I need the null values as well. How do I do that?

 

Labels (1)
1 Solution

Accepted Solutions
lironbaram
Partner - Master III
Partner - Master III

you can try this approach 


nullasvalue Score,Value;
//Set NullValue = 'NULL';

DataTemp:
LOAD
ID,
Score,
Value
FROM [lib://Downloads/test.xlsx]
(ooxml, embedded labels, table is Sheet1);


CrossTable(Type,Value,1)
load *
Resident DataTemp;

drop table DataTemp;

View solution in original post

1 Reply
lironbaram
Partner - Master III
Partner - Master III

you can try this approach 


nullasvalue Score,Value;
//Set NullValue = 'NULL';

DataTemp:
LOAD
ID,
Score,
Value
FROM [lib://Downloads/test.xlsx]
(ooxml, embedded labels, table is Sheet1);


CrossTable(Type,Value,1)
load *
Resident DataTemp;

drop table DataTemp;