Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

QS Mashup - global filter

In a QS Mashup, I am bringing in charts from two apps but I do want a common filter (global) that drills into both apps charts. Is that possible?

2 Replies
Stefan_Walther
Employee
Employee

Hi aanjaria‌,

unfortunately this is not possible out of the box, you would have to create your own "listbox" or filterbox and then apply the selections to both apps programmatically.

Regards

Stefan

reddy-s
Master II
Master II

Hi Achal,

As Stefan has suggest you can do it by setting filter explicitly for the underlying apps on selection.

Use this code below to achieve it:

var app1 = qlik.openApp('<Name of the app>', config);

var app2 = qlik.openApp('<Name of the app>', config);

//On Selection

$("#id, .Class").click(function() {

            app1.field("[Field]").selectMatch($(this).text(), false);   

            app2.field("[Field]").selectMatch($(this).text(), false);    

        });