Hi all,
we are using DS 1.3 SP 1 on BOBI Platform 4.0 SP09.
I have a strange behaviour of a crosstab, which does not refresh when the setFilterExt() method filters on a range, which is not contained in the visible data. I would assume, that the crosstab actually shows "no data".
Here's the example:
The crosstab shows data for dates 14.08.2014 and 18.08.2014 according to the range filtered in the date selectors above.
Now, when I filter on range 01.11.2014 - 30.11.2014 - which would cause an empty result set - the crosstab does not change at all:
The filter works perfectly, when there is at least one date value from the crosstab that lies in the filtered date range.
I strongly assume, this is a refresh/rendering problem of the crosstab. I say that, because when I click on the magnifier symbol on the top right, a popup with a bigger crosstab referencing the same datasource shows up. And that crosstab actually shows "No data" for date range 01.11.14 - 30.11.14 as expected:
Here is the script from the "OK" button, which fires the filter command:
//process selections from the date fields var lv_start = DF_START.getDate(); var lv_end = DF_END.getDate(); //convert start to external format var lv_jjjj = Convert.subString(lv_start, 0,4); var lv_mm = Convert.subString(lv_start, 4,6); var lv_dd = Convert.subString(lv_start, 6,8); var lv_e_start = lv_dd + "." + lv_mm + "." + lv_jjjj; //convert end to external format lv_jjjj = Convert.subString(lv_end, 0,4); lv_mm = Convert.subString(lv_end, 4,6); lv_dd = Convert.subString(lv_end, 6,8); var lv_e_end = lv_dd + "." + lv_mm + "." + lv_jjjj; //set range var lv_range = lv_e_start + " - " + lv_e_end; //set Button invisible again BUTTON_CONT_RANGE_SEL.setVisible(false); //set filter for contacts date DS_KONTAKT.setFilterExt("C_KTABG", lv_range);
Any ideas how to solve this?