You could solve it by using extensions. You could look around at Qlik Branch to see if there is an open source project that fills your need or you could look at the VizLib package, their filter object could maybe help you: https://www.vizlib.com/filter/