Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Counting number of rows

Hi, i have a simple chart - straight table, and in a text box above i want to show number of rows in this table. Is there any way to do this ?

3 Replies
alexandros17
Partner - Champion III
Partner - Champion III

it is possible in the caption of your table, simply doing Count(myfield) where myfield is a field in your table

Gysbert_Wassenaar

Try =sum(aggr(1,Dim1,Dim2,...,DimN)) where Dim1,Dim2,...,DimN are the dimensions of your straight table. This doesn't always work correctly. If you suppress values in the straight table, for example with set analysis, then the count can be off.


talk is cheap, supply exceeds demand
sudeepkm
Specialist III
Specialist III

how many dimensions do you have. Mostly in the st table based on the dimension you will have the number of records. you can create a text object to count the Distinct Dimension field values.