Use the Aggr function with variables to create dynamic groups in a simple way.
You can download the QVF created in this video in the link below:
https://drive.google.com/file/d/1jfVt...
or
https://approbato.com/files/Variables...
Find more Qlik tips in the channel or at http://approbato.com/blog/
Linkedin: / guilhermeapprobato