SAP BusinessObjects Design Studio
Release 1.6 SP1 Patch 2 (Version: 16.1.2)
Source: Relational database, thru UNX
In my application I have 1 chart, 1 scorecard and 1 KPI to report
1. KPI = "# of Key Products"
2. chart: treemap of products (sales and # customers as two metrics by product required to plot treemap)
3. scorecard - product scorecard with each row representing one product
2 filtering actions:
click on multiple products (one by one) in treemap and then filter the scorecard on each selection.
also user can click on KPI ("# of Key Products") and the scorecard will clear all exisitng filters and shows all key products.
Issue:
when i make a selection of products on treemap (1 or more), my scorecard filters accoridngly. Now when I try to click on KPI, I'm able to clear all filters on scorecard query and apply new filter to show only Key Products. however the previously selected products on treemap as still showing up as selected. I wanted to clear all the selections on the treemap when ever user clicks on KPI and thus tried using the below code:
chart.clearSelection();
DS_Scorecard.clearAllFilters();
DS_Scorecard.setFilterExt(product, vKPIProducts);
When I test this using the below steps:
1. run the application
2. select a product on treemap (the scorecard shows only that product)
3. clicked the KPI number, then the treemap clears the selection done; the scorecard gets filtered to show the key products but almost immediately the scorecard again refreshes and shows all products. This last unwanted step i guess is caused by "clearSelection()" call but if I do not use it then I cannot clear selection on the treemap.
I checked below links and some more in SCN but couldnt slove my issue.