Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

clusterizing data by group quantity

Hi everyone,

I am experiencing the following problem. I have a table with the fields ID, GROUP, X, Y. I want to create a calculated dimension that, for each single record (identified by the key ID), must have the value 'A' if the ratio of the average of X and with the average of Y done over the GROUP of membership of the record is equal or greater than 1; 'B' otherwise.

I have tried different ways but with no success. Does anyone have an idea on how to do that?

Thank you in advance,

Valerio

0 Replies