Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
cinthya-er
Contributor II
Contributor II

Account by average result

Hello,

I am facing a nesting problem, I have an application where I need to get the project account given the percentage obtained from an average of their interviewees, each project has a one-to-many relationship and the project count will depend on the average of each Project (From interviews).

I leave the example:

This is a graph with the Projects dimension

Picture1.png

To get the account of projects by color is necessary to get the average rating by average and depending on the range make an account and get by rank the percentage.

=COUNT(DISTINCT {<Aggr(Avg([Rating]),Proyect)={">=0.9"}>}[Proyecto)

My formula is not working.

Picture2.png

I hope you have already faced something similar and can help me to solve this small setback.

Regards!!

Cin ER

2 Replies
sunny_talwar

May be this

=Count(DISTINCT {<Proyecto = {"=Avg([Rating]) >= 0.9"}>} Proyecto)

cinthya-er
Contributor II
Contributor II
Author

Thank you very much, I did not know that it could be evaluated within a set analysis, you saved my life