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: 
Not applicable

row count

how do you count the real number of rows in a table (i.e. what's going to be visible) within the load script?

6 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

What's going to be visible depends on how you construct the chart objects. So you determine the 'real' number of rows. If you want to know the number of rows loaded into a table in the script you can use the NoOfRows function:

LET vNoOfRows = NoOfRows('MyQlikViewTable');


talk is cheap, supply exceeds demand
MK_QSL
MVP
MVP

Use Script Function

NoOfRows(TableName)

its_anandrjs
Champion III
Champion III

Hi,

There is different ways

1. Add the field in front end $Table, $Row

deails.png

2. By the variable

    Let vNoOfRows = NoOfRows('TableName');

3. Add the field RowNo() in the table

Ex:-

Load Rowno() as Rowcount,FieldName;

Load * Inline

[

FieldName

a

b

c

];

Hope this helps

Regards

Anand

Not applicable
Author

thanks

Not applicable
Author

I’ll try those out, ta

Not applicable
Author

Thanks, that works …