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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
GaryMcDonald
Contributor II
Contributor II

NoOfRows in Load Script as Variable to Store Table Into

Hi,

Please could somebody explain where I'm going wrong here ?

I  want to store a table as a txt file but only if there are records in the table. 

When I use the function NoOfRows() as a variable using Let it always returns a NULL value thus the table is not saving as  a txt file.

Script Below:

Many thanks

Gary

GaryMcDonald_0-1636396028618.png

 

 

 

 

 

Labels (2)
1 Solution

Accepted Solutions
maxgro
MVP
MVP

Add ' '

LET vNumOfRows = NoOfRows('TableName');

 




View solution in original post

2 Replies
maxgro
MVP
MVP

Add ' '

LET vNumOfRows = NoOfRows('TableName');

 




GaryMcDonald
Contributor II
Contributor II
Author

Awesome - Thanks Maxgro!