Skip to Content

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

How to catch selected member value "Total" in Waterfall Chart to avoid the unknown error message

Hi experts,

I have two charts...

Chart 1 = Waterfall (inclusive "show Totals" setting); Chart 2 = Column Chart

In the Waterfall Chart I use the script "DS_2.setFilter("Dimension 1", CHART_1.getSelectedMember("Dimension 1"));

If I select the Member 1, 2 or 3 everything works fine...

If I select "Total" instead of a member...

The following "Unknown Error Message" occurs:

Is there a way (e.g. if-statement) to catch the selected member value "Total" in the Waterfall Chart to avoid such a error message?

A workaround is to add a "Panel" Component over the Total Column... to make the Total Column not selectable.

Many thanks in advance!

Best regards,


Former Member
Former Member replied

Hi all,

I´ve fixed the problem with the following if-statement

if (CHART_1.getSelectedMember("Dimension1").text != "Overall Result") {

     DS_1.setFilter("Dimension1", CHART_1.getSelectedMember("Dimension1"));


else {



So the error message is not showing if the user select the "Overall Result".  Instead  all the members of the dimension are displayed in the another component (e.g. chart).



0 View this answer in context

Helpful Answer

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