Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count table rows in a seperate text object.

Hi,

I want to get the total row count from a table I have and place that count in a text object. I do not know how to code that, I am thinking I might have to use NoOfRows but not sure how to do it. Any help would be great.

Thank you,

Alam

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

In text object using Count() you can find the count of the rows in the table.  

If you want the overall count of the table ignoring the selections then use

=Count({1} DimensionName)

If you want the count of the rows for the current selections then use

=Count(DimensionName)

Hope this helps you.

Regards,

jagan.

View solution in original post

4 Replies
Sokkorn
Master
Master

Hi Alam,

Use this in TextObject

=Count(Field)

or

=Count(TOTAL Field)

Regards,

Sokkorn

jagan
Luminary Alumni
Luminary Alumni

Hi,

In text object using Count() you can find the count of the rows in the table.  

If you want the overall count of the table ignoring the selections then use

=Count({1} DimensionName)

If you want the count of the rows for the current selections then use

=Count(DimensionName)

Hope this helps you.

Regards,

jagan.

Not applicable
Author

Thanks this helped a lot.

Not applicable
Author

Ok this about the total row count. But who knows how I can get the total rows of the table, I know in the table you can do it with NoOfRows(), and place that count in a text object, because it do not works with NoOfRows()