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

How to reproduce the same value of Average of Rows option using expression

I have a straight table with a sum formula as follows:

sum (distinct Table.Value)

Dimensions:

Table.ID and Table.Day

Using the ID and Day dimensions, and select the average of rows option I can get the average value i need. My question if I can get the same value of average of rows of this chart, using only an expression?

Regards.

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Well, i think i can get this value

=avg(Aggr(sum( distinct Table.Value),Table.Day))

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Well, i think i can get this value

=avg(Aggr(sum( distinct Table.Value),Table.Day))