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: 
Anonymous
Not applicable

AGGR Function

I am trying to create a relative frequency using the AGGR function.  I have a snapshot of the data as it is exported to Excel.

I would like to divide each count by the total count for each product code.  All rows other than a randomly chosen row are showing up as missing.

aggr.png

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

=Count(AcctNum)/Count(Total <ProductCode> AcctNum)

Use Distinct if necessary..

View solution in original post

1 Reply
MK_QSL
MVP
MVP

=Count(AcctNum)/Count(Total <ProductCode> AcctNum)

Use Distinct if necessary..