Quantcast
Channel: SCN : All Content - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4216

Cascading filters not working in Design Studio with Universe

$
0
0

Hi,

 

I am trying to create cascading filters in Design Studio 1.2.

 

I have one data source

DS_P2 which returns two measures:

(product code)

(investment code)

 

2 drop down boxes:

PRODUCTCODEDROPDOWN_2 (product code)

DROPDOWN_1 (investment code)

 

1 crosstab component (to display DS_P2)

 

Connecting to a BO Universe, Single Connection, relational SQL database

 

Script On Startup:

 

//To populate the product dropdown list & Set default value

PRODUCTCODEDROPDOWN_2.setItems(DS_P2.getMemberList("_Rd3rMcNtEeOlu9zFKasaVQ", MemberPresentation.EXTERNAL_KEY, MemberDisplay.TEXT, 50,"All"));

 

PRODUCTCODEDROPDOWN_2.setSelectedValue("All");

 

//To populate the Investment dropdown list & set default value

DROPDOWN_1.setItems(DS_P2.getMemberList("_9HY_4cBvEeOMbdZh-4RtVw", MemberPresentation.EXTERNAL_KEY, MemberDisplay.TEXT, 50, "All"));


DROPDOWN_1.setSelectedValue("All");

 

"On Select" script for PRODUCTCODEDROPDOWN

 

//Filter data set P2

DS_P2.setFilterExt("_Rd3rMcNtEeOlu9zFKasaVQ", PRODUCTCODEDROPDOWN_2.getSelectedValue());

 

//Re-populate the Investment dropdown list & set default value

DROPDOWN_1.setItems(DS_P2.getMemberList("_9HY_4cBvEeOMbdZh-4RtVw", MemberPresentation.EXTERNAL_KEY, MemberDisplay.TEXT, 50, "All"));

DROPDOWN_1.setSelectedValue("All");

 

 

The image below shows that the second dropdown box is not filtering correctly based upon the selection made in the first drop down box, the second box should display list, E_CASHUP, E_GWROTH, E_STABLE, S_GROW_ACT,ZZZZZZ, P_BAL_IDX

 

 

Cascading Filter issue.png

 

 

Does any one know if there is a limitation to creating a cascading filter when using universes?

 

Am I doing something wrong?

 

ARRRGGGHHH any help appreciated


Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>