Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
janvandernagel
Contributor III
Contributor III

Aggr(count) does not gif a result for every record

Hallo,

Ik heb een tabel met activiteitenrecords.

  • ActivityID
  • Bestuurder
  • Product
  • Looptijd

 

image.png

image.png

Ik wil de gemiddelde tijd per product, maar ik krijg alleen het juiste resultaat voor het eerste record.

Wat moet ik doen om hetzelfde resultaat in regel 2 en 3 te krijgen?

Bij voorbaat dank,

Jan

Labels (1)
1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try using Nodistinct in aggr(), like:

Aggr( Nodistinct Count(....

View solution in original post

2 Replies
tresesco
MVP
MVP

Try using Nodistinct in aggr(), like:

Aggr( Nodistinct Count(....

janvandernagel
Contributor III
Contributor III
Author

Thanks