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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Oskar_vl
Partner - Contributor II
Partner - Contributor II

Avg Rank Aggr Sum for the Average of Ranks

Hi,

is it posible to take the average of ranked values.

This doesn't work:

(The light itself works fine, it is the Rank column in the picture)

avg(
Rank(aggr((sum(Value1)/sum(Value2))
,Dim1,Dim1,Dim1),4,2)
)

This I need:

image.png

Best regards

5 Replies
sunny_talwar
MVP
MVP

May be this

Avg(TOTAL <Dim1> Aggr(
    Rank(Sum(Value1)/Sum(Value2))
, Dim1, Dim2, Dim3))
Oskar_vl
Partner - Contributor II
Partner - Contributor II
Author

Unfortunately not

without the <Dim1> I get a result but the wrong one.
 

And when I insert the Rank parameters ",4,2" there is again no result.

sunny_talwar
MVP
MVP

Would you be able to share a sample where we can see the issue?

Oskar_vl
Partner - Contributor II
Partner - Contributor II
Author

I am sorry, I can't share the data.

sunny_talwar
MVP
MVP

no problem