Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

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

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 …