Skip to Content
0

Clear Chart selection

Apr 13, 2017 at 08:35 PM

44

avatar image
Former Member

Hi Expert,

I have a chart with multi selection which is working fine, thanks for the community for the help.

I have clear button that will clear the chart selection (CHART_1.clearSelection()) as it suppose to do but it also add the (ALL_MEMBERS) after the clear.

So next time, if i select the member value in graph, my selected values are adding next to the ALL_MEMBERS which make filter not working.

I looked below SCN post, Mustafa mentioned couple of workaround but nothing worked for me.

Below is the screenshot of my second selection after clear filter.

screenshot.jpg (33.2 kB)
10 |10000 characters needed characters left characters exceeded

Hi - it would help the community if you could share the links that Mustafa referenced.

0
Former Member

Sorry, forgot to add the link.

Below is the link

https://archive.sap.com/discussions/thread/3935984

0
Former Member

Issue is fixed.

i added the below code in chart selection that will replace the ALL_MEMBER to null and the proceeding code worked fine.

I still get error "Input "(ALL_MEMBERS)" for Country Code has an invalid format" but the dashboard worked as normal.

If anyone have solution to fix the error, that would be great otherwise i just have to ignore the error.

if(Var_Chart=="(ALL_MEMBERS)")

{ Var_Chart =""; }

0
* Please Login or Register to Answer, Follow or Comment.

0 Answers