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

Problems Get number of records

Hi,

I've a problem counting records. I need show a table when the result is less than 1.000.000 records. I was trying but it was imposible somebody can help me please.

3 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Hi

If you are asking for help in counting the records in your model (or table?, in script? ??) you need to provide more information about your model and your requirements and preferably a meaningful sample of your model.

Regards

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Anonymous
Not applicable
Author

well.. the way i understand this is..

you can have a column like a transaction id or a row number...

and the use it in the Layout -> conditional show option...

something like below..

IF(Count(TxID) <= 1000000, 1, 0)

this will hide the entire table box object itself.. you might have to figure out what to show when the result exceeds 1000000.

hope that helps..

Not applicable
Author

It Works. the problem it was the sintaxis 

IF(Count([CUPS]) <= 100, 1, 0) <> IF(Count(cups) <= 100, 1, 0)

thanks!!