on 10-18-2015 9:19 AM
Hi,
We have variable 'Test(X_TEST)' in BEx and when user selects values in prompt then I want to display its key values (Not Text) in report.-
it is displaying its text with Userresponse("X_TEST"), so i tried something like below.
=If(Userresponse("X_TEST")="TextA";"1001";If(Userresponse("X_TEST")="TextB";"2001"))
Above formula is fine if user selects single value, but user can select multiple values with any combination. So could you please help me how to handle this to display key values.
Thank you,
Suri
Hi,
ideally if you have key value object in the webi query then in webi report you will get the key values only based on the selection of user prompt values.
If you are displaying hard coded key values by variable in webi then use match function.
=If(match(Userresponse("X_TEST");"*TextA*")) then "1001"elseIf (match(Userresponse("X_TEST");"*TextB*" then "2001"))
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amt,
Thank you for your reply. We have the Detail object in query and it is showing based on selection of user prompt only. But I have an issue when I try to pass these multiple values by assigning that detail object
So I am looking for the workaround to get those multiple selected values using userresponse() to pass to the detail report. As mentioned I tried it with userresponse() for one selected value and working fine, I am getting issue (above thread) when I tried to pass the value using detail object as user can select multiple values.
I am happy if there is any solution to get the keys of user selected prompt values OR
if any solution for above mentioned thread.
Thank you again,
Hi,
I need the variable as whatever the values user selects in the main report then same values needs to pass the detail report (As we know we can only pass the key values, so if I assign the detail object then I am facing the issue which I mentioned in above thread and if I try to get the Keys from the user selected prompt values using userresponse() then I am unable to get all the keys).
Thank you,
Hello Suri Babu,
I just want to make it clear, you cannot pass multiple keys to detail report from your Master report on Bex keys. WebI on bex can only take 1 key and can pass one value. Correct me if I understood you wrong!
We are on 4.1 sp2 patch 5 and no we cannot pass multiple keys to detail report.
What does the detail object have in it(Keys?) from the user selection? If users selects inlist values "TEXT1" , "TEXT2" it correspoding keys would be "KEY1" , "KEY2".
Your detail object holds what?
Regards
Venkat
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.