Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
I have some data which has some junk values like '-' in place of real data. I'm looking to avoid loading such values to QlikView via script.
I have tries "-=" and "<>" options but, both don't seem to work for me.
Can any one point if there are any better options.
TIA!!
Hi,
R u getting these '-' values after loading, then QLikview shows NULL values as '-' .
Use in script NullAsvalue function to handle them or.
For details plss check NULL handling in QlikView
Hope it helps,if not revert with elaboration.
Sachin
Can you share the exact where clause you are using?
Hi Sunny,
The LOAD statement is as follows:
Table1:
LOAD
Date,
FID,
Fnr,
Ftext,
Eid,
Company
Where Fnr -='-'
Order by Fnr
Resident Table;
Hi,
R u getting these '-' values after loading, then QLikview shows NULL values as '-' .
Use in script NullAsvalue function to handle them or.
For details plss check NULL handling in QlikView
Hope it helps,if not revert with elaboration.
Sachin
You should use replace function
replace(Fnr,'-','0')
it will give you zero values insted of junk values.
I have also tried with Len(Fnr)>1. This also somehow doesn't help.
Can you share an image of the '-' in your front end of the application?
You state resident first and then the where clause.
Table1:
LOAD
Date,
FID,
Fnr,
Ftext,
Eid,
Company
Resident Table
Where Fnr -='-'
Order by Fnr
;
The last column here is the Fnr field i mentioned above.
I wrote the false order here, but in my application it is as you suggested.
Resident first followed by Where and Order.