How to pass Presentation Variable Value from Main Report to Detail Report
Hello,
I've 2 reports that is attached to each other. In my main report i've several report prompts and i am using i"s prompted" on my detail report to attach them.
But 2 of my report prompts are presentation variables(Names : FIRST, SECOND). Both are in date format. I've a filter in my main report like;
"ASSIGNMENTS_F"."EFFECTIVE_START_DATE" BETWEEN @{FIRST} AND {SECOND}
It works fine when i run the main report. But when i click on the numbers, i see that i can not filter my detail report with the chosen values for 2 presentation variables. It just shows all the dates.
I've tried adding both presentation variables in both reports as columns and adding 'is prompted' filter to them. But did not work either.
I just cant pass the written values for presentation variable prompts to detail report..
Please help :)
Hi,
What you can try is refer the filte condition in the main report to the detailed report with the option--> Filter based on another request.
Or you try creating another intermediate report which will refer the main report filters and pass the filters to the detailed report.
Hope this helps.
Regards
MuRam
Similar Messages
-
How to pass session variable value with GO URL to override session value
Hi Gurus,
We have below requirement.Please help us at the earliest.
How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
Please provide step by step solution.No vague answers.
I followed below steps mentioned.
RPD:
****-> Created a session variable called STATUS
-> Create Session Init block called Init_Status with SQL
select 'ACTIVE' from dual;
-> Assigned the session variable STATUS to Init block Init_Status
authenticationschemas.xml:
Added
<RequestVariable source="url" type="informational"
nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
Report
Edit column "Contract Status" and added session variable as
VALUEOF(NQ_SESSION.STATUS)
URL:
http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
Issue:
When I run the URL above with parameter EXPIRED, the report still shows for ACTIVE only. The URL is not making any difference with report.
Report is picking the default value from RPD session variable init query.
could you please let me know if I am missing something.Hi,
Check those links might help you.
Integrating Oracle OBIEE Content using GO URL
How to set session variables using url variables | OBIEE Blog
OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
Thanks,
Satya -
How to pass a variable value into a custom planning function via a web
Can some one tell me
How to pass a variable value into a custom planning function via a web template?
What are the different types of Planning function parameters available and what is the difference between them?
Thanks
babuHi Sutrtha,
Yeah I got the pop up asking to select the variables used, I have selected ENTITY_ID that was used by the interfaces, but on execution of the package the Scenario did not work as the passeed variable #ENTITY_ID is set to 0 instead of the value I am passing.
Am I missing something?
Regards
B -
Passing global variable values from databse to forms
I am using forms 6i and database is oracle 9i.
I am trying to run a form stand alone ( by pressing CTRL-R) without putting it in the application.
since when this form is placed in the application menu it works fine as it has been passed global variables values from the database .
now i am trying to run the form without menu and thus i want to pass the values of global variables .please let me know where should i pass these values in form .is it be WHEN-NEW-FORM-Instance trigger or in Pre-form trigger.
i know what are the global variable values passing into the form from database.
i can hard code any values to check if the form runs well or not.If you intend to do this sort of testing regularly you might want to consider creating a seperate form with a control block which allows entry of the name of the form you want to run, the names of the globals and their values, and do a CALL_FORM.
-
Passing variable value from main template to sub templates in BIP
Hi Gurus,
i am developing BI publisher report by calling different templates from the main template.
for example:
I have main template which calls three templates. my Main template code is like this
<?import:file:///C:/Temp/P1.rtf?> <?import:file:///C:/Temp/P2.rtf?>
<?import:file:///C:/Temp/P3.rtf?>
<?CALL: O1?>
<?CALL: O11?>
<?CALL: O111?>
<?CALL: O1111?>
<?CALL: O11111?>
<?CALL: P1FOOTER?>
PageBreak
<?CALL: O2?>
<?CALL: O22?>
<?CALL: O222?>
<?CALL: O2222?>
<?CALL: O22222?>
<?CALL: P2FOOTER?>
PageBreak
<?CALL: SUM1?>
<?CALL: SUM2?>
<?CALL: SUM3?>
<?CALL: SUMFOOTER?>
Now i am passing some parameter value to the main template, but i have to pass that variable value in all other templates.
I am getting parameter value in main template but not getting in other templates. Getting error BI generation failed
Please advise me.
Thanks,
JagYes i have declared my variable at main template but if i do the same declaration at subtemplates, then report not generating. So that i am thinking better to capture that value in variable from the main template then to sub templates.
I dont know is it works or not? Please see below
<?import:file:///C:/Temp/P1.rtf?> <?import:file:///C:/Temp/P2.rtf?>
<?import:file:///C:/Temp/P3.rtf?>
<?param@begin: Test;'default_value';'string'?>
<?$Test?>
<?CALL: O1?>
<?CALL: O11?>
<?CALL: O111?>
<?CALL: O1111?>
<?CALL: O11111?>
<?CALL: P1FOOTER?>
PageBreak
<?CALL: O2?>
<?CALL: O22?>
<?CALL: O222?>
<?CALL: O2222?>
<?CALL: O22222?>
<?CALL: P2FOOTER?>
PageBreak
<?CALL: SUM1?>
<?CALL: SUM2?>
<?CALL: SUM3?>
<?CALL: SUMFOOTER?>
Now i am passing some parameter value to the main template, but i have to pass that variable value in all other templates.
I am getting parameter value in main template but not getting in other templates. Getting error BI generation failed
Please advise me.
Thanks,
Jag
Edited by: user7498756 on Aug 16, 2012 9:59 AM -
How to pass Temp variable value instead of Table name in From clause.
Hi,
I have an requirement to pass the Temperorary variable value instead of Table name in FROM Clause in SQL.
But I am strugglint to pass this variable value.
E.g., a Varchar2(5) := 'aa';
Select * from a;
Here I come to mention a - 'aa'. But the SQL looks for 'a' as Table. But its should look into 'aa' as Table name.
Kindly guide me.
Thanks.SQL> declare
a varchar2 (5) := 'emp';
v varchar2 (100);
cur sys_refcursor;
begin
open cur for 'Select ename from ' || a;
fetch cur into v;
while cur%found
loop
dbms_output.put_line (v);
fetch cur into v;
end loop;
close cur;
end;
JAMES
SCOTT
SMITH
ALLEN
WARD
JONES
MARTIN
BLAKE
CLARK
KING
TURNER
ADAMS
FORD
MILLER
PL/SQL procedure successfully completed. -
How to pass presentation variable with enclosing single quotes
HI All,
As all of you know in 11g, Presentation variable can hold more than one value.So we can pass multiple values to the report through presentation variable.
If we select x,y,z values from prompt drop down,then those values will be stored like x,y,z in the presentation variable.
but I would like to store these values with enclosing single quotes like 'x,y,z'
The reason is I need to pass this variable value as input to BI Publisher sql dataset query where clause.
Please share your Ideas.
Thanks,
AravindAravind,
Check this
Predefined Presentation Variables in OBIEE 11G | Praveen&#039;s Blog -
How to derive a variable value from another variable of a different IO?
Hi Gurus,
I am aware that using BEx variables and Customer Exit you are able to derive a variable value from another variable of the same infoobject (for example, Fiscal Year/Period (0FISCPER) and Calendar Day (0CALDAY)).
However, is is possible, using the same approach to derive a variable value from another variable that is in a different InfoObject? (for example, Input Fiscal Year/Period (0FISCPER) but derive Output of Required Start Date (0REQSTDAT))?
There are 2 BEx variables involved,
1) A user entry variable that is restricted in 0FISCPER
2) A customer exit variable that is restricted in ZREQSTDAT
In CMOD under EXIT_SAPLRRS0_001, Include ZXRSRU01, the code (I assume, correct me if I'm wrong) should perform 3 functions in I_STEP = 2,
1) After the pop up, capture user entry of Fiscal Year/Period
2) Identify or convert Fiscal Year/Period to Calendar Day range (unsure on how to code this portion)
3) Use the Calendar Day to lookup on matching Required Start Date and display all Required Start Date that matches. (unsure on how to code on this portion)
Hope to hear your thoughts soon.
Regards,
EricHi Shanthi,
I've made the necessary adjustments. The only difference in my code is,
Instead of,
If I_VNAM = 'ZREQSTDAT'
I use,
CASE I_VNAM.
Instead of,
PARAMETERS: ZFISCPER TYPE /BI0/OIFISCPER.
ZYEAR = ZFISCPER(4).
ZMM = ZFISCPER+4(3).
I use ,
This is the Customer Exit Variable in ZREQSTDAT
WHEN 'ZRSD_CX'.
The loop I use for the User Entry Variable in 0FISCPER-ZFYP_IN
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'ZFYP_IN'.
IF SY-SUBRC = 0.
CLEAR L_S_RANGE.
ZYEAR = LOC_VAR_RANGE(4).
ZMM = LOC_VAR_RANGE+4(3).
The codes were checked with no errors.
However, when I input the Fiscal Year/Periods and hit 'Execute'. The report went blank, not sure what is the cause. I've tried it several times. No error message appeared.
Regards,
Eric -
How to pass presentation variable in column Fx using GO URL
Hi All,
I want to show a download link directly using go url .
In my dashboard prompt i am using some presentation variable .
those variables i am using in the report's column formula .
When i am applyning the prompt that it is not applying in the column Fx. so when i download the excell it shows same data for all the option choosen.
If anybody knows the syntax please help.
Thanks ...Hi,
Like this you can pass presentation variables to the columns using Go URL
'<a href=saw.dll?Dashboard&PortalPath=/shared/Test/_portal/Test%20KPIs&Page=Page1&Action=Navigate&col1="Dim%20Country"."Country%20Name"&val1='||'@{PV_Contry'||'>'||'Country'||'<\a>'
Please use backslash in anchor tag end. Since here it is not accepting I am using forward slash.
Thanks
Vino -
How to pass a Variable value into an ODI Scenario from ODI Package
I have created an Interface that uses the variable #ENTITY_ID for retrieving entity data from the DWH; now I have generated a Scenario from the interface and placed the Scenario in an ODI Package; am not sure how to pass the #ENTITY_ID variable to the ODI Scenario?
Any help is greately appreciated.
Best Regards
BeeHi Sutrtha,
Yeah I got the pop up asking to select the variables used, I have selected ENTITY_ID that was used by the interfaces, but on execution of the package the Scenario did not work as the passeed variable #ENTITY_ID is set to 0 instead of the value I am passing.
Am I missing something?
Regards
B -
In OBIEE 11g, how can you set a presentation variable value from javascript ?
I want to set up presentation variable from a javascript variable. Does anyone knows the workaround for this ?
SriniVEERAVALLI,
Thanks for your suggestions. I want to make a custom prompt that is only my requirement. From JS I have made a custom slider prompt now I want to use this slider prompt to pass selected value in presentation variable. Since, we have slider prompt only for numbers, I have to use it for other values.
I just want to make my post looks simple and focus on the specific problem.
Anyways, thanks a lot for taking time to reply. Appreciate your help. -
How can I pass a variable value from first jsp page to thired jsp page
In my program ,threr are three jsp pages . I want the first pages's variable value in to thired page .How can I acess.
I used the request.getparameter() ,but when I print the value , null value is getting .request parameters only last for one request.
To save them longer than that you need to save them somewhere.
Couple of alternatives
1 - store them to session
session.setAttribute("username", request.getParameter("username");
2 - create a hidden field on page 2 and store the value from page 1 there. When you submit page2, you can get it on page3 with request.getParameter again.
<input type="hidden" name="username" value="<%= request.getParameter("username") %>"> -
How to pass an integer parameter from main report to subreport?
I don't understand why this isn't working, but I have a main report with parameters:
StartDate=datetime,
EndDate=datetime,
Program=text,
ChartType=text.
In this RDL, I have a chart with Action configured on this bar chart series. The Action expression is:
="javascript:void(window.open('http://evolvssrs/ReportServer/Pages/ReportViewer.aspx?%2fIncoming%2fCensus+Report+Modifier&rs:Command=Render&rc:Parameters=true&StartDate=" & Parameters!StartDate.Value & "&EndDate=" & Parameters!EndDate.Value & "&Program=" & Fields!program_info.Value & "&ChartType=" & Fields!ChartType.Value & "','_blank'))"
(program_info is a FIELD uniqueidentifier value matching the value of the Program parameter).
So for this subreport, I have tried ChartType parameter as both integer and text, but each time i click on a bar from the main report, it opens a new window with ChartType field empty. But the other 3 parameters: Start Date, End Date, and Program are
all populated. Why is it doing this and how can I fix please?
Ryan DHi Ryan,
If I understand correctly, you have got empty in the ChartType parameter text box when you enable go to URL action.
In my test, if the value we pass to the subreport which is not include in the parameter available values, we would get the empty text box. Please check if it has the specific ChartType values in the subreport parameter available values.
Alternatively, please check if it has pass value to the subreport. We can add a parameter without available values and default values to check if it is can accept the Field ChartType Value from the main report.
Hope this helps.
Regards,
Alisa Tang
If you have any feedback on our support, please click
here.
Alisa Tang
TechNet Community Support -
How to pass the variable value to reports as a parameter
hi
i have facing a problem that i want to pass the value of a variable that i had calculate in a procedure like
SELECT nvl(BASIC_PAY,0) INTO v_basic FROM EMP WHERE EMP_ID=P_EMP_ID;
so i want to send the variable value v_basic as a parameter through form to report...and simlarly other variables values which i have calculate in procedure....
need ur help to solve this problem
thanks in advanceit's the exact posting from your last post. Please don't duplicate the postings, so that we can help you in one thread and not so many different threads
-
Unable to pass presentation variable value to Go url with narrative view
I am trying to use navigate option of Go URL. I have Dashboard prompt with presentation variable (pv)defined. I am able to see the pv value in compund view but unable to see in Narrative view. Any thoughts?
Check my blog entry here http://oraclebizint.wordpress.com/2007/11/26/oracle-bi-ee-101332-same-page-navigation-drills-and-passing-parameters/. It has an example.
Thanks,
Venkat
http://oraclebizint.wordpress.com
Maybe you are looking for
-
Need help optimizing the writing of a very large array and streaming it a file
Hi, I have a very large array that I need to create and later write to a TDMS file. The array has 45 million entries, or 4.5x10^7 data points. These data points are of double format. The array is created by using a square pulse waveform generator and
-
Why is the volume so low on my iMac when I'm using Safari?
Why is the volume so low on my iMac when I'm using Safari? On both my 2008 MBP and my new 2014 iMac 27" when I listen to the audio portion of a streaming video or news story using Safari, I can hardly hear anything. I have to crank the volume all the
-
SBO_TransactionNotification and Incoming Payments
Hello, I need to know the @object_type for Incoming Payments. What I need is to Have SBO_TransactionNotification grab all an incoming payments. I need to check if the payment was cash, check or credit and apply certain rules depending of the method
-
Federated Search without Query String?
I need to configure Federated Search for a URL having search text box & button. It does not provide a query string. Can I configure Result Source without Query String? (www.domain.com)
-
Ical events will not synch from iphone to macbook
Hello I'm from switzerland and have a Iphone 4 with software version 6.0.1 and a macbook pro version 10.6.8, so no iCloud available yet. I never had problem to synch my iCal via iTunes from iphone to my macbook but now it doesn't work. No error, noth