That's the way it works, selections are made in one app. If you want them to be coordinated between apps you need to write some code for that. Alternatively merge the two apps and Qlik Sense will take care of it for you.
1. Classify one app as primary and another app as secondary.
2. Show the filter component from the primary app that has the common filters
3. add listener to listen to the selection event
4. In the listener, pass the selection values to the secondary app
What you will lose? selection on chart objects from secondary app will not reflect on the primary app. We negotiated with customers to make selections from the filter components and disabled selections on those chcarts
What you gain? No overhead of writing custom filter components and hence no worry about performance.
Please check it out. Its made using the Help desk Management qvf which is one of the default apps with Qlik. So you will not have any issues testing it out. There is a detailed explanation of the code as well.
If you do not want to disable chart selections, then you have to build custom filter components.
Basically you need to listen to selections in one app, probably using ListObjects. When the contents of the ListObjects change, you need to make the corresponding changes in the other app. You can do that with field.select.
I assume that you only allow selections in one of the apps. If you transfer selections in both directions, it's much more complicated.
I replaced the "valArray.push(value.qName);" line inside the listener function and at first it worked.
But if i select a text and then i select a number the filter seems dont recognize the number. Or if i select a number and then a text, the filter dont recognize the text. This also happens when i make two text filters in a row.
If i go to code line, change something(can be a comma) and save, the app starts to recognize the filters...