Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Identify selected values in dimension filter

Hi all,

I have a dimension filter on screen based on DS1 and a chart based on DS2.


I need to filter DS2 according to values selected in the dimension filter.


I used DS1,getFilterExt but I noticed that DS2 was not filtered correctly, so I guess that the reason is that I only get one value when using the getFilter.

Therefor, I was trying to look for a way of getting all values selected in the dimension filter and save it to an array, then I can use the array to filter DS2.

Any ideas?

Thanks,

Hagit

Former Member replied

Hi Hagit,

Could you please explain why you think the Dimension Filter is not filtering the values right? Have you set the Data Source and Target Data Sources right?

If you wish to view what values are being filtered, use the following script in the Dimension Filter:

var arr=DS_1.getFilterExt("<Dimension name>");

APPLICATION.alert(arr);

The variable arr would hold the values of all the members that are being filtered.

Hope this helps.

Regards,

Anuraag

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question