cancel
Showing results for 
Search instead for 
Did you mean: 

How to filter 2 Dimension on DS with script code

Former Member
0 Kudos

Hi experts,

coming from a discussion:

I found necessary to open new discussion.

I have the following scenario:

I got a pie chart showing indicator for one dimension coming from BW DS.

I have DS initialized with:

On Column

Indicator -> Oportunity_mesure

On Row

Dimension -> type_dimension

In the dashboard, I need to filter this pie chart with Year/month and Representation Dimensions.

so on startup I script the follow:

DS1.setFilter("0CALLMONTH",varMonth);

DS1.setFilter("ZCREP",varRepr);

What I'm seen is that I don't get both filters on chart values. Is there a limitation? how can I solve it?

Thank you very much

Accepted Solutions (0)

Answers (1)

Answers (1)

MustafaBensan
Active Contributor
0 Kudos

Hi Oscar,

Your scenario is definitely possible and both filters should be retained.  Can you share the code where you populate the value of the variables varMonth and varRepr?

Thanks,

Mustafa.