on 2023 Oct 17 2:10 PM
Hello,
when I have an input control on my date dimension "Datum" with "Filter by Member" like below...
... I can set it's selected member with this code.
InputControl_5.getInputControlDataSource().setSelectedMembers("[Date].[H1].&[2023-09-13]"); // Note that my date dimension is user-managed and I have a default hierarchy H1
My question is how do I do it with a "Filter by Range" option. Here is what I do:
In optimized design mode, I created an input control on Date Dimension and of type "Filter by Range". Note: date dimension is of type User-managed.
Then I select the type as Fixed, granularity as Day and entered example values 12.09.2023 and 30.11.2023.
My goal is to change these dates to let's say 12.10.2023 and 31.12.2023 in the run time.
Given that my members have following characteristics which code should I use to do this?
description: "12 (W37-09/Sep/2023)"
dimensionId: "Date"
displayId: "2023-09-12"
id: "[Date].[H1].&[2023-09-12]"
Thank you
Ozan Cavusoglu
ozancavusoglu
ozancavusogluThe InputControl_5.getInputControlDataSource().setSelectedMembers() currently does not support range type values.
Br.
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please vote on below influence request where it is mentioned and maybe log a separate influence request:https://influence.sap.com/sap/ino/#/idea/286893
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
12 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.