cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Analytics Cloud Optimize Story - How to reset input control range date filter

mturan
Participant

Hello Experts,
I want to reset the input control, but I could not find a command for this. I use 0CALDAY. It selects data between certain dates, but I am looking for a function that can select all value ranges from the beginning to the end, but I could not find it.

InputControl_1.getInputControlDataSource().setSelectedMembers("");
//reset all

InputControl_1.getInputControlDataSource().setSelectedMembers(["APPLE","BANANA"]);
//select only some filter

This selection doesn't work for me.

 

View Entire Topic
N1kh1l
Active Contributor
0 Kudos

@mturan 

May be you can try the below API

setAllMembersSelected
setAllMembersSelected(): void
 
Selects all members on the input control. Note: Not supported for excluded members, range filters and advanced filters.

 

Hope this helps !!

Nikhil

mturan
Participant
0 Kudos

Hello N1kh1l,
Thanks for the reply. It doesnt work for me this function. 

 

It SaysInput Filter 2.png

 

Input filter1.png

 


The method setAllMembersSelected doesn't work as it's not supported for time filters.

mturan
Participant
0 Kudos
Hello Nikhil,