Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
WEBINAR April 23, 2025: Iceberg Ahead: The Future of Open Lakehouses - REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
cbaqir
Specialist II
Specialist II

Count Rows in Ad Hoc Report

I have an Ad Hoc report that I need to state how many rows are included in the file so that the user knows if it will exceed the max rows that Excel can handle (something like 1.048 m I think).

I tried creating a variable called vGetFields =GetFieldSelections(_Dimension, ' & ',100)

and then a Text Box: ='Number of Lines ' & Count(distinct $(vGetFields))

but it is not working as I intended. For example, if the Dimensions I have selected result in one row of data, it should read 1.

Any ideas?

Thanks,

Cassandra

1 Solution

Accepted Solutions
1 Reply
maxgro
MVP
MVP