Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

Passing multiple values to detail report

$
0
0

Hi

Could you please help me on below scenario..

Report1 has below data and it has “Year” prompt

1.jpg

 

Report2 has City and Revenue data and it has Year and State prompts

 

Scenario is: when user click on any state in report1 then report2 should display for that state and whatever ‘Years’ selected in Report1 should also pass to the Report2

 

Below hyperlink is created on State in report1. It is working as expected, i.e. when user selects 2 years (for ex: 2004;2005) in report1 then same 2 years are passing to report2.

http://<Server>/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=xxxxxx&sType=wid&sRefresh=Y&lsSState=([State])&lsMYear=([varYear])

 

------ Formula for varYear in above link = Userresponse(“Year”)

 

If I am using the 'Year' object instead of variable (varYear) then data is splitting for each year and displaying like below.

http://<Server>/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=xxxxxx&sType=wid&sRefresh=Y&lsSState=([State])&lsMYear=([Year])

  2.jpg

 

I can’t use userresponse() because My report is on BEx query and as you know we should pass only ‘Key’and not the ‘Text’. And I can’t use ‘if else’ also like below to get the ‘Key’ values, because list is not static and user can select any values from the big list.

 

If(userresponse(“Material”)=”ABC”;”001”;if(userresponse(“Material”)=”ABC;XYZ”;”001;456”)

 

Issue is I need to pass multiple selected values in report1 to report2.

 

Could you please tell me why it is displaying correctly with variable and why it is not displaying correctly when using object ‘Year’ and is there any work around to display the aggregated data like below.

3.jpg

 

Thank you again,

Suri


Viewing all articles
Browse latest Browse all 5402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>