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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
arusanah
Creator II
Creator II

Blank data coming from Data source

customer Key
1100/12/90
1320/20/55
//
//
1459/25/10
1500/34/99
//
1100/12/90
1110/22/90

this is the data coming from SAP table .

i tried using following code to remove blank data and it is not working

From <table  name>

where (len(trim([Sales Organization_VKORG])) >0 and len(trim(Customer_KUNNR)) > 0 and len(trim([Division extension_DIVEXT]))> 0 );

pls help

13 Replies
ramoncova06
Partner - Specialist III
Partner - Specialist III

so just from me to understand better

you extract your data and create this key [sales org]&'/'&[Customer kunnr]&'/'&[Distributed Channel] at what moment is this happening ?

In a table created before the where or during the where ?


if is during the where have you tried

where trim([sales org]&'/'&[Customer kunnr]&'/'&[Distributed Channel]) = '\\'


Not applicable

Why not do this,

Load *

Where not isnull(salesorg) and not isnull(Customer kunnr) and not isnull(Distributed Channel);

SQL Select * From KNA1;

Not sure if I am missing something here.

arusanah
Creator II
Creator II
Author

done that but not working

kangaroomac
Partner - Creator II
Partner - Creator II

Hi Arusanah,

For some reason it seems when you load from SAP, it does not recognise the '//' as a field value.

A work-around could be to:

"MyTable":

do the table load..

then do another load

"My New Table":

NoConcatenate Load

*,

....

Where <Field> <> '//';

DROP Table MyTable;

Your root cause though could be "missing" fields (Check Sub Set Ratio's in your data model and use where exists where applicable).