I'd like to upgrade my last post to bug status (not sure if Qlik has a bug reporter somewhere?)
Here is a simple outline of the problem.
1) table "MEM" in memory with key "K", table "DD" Direct Discovery with dimension "K" and value "V"
2) Extension which prints out number of selected rows and is passed in "K" as the dimension and "=1" as the measure.
If I select a subset of keys "K" in either a table or chart then:
1) in QlikView client, the extension is passed the selected keys in this.Data.Rows
2) on QlikView server, the extension is passed ALL the keys that are in the DD database and not just the selected keys.
If I change the DD to in memory, everything works properly