Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
samuel_brierley
Creator
Creator

Total count


Hi can someone lend some hep,

Im looking for an expression that will count how mnay times an address occurs in a set of data,

=count([device address] )

=count(total([device address]))

both give the same number which is a count of how mnay times that address is found in the row which obviosuly is just one

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

count( total [device address]) will show the total number of addresses that are possible with the current selections.

If you want to ignore selections you need count({1} total [device address])

See this blog post for more information: The Aggregation Scope


talk is cheap, supply exceeds demand
gines_rueda
Contributor III
Contributor III

Could you try with this ?

=COUNT ( DISTINCT [device address] )

Sokkorn
Master
Master

Hi Samuel,

Did you try this yet:

=count(TOTAL [device address]) OR

=count({1} [device address])

Regards,

Sokkorn

Not applicable

if you try this

=count([device address] ) //  then this code also count the duplicate value

=count(total([device address]))  // then this code  also count the duplicate value on selection

if you try this

=count( distinct [device address] )    //then this code count only distinct value

=count(distinct total[device address] )    //  then this code count only distinct value on selection