Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to ignore empty lines in tab delimited files?

I have some tab delimited files to be used as source, but some of them come with rows at the end that contain tabs and no data.

How can I ignore these rows at the end?

Thanks,

Miguel

10 Replies
salto
Specialist II
Specialist II

Hello Miguel,

QlikView does ignore those lines, doesn't it? They are not imported I think.

Gysbert_Wassenaar

Qlikview won't load lines that are completely empty. If you do end up with records that contain only nulls you can try checking for nulls in a column that should always have a value:

Table1:

Load A, B, C, ...etc

From ...somewhere...

Where len(trim(A)) > 0;

The where clause above will make sure only those records are loaded in which field A contains a value.


talk is cheap, supply exceeds demand
Not applicable
Author

Something is wrong. I debugged using qlikviewer and the data gets loaded.

But when I show it in a Raw table, it doesn't show anything!!!!!

Not applicable
Author

Miguel, por lo general esto pasa cuando tienes 2 tablas referenciadas con 2 o mas llaves primarias, recuerda que por buenas practicas en qlikview se debe tenere una llave primaria por conexion de tabla, saluds y suerte!!

Not applicable
Author

No I'm just referencing one table....

Not applicable
Author

Do you have an Example?

Not applicable
Author

Here's an example attached.

Not applicable
Author

Look at the difference is an Bussines Law,

i attach you the example ,

Regards!!!

Not applicable
Author

I got the difference. You use the sum(test) instead of test. But why doesn't it work using just the column test as expression?