on 10-22-2013 8:37 AM
Hello,
I want to display a dimension value in a textfield. The dimension has only one value.
I tried to use a crosstab.
Startup:
TEXT_6.setText(CROSSTAB_2.getSelectedMember(
"ZCRM_EXPM").internalKey);
Result: textfield shows "All Members".
Any Idea ?
Thanks,
Stefan
Hope that helps. I I misunderstood please clarify.
Dirk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dirk,
I am so sorry to be replying to such an old message but I am having the exact same issue and the proposed solution does not seem to be working so I hope I can pick your brains just a litte bit please.
What I am trying to do:
I have a dimension filter that changes my crosstab selections [DS_1] based on an INDICATOR(key). I am trying to display in a text box a property (or attribute [UOFM]) for my dimension[INDICATOR]. My crosstab is made up of the following:
Indicator measure by Time and Version (actual and target). I am trying to get the Unit of Measure of the selected Indicator in a text box. This unit of measure is an attribute of my Performance Indicator. Since I am using BPC data, it can also be a stand alone dimension.
Based on your previous steps, some logic I have right now:
On Startup:
DROPDOWN_1.setItems(DS_1.getMemberList("UOFM", MemberPresentation.INTERNAL_KEY,MemberDisplay.key, 10));
This woks perfectly fine. It is now populated with the 4 Units of Measure that my indicators can have.
The next step is where I get stuck. My dropdown doesn't seem to want to change based on the selection made in the crosstab, it always stays at the first one.
On Event for Crosstab:
DROPDOWN_1.setSelectedValue(CROSSTAB_1.getSelectedMember("UOFM", internalKey);
And then of course, to populate the text:
TEXT_1.setText(DROPDOWN_1.getSelectedValue());
Any idea on how I can alter the second line of code to get the dropdown to change for it to pick up the UofM - the attribute - of the filtered Indicator?
Thank you so much for your time,
Nikki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.