Skip to Content
0
Aug 31, 2023 at 01:12 PM

SAC Story - scripting - how to set/change selected member in the Dimension Input Control?

198 Views

Hi all,

I have Dimension Input Control in the Story, and I want to change the selected member using script.

I use it in Tables/charts.

Can you please help and tell me what am I doing wrong? Or it is not possible for Dimension Input Control?

And I need to use Variable (scripting) in chart instead of Dimension Input Control?

Thank you.

if (InputControl_Filter_Type.getInputControlDataSource().isAllMembersSelected())
   { 1 ;}
 else 
   { InputControl_Dimension.getInputControlDataSource().setSelectedMembers("Owner Region");
     Text_Test.applyText('Filter is not ALL');}