Drill Down Report/ Multiple Prompts During runtime
Using XML publisher can I prompt the user twice during run time? For example:
1) Enter your business id
then based on the input, give user list of all depts under that business id.
2) User selects the dept id from the list which would trigger the actual report.
Can this be made possible using the delivered functionality and user interface?
Thank you
Hi
1. This can be done, check the user guide for cascading parameters.
2. This can not currently be done. Your user would select their business id, then deprt (based on business id) then hit View to run the report
Its an extra click but not an onerous one, the user is focussed up on the parameter area anyway. IF you have a burning business case please log a TAR and ask for an Enhancement Request against product 1479 and we can look into it.
Regards, Tim
Similar Messages
-
Drill down Report with Prompts
I need to create a simple dashboard report in OBIEE analytics, which takes user inputs ( prompts ) for a YEAR , STATE ( & hierarchy) and displays Population
State Hierarchy is ---> State -- City --Zip code
Format of report is simple
User Input ( Section 1 )
Year = Year123 ( Mandatory)
State = State 1 ( Optional )is
City = City1 ( Optional ) ( State will be mandatory as this drop down gets populated from State value
Population Report ( This should be initial view with a given Year input and any othe optional ones ) Section 2
Sate
Population
+State 1
323222
+State 2
4343434
And drill down on State should be feasible
Questions & Issues I am facing
1 Do i have to create a dimensional hierarchy Column at Presentation layer to enbale drill down . I have the related data in 2 dimension tables ( Time & Region ) and the relation in Population Fact table
2 ) If yes , how do i pass user prompts to this report ... I was able to do using selection step for the state ..But not able to pass the City and Year
3 ) Year is not part of Report Display ..but an input ..How do i use the prompt for it .
i was able to get the report in simple table format ( no drill down ) , with prompts using isPrompted ..But i am lost with the Dimensional Hierarchy + Prompt .
4 )Is Dimensional Hierarchy needed for Drill Down ? How do i pass all the user inputs ( as above ) to it
Please suggest if there is any alternativeThe problem is with drill down . We need two types of drill down action link . One for 'All' to show all values and another is for 'Y','N' values. I can use go url for this scenario however, I am using chart and the column is a measure, I cannot make the data type html otherwise chart will be blank. I cannot use condition in the first drill down as it does not show 'All' values from union. only 'Y','N' .
-
Drill down report ... prompt in last level
Hai,
can you please send solution in obiee 10g .. I have drill down report like year---qtr----month----day----. I want prompt in day level .. is it possible?
Appreciate your help....
Thanks Mikky99Hi Srini thanks,
Also I need to capture the particular days in month report like year(2002)-----month(feb2002) ----- day (1-Feb-2002) in day level rep with prompt...
Thanks in Advance -
Multi-Use Drill Down Reports?
Hi,
I'm just starting out with reporting in SSRS so this may be a silly question but I'm struggling to find a way to do what I want :)
I have a large graphical report with several top 10 reports on different a cube. (eg. top 10 number of events, top ten numbers of computers affected)
I want drill down reports for both the Event Name and Computer Name, also to be able to click on the header of the report and get a complete unrestricted report. I have created a drill down report that has all the data and if I choose one item (say computer
name) I can drop down to the drill down and filter the table in that with the computer name and return any results for that computer. I cant figure out how to have a secondary link that passes a wildcard to returns all results. I'd also like to have the ability
to send an event name to the same drill down and a wildcard for the computer name. However I cant figure out how to get the filter on the table to accept any wildcards.
I dont want to have to create multiple reports for each of the different drilldowns, is this possible? (Easy to understand answers for a newbie if possible :) )Hi Chris_C2000,
If I understand correctly, you have configure “Go to report” action in your report. It is Drillthrough in SSRS. You want to pass a value link to the corresponding report. We can add parameters in the drillthrough report, then pass parameters values to the
report.
I have create a simple report in my test environment. Suppose we have the same dataset (DataSet1) in main report and subreport with two fields: CalendarYear, SalesAmount. Please refer to it.
Subreport:
Add a table in the report body, fill with CalendarYear, SalesAmount fields.
Add another dataset (DataSet2) with CalenderYear field.
Add a parameter (CalenderYear) get Available Values from DataSet2 CalenderYear field.
Add filter in the DataSet1, with values below:
Expression: [CalenderYear]
Operator: =
Value: [@CalenderYear]
Main report:
Add a chart in the report, fill SalesAmount in the Values dialog box, CalenderYear in the Category Groups dialog box.
Right click the bar in the chart, click Series Properties.
Click Action in the left pane. Select “Go to report” option.
Select the subreport below “Specify a report” prompt.
Click Add icon below, and fill with following values:
Name: CalenderYear Value: [CalenderYear]
Then, when we preview the report, we can click the specific bar link to the subreport get the corresponding data.
Reference:
http://technet.microsoft.com/en-us/library/aa337477(v=sql.105).aspx
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
Drill down report without using heirarchies in OBIEE11g
Hi,
Can we create multiple column drill down report without using hierarchies in OBIEE11g?
Kindly let me know the solution.
Thank you!
-HarshithYes, It can be done, but for each drill level you will require one seperate report. Drilling can be achieved using OBIEE Report Navigation.
For eg. If I have to create a drill report which starts from Year and goes to QTR and then to Month level. That means I have to create 3 reports.
1. A year report which will have report data at year level (Consider Year, Product, Order_QTY and Order_Amt are the columns)
2. A QTR report which will have report data at Qtr level. This report will have Year column in filter section as IS PROMPTED (Consider Qtr, Product, Order_QTY and Order_Amt are the columns).
3. A Monthly report which will have report data at Month level. This report will have Year, Qtr column in filter section as IS PROMPTED (Consider Month, Product, Order_QTY and Order_Amt are the columns).
Then we can go to Yearly report and put the OBIEE navigation on Year column and our target report will be QTR report. Similarly in Qtrly report put the OBIEE navigation on QTR column and our Target report will be Monthly report.
This way you can impliment drilling without hierarchy.
For step by step see below URL:
http://www.askjohnobiee.com/2012/07/how-to-drill-through-guided-navigation.html
Appriciate if you can mark Correct.
Thanks,
Kashi
Edited by: K N Yadav on 4 Jun, 2013 10:27 PM -
Passing Filter criteria parameters to drill-down reports
Hi,
I have a scenario, where my base report prompts a filter criteria for date range (from & to date) based on this criteria, I populate my base report with data's.
Suppose if i have a drill-down, can i make use of the filter criteria value selected in the base report and pass the same value to my next-level drill-down report as criteria.
Please let me know if this is possible. Also, let me know if there is any alternate approach available to achieve the same.
My environment details are provided below.
BAM (11.1.1.3)
Report: Summary crosstab
Any help would be greatly appreciated.
Thanks & regards,
DKHi pypawar,
Thanx for ur reply.
We are not using heirarchical drilling in our case, we are using another report for drill-down.
I will give some more background for this issue.
We have a scenario where we used the date filter for getting the from and to dates based on which we display our Master report (cross-tab).
Further, when drilling down from the master report to child report(which uses the same dataobject as master); we are not able to pass the dates input that were provided in master report as filter criteria.
While assigning parameters in the drill-down for the child report, we are not able to find an option to pass the date value selected in the master report to child report for filter criteria.
In an alternate approach, what we did to resolve the above issue was to pass the primary key fields of the data object while drill-down. But while passing primary keys, we realised there are cases where large number of values are getting passed as filter criteria to child reports and in some case it fails since there large number values getting passed as filter criteria.(in our case the chance of this value could be few 100's to 1000's). You can find details for this error in CACHEEXCEPTION during drill-down in BAM reports
Please let me know if this is possible. Also, let me know if there is any alternate approach available to achieve the same.
Any help would be greatly appreciated.
Thanks & regards,
DK -
Drill Down Report using Crystal reports in eclipse and jspviewer
Hi
I want to understand how to write a drill down report since I have a requirement for my project, so I tried to run the sample drill down.rpt that is available with Crystal Reports 2008 Complete Reference book by George Peck.
I can see the results correctly( i.e. can drill down) in the preview tab . Since I am working inside the eclipse, the way I run the reports is first "Create report viewer JSP" by right clicking the report and have a url mapping to this jsp. I am running the reports from a hyperlink that maps to the url which will launch the jsp.
the jsp is:-
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="ISO-8859-1" %><%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %><crviewer:viewer reportSourceType="reportingComponent" viewerName="Drill Down-viewer" reportSourceVar="Drill Down" isOwnPage="true" allowDrillDown="true">
<crviewer:report reportName="reports/Drill Down.rpt" />
</crviewer:viewer>
The one that was created by "Create report viewer JSP" did not had "allowDrillDown" attribute at all .But I added it since it isnt working.
So when I launch my web app and click on the link to run the report, I get the report results but only to the summary level. When I double click the summary level I get a 404 error page.
Can please anyone suggest what is going on.
Thanks
poonamOk. So, you added the report to the project. Now we have to add the CR assemblies to the project, add the viewer (if need be) and fire it off. Simplest code would be:
Public Sub New()
' This call is required by the designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
CrystalReportViewer1.ReportSource = ("path to report")
End Sub
In this case you are using the viewer SDK to runt he report. The report will prompt for any logon parameters - but you can code these also. You can load the report via the engine as bellow. Again, the report will prompt. I prefer to use the engine as it is way more "extensible"...
Public Sub New()
' This call is required by the designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
crReportDocument.Load("path to report")
'Bind the report to the viewer
CrystalReportViewer1.ReportSource = crReportDocument
End Sub
If you have a report added to the project (strongly typed) the code would be:
CrystalReportViewer1.ReportSource = New myReport()
For more details, I'd recommend looking at the sample app vbnet_win_simplepreviewreport.zip available from the following location:
https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
The developer help files are here:
[SAP Crystal Reports .NET SDK Developer Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_dg_2010_en.zip]
[SAP Crystal Reports .NET API Guide|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_api_2010_en.zip]
- Ludek -
Set headers for drill-down reports.
Hi!!!
The problem we have by now is when printing a report, selected characteristis are showed in header as "multiple values" instead of showing the real values that user have choose.
Does anybody knows how to set headers for drill-down reports in order to see selected characteristics?
Thanks in advance...
Adela Cambiasso.Sorry, me again...
I have found yet they way to show in the header the report parameters, I mean, the selection criterias that user used when execute the report... I was able to show selected characteristics inside de report but not the selection criteria...
Do you know what I have lost? or what to use for this?
Thanks again.
Adela. -
I have a drill down report that runs with no problems on reports
runtime. When deployed on the web (we are using the Web CGI
interface) the report runs and is displayed in the browser in
Acrobat as it should. However, the button for the drill down is
not available - it shows on the screen but is not pushable.
Is there any work around for this?
Thanks
PAUL
nullHi,
You can use the srw.set_hyperlink to create a link or the item you want to have the drill down report , in the properties in the hyperlink property specify the Link.
In web button's don't work.
Hope it helps. -
Drill-down reports Discoverer-style
Hi,
I'm looking for a way to implement drill-down reports in HTMLDB. All the references I found are showing details in a 2nd page for a certain row in the 1st page (e.g. ordered items for an order ID).
I'm not looking for this, but for drill-down "a la Discoverer", such as this example
http://www.oracle.com/technology/obe/obe_bi/discoverer/discoverer_1012/viewer/lesson1.htm#t7
One can select there multiple criterias for drill down.
Perhaps the solution would be a combination of tree reports with standard reports
http://www.oracle.com/technology/products/database/htmldb/howtos/howto_tree.html
but I don't see clearly how to do it, especially with a lot of drill-down options.
Do you have any suggestions?
Many thanks,
MariusI think there are two differen approaches:
- using the HTML report and doing some "dynamic" SQL at the block level
(That means you have to write the drill down - this is the logic that
is done by the tree - by yourself)
If you ever have done the work to do this in combination with a HTML DB report,
please post it here.
- using the a Tree Page with a special layout and view
Which one to use depends on how often you have to use this.
You can see an example under:
http://htmldb.oracle.com/pls/otn/f?p=41053:30
Here is a quick hack for the Tree Page variant, that may help you.
Using a Tree page uning a view and changing the tree template gives you some of
this functionality. If you have to do more of this kind use a stylesheet (.css) to
controll the layout.
1. Create a View that represents your Hierarchy (Structure)
For every level create a UNION secion.
Using UNION you can get the records from different sources also.
2. Create a Page with a Tree, SQL Query Based.
Use the View that you created before.
NAME .. are the levels of your dimensions
A1, A2 .. are your measures of your fact
ID, PID .. the hierarchy (structure) information
* Step 1 - creating a view:
create or replace view tree as
select id, pid, name, link, a1, a2
from (
-- Level 1 (Root Level)
select
to_char(ORDER_TIMESTAMP,'YYYY') id, null pid,
to_char(ORDER_TIMESTAMP,'YYYY') name, null link,
to_char(sum(ORDER_TOTAL),'999G9990D99') a1, to_char(count(*),'999G9990D99') a2
from DEMO_ORDERS
group by
to_char(ORDER_TIMESTAMP,'YYYY'),
to_char(ORDER_TIMESTAMP,'YYYY')
UNION
-- Level 2
select
to_char(ORDER_TIMESTAMP,'YYYYMM'), to_char(ORDER_TIMESTAMP,'YYYY'),
to_char(ORDER_TIMESTAMP,'Month'), null,
to_char(sum(ORDER_TOTAL),'999G9990D99'), to_char(count(*),'999G9990D99')
from DEMO_ORDERS
group by
to_char(ORDER_TIMESTAMP,'YYYYMM'), to_char(ORDER_TIMESTAMP,'YYYY'),
to_char(ORDER_TIMESTAMP,'Month')
UNION
-- Level 3 (Leaf Level)
select
to_char(ORDER_TIMESTAMP,'YYYYMMDD'), to_char(ORDER_TIMESTAMP,'YYYYMM'),
to_char(ORDER_TIMESTAMP,'DD. Day'), null,
to_char(sum(ORDER_TOTAL),'999G9990D99'), to_char(count(*),'999G9990D99')
from DEMO_ORDERS
group by
to_char(ORDER_TIMESTAMP,'YYYYMMDD'), to_char(ORDER_TIMESTAMP,'YYYYMM'),
to_char(ORDER_TIMESTAMP,'DD. Day')
)If you have a lot of this kind of reports you realy should think to
use discoverer. It does a lot of sql behind the szenes and also in the
presentation logic - this is what you have to do here by hand.
If you have more than two measures (A1,A2) you can do the
formatting in your view (realy ugly, but it is a workaround).
* Step 2: Create the tree page
Tree Query:
select
"ID" id, "PID" pid, "NAME" name,
null link, a1 a1, a2 a2
from TREEBefore Tree:
<table border="0" cellspacing="0" cellpadding="0">After Tree:
</table>Leaf Node:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" align="left">
</td>Leaf Node Last:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" align="left">
</td>Drill Up:
(up)Indent Vertical Line:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" > </td>Indent Vertical Line Last:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" > </td>Unexpanded Parent:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" >
< a href="#DRILL_DOWN#">
< img src="#IMAGE_PREFIX#rollup_plus_dgray.gif" width="16" height="22" border="0">
< /a>
</td>Unexpanded Parent Last:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" >
< a href="#DRILL_DOWN#">
< img src="#IMAGE_PREFIX#rollup_plus_dgray.gif" width="16" height="22" border="0">
< /a>
</td>Expanded Parent:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" >
< a href="#DRILL_DOWN#">
< img src="#IMAGE_PREFIX#rollup_minus_dgray.gif" width="16" height="22" border="0">
< /a>
</td>Expanded Parent Last:
<td style="background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #cece9c #9c9b64 #cece9c;
border-width:1px 0px 1px 0px;" >
< a href="#DRILL_DOWN#">
< img src="#IMAGE_PREFIX#rollup_minus_dgray.gif" width="16" height="22" border="0">
< /a>
</td>Parent Node Template:
<tr>#INDENT#
<td style="color:#00319c; background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #9c9b64 #9c9b64 #cece9c;
border-width:1px 1px 1px 0px;" colspan="#COLSPAN#"
valign="CENTER" class="tiny">#NAME#</td>
<td align="right" style="background:#f7f7e7;">#A1#</td>
<td align="right" style="background:#f7f7e7;">#A2#</td>
#DRILL_UP#
</tr>Node Text Template:
<tr>#INDENT#
<td style="color:#00319c; background:#cece9c;
border-style:solid;
border-color:#f7f7e7 #9c9b64 #9c9b64 #cece9c;
border-width:1px 1px 1px 0px;" colspan="#COLSPAN#"
valign="CENTER" class="tiny">#NAME#</td>
<td align="right" style="background:#f7f7e7;">#A1#</td>
<td align="right" style="background:#f7f7e7;">#A2#</td>
</tr>Name Link Anchor Tag:
< a href="#LINK#">#NAME#</a>Name Link Not Anchor Tag:
#NAME#* Extended Version of the View. Use this style of query if you have more than two measures:
create or replace view tree as
select id, pid, name, link,
'<table border="0" cellspacing="0" cellpadding="0" style="background:#f7f7e7;">'||
case when rownum = 1
then '<tr style="background:#cece9c;">'||
'<th style="border-style:solid; border-color:#cece9c #9c9b64 #9c9b64 #f7f7e7; border-width:0px 1px 1px 1px;">Amount</th>'||
'<th style="border-style:solid; border-color:#cece9c #9c9b64 #9c9b64 #f7f7e7; border-width:0px 1px 1px 1px;">Orders</th>'||
'<th style="border-style:solid; border-color:#cece9c #9c9b64 #9c9b64 #f7f7e7; border-width:0px 1px 1px 1px;">Measure</th>'||
'<th style="border-style:solid; border-color:#cece9c #9c9b64 #9c9b64 #f7f7e7; border-width:0px 1px 1px 1px;">Measure</th>'||
'</tr>'
end||
case
when lvl = 2 then '<tr style="color:#000088;">'
when lvl = 3 then '<tr style="color:#888888;">'
else '<tr>'
end ||
'<td align="right" width="80px" height="24px" style="background:#f7f7e7; border-style:solid; border-color:#9c9b64 #9c9b64 #f7f7e7 #f7f7e7; border-width:1px 1px 0px 0px;">'||
to_char(a1,'999G9990D99')||'</td>'||
'<td align="right" width="80px" height="24px" style="background:#f7f7e7; border-style:solid; border-color:#9c9b64 #9c9b64 #f7f7e7 #f7f7e7; border-width:1px 1px 0px 0px;">'||
to_char(a2,'999G9990D99')||'</td>'||
'<td align="right" width="80px" height="24px" style="background:#f7f7e7; border-style:solid; border-color:#9c9b64 #9c9b64 #f7f7e7 #f7f7e7; border-width:1px 1px 0px 0px;">'||
to_char(a3,'999G9990D99')||'</td>'||
'<td align="right" width="80px" height="24px" style="background:#f7f7e7; border-style:solid; border-color:#9c9b64 #9c9b64 #f7f7e7 #f7f7e7; border-width:1px 1px 0px 0px;">'||
to_char(a4,'999G9990D99')||'</td>'||
'</tr>'||
'</table>' a1, null a2
from (
-- Level 1 (Root Level)
select
1 lvl, to_char(ORDER_TIMESTAMP,'YYYY') id, null pid,
to_char(ORDER_TIMESTAMP,'YYYY') name, null link,
sum(ORDER_TOTAL) a1, count(*) a2,
count(*)*10 a3, count(*)*100 a4
from DEMO_ORDERS
group by
to_char(ORDER_TIMESTAMP,'YYYY'),
to_char(ORDER_TIMESTAMP,'YYYY')
UNION
-- Level 2
select
2, to_char(ORDER_TIMESTAMP,'YYYYMM'), to_char(ORDER_TIMESTAMP,'YYYY'),
to_char(ORDER_TIMESTAMP,'Month'), null,
sum(ORDER_TOTAL), count(*),
count(*)*10, count(*)*100
from DEMO_ORDERS
group by
to_char(ORDER_TIMESTAMP,'YYYYMM'), to_char(ORDER_TIMESTAMP,'YYYY'),
to_char(ORDER_TIMESTAMP,'Month')
UNION
-- Level 3 (Leaf Level)
select
3, to_char(ORDER_TIMESTAMP,'YYYYMMDD'), to_char(ORDER_TIMESTAMP,'YYYYMM'),
to_char(ORDER_TIMESTAMP,'DD. Day'), null,
sum(ORDER_TOTAL), count(*),
count(*)*10, count(*)*100
from DEMO_ORDERS
group by
to_char(ORDER_TIMESTAMP,'YYYYMMDD'), to_char(ORDER_TIMESTAMP,'YYYYMM'),
to_char(ORDER_TIMESTAMP,'DD. Day')
)If you use stylesheets the above query will be more suitable.
See also:
Expand/Collpase Lists
Hope that helps, Willi -
Drill Down report in new window
Hi All,
i have report prompt ( Dashboard) and report . if i click on date column then it will display drill down report.
My issue is drill down report iis displaying in current window. if i click on return to previous screen button then prompt are refreshing. user was confusing which parameters he was selected.
I need solution like.
1) After coming back also prompts are should not refresh . it should display prompts which were user selected.
or
2) drill down report should display in other window. ( then user will close that window he can see his selected prompts)
how can achieve this one in OBIEE. please help me.
Thanks in advance for your time.Couple things,
you can create primary interaction as Action Link and then in the action link menu you can select option for the new window (that I what I did)
Edit Action Links > More... > Edit Action > Options
For the values, you can use presentation variables and they will carry the values (your fields also have to be prompted, but I think you already have that).
Again this works for me just fine.
Hope this helps. -
Drill Down Report by Grouping Data
I am using Apex version 4.
I'm wondering if there's a way to create a drill down report by grouping data and having a plus (+) symbol (or some other symbol) next to the group so the end user can expand or collapse as they want. So similar to how it works in Microsoft Excel.
So I'm looking to build a report that looks something like:
Market Office Revenue
1 $200
a $50
b $70
c $30
d $50
So there would be a way to expand or collapse the list of offices.
Anyone know of any way to do this? I was hoping to avoid having to create linked reports. Even if there's no way to get the expand/collapse functionality to work, it would be acceptable to just show the data as I have in my example above.
Thanks.Sorry, the format of my example got messed up.
It's basically a hierarchy between Market and Office. So it's Market 1, then underneath that it would be Office a, b, c, and d. One market, multiple offices. Total market revenue of $200, then each office has the amounts listed.
Hope that makes sense. -
Unable to pass parameter from a hyperlink in drill down report
Hi,
I have created a drill down report.
Master report has a column with hyperlink
with url to call detail report.
"http://webserver/dev60cgi/RWCGI60.EXE?item+the_prodid=200376"
when i see the detail report i get the value of the_prodid parameter as null.
any help will be highly appreciated.Thanks very much.
It worked for me also.
Now i am getting here something new
i have wrriten a function which returs javascript and i this is being passed to report using before report trigger.
I am using
SRW.SET_BEFORE_REPORT_HTML(SRW.TEXT_ESCAPE,HTML_Text) tag to do this.
When i run this report from report builder it works fine but when this is invoked from
a report server i get a blank page and the window status says tranferrring data from webserver nothing comes up.
Now when i remove the contents of before report trigger it works fine.
my before report trigger conetenst are
function Before_Report return boolean is
HTML_Text VarChar2(32000);
begin
HTML_Text := '<html> ' | |chr(10)| |
mainpagejavascript| |
'<body dir=LTR bgcolor="#ffffff">'| |chr(10); -- for 6i the body tag dir=&Direction would work and be set at runtime
SRW.SET_BEFORE_REPORT_HTML(SRW.TEXT_ESCAPE,HTML_Text);
return (TRUE);
end;
mainpagejavascript function returns
<script language="javascipt">
function test()
alert("I have a problem");
</script>
can anybody help me out in this.
Thanks in advance
shailesh
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Haithem Abdelkefi:
Yes, the drill down works.
We have a field with this Format Trigger.
function F_EQP_GRPFormatTrigger return boolean is
begin
srw.set_hyperlink (:p_url| |'&report=INP-A2.2.rep&p_eqp_grp='| |:eqp| |'&desformat='| |:desformat);
return (TRUE);
end;
Haithem<HR></BLOCKQUOTE>
null -
Drill-down to multiple columns at same time
Hello,
Is it possible to simultaneously drill down to multiple columns on the same level with one click? I have several attributes that the user will want to see together at all times, so I want to be able to drill from level1 to level2a,2b, and 2c with one click.
Thanks,
ElliotThis drilling down to all the levels may not be available with the OBIEE drill level based hierarchy feature OOTB but as an alternative you can try this at you DB level to create a hierarchy within you data using START WITH and CONNECT BY PRIOR to generate the parent->child levels hierarchy within the view instead of creating multiple hierarchical columns.
Or may be you can try to create separate columns in a table for each hierarchy level. That table could either be in the database or be a logical one in the repository. For example:
Level 1 Level 2 Level 3 Description
1 2A 3A
1 2A 3B
1 2B 3A
1 2B 3B
etc
You then create separate reports for each level, so one report has only level1 in it for this dimension, another report has levels 1 an 2 and a third report has levels 1, 2 and 3 etc.
In each report you put an action link on the levels' cells so that if you click on them you drill up or down by displaying a new report with either less or more level columns.
Hope this helps. Pls mark if it does.
Thanks,
SVS -
How to perform drill-down on web besides in Runtime previewer?
Hi, I tried to display my report on web browser. My reports contains drill-down fuctions(srw.run_report) which works great in Runtime previewer. However, when I tried to used Report Server 6i to delpoy my report on the web browser in html or pdf format, the drill-down function didn't work. Does anyone know how to do it? I appreciate any help. Thanks in advance.
JoeHi Rajendra,
Again prasanth here, As u said, there is no more push button in 9i and 10g, ok. so u can drill down reports by using hyperliks which is only way(according to me). some may suggest to include JSP buttons. But u can simply place any text item like 'click here to run report' and in the property inspector(i.e.property pallette) set the hyper link property with the desination of your file. It may be a weblink or may be local file path.
example
hyperlink: www.oracle.com/..or
c:\temp\test.rdf
or u can write a trigger for that text item:
1)right clik the text item
2)goto pl/sql editor
3)put the code
a varchar(30);
begin
a:=srw_run_report('<the report link you want')
return(a);
but before doing this make sure that the item type of tha t text item property should be pl/sql(this can be set in property pallete of that text item)
I think this help you,
Thanks and Regards
Prasanth A.S.
Maybe you are looking for
-
HP Laserjet CM2320 MFP driver problem with Outlook 2013
Hi, The problem starts when you want to print from Outlook 2013 ( Office365 flavour ). You can print once. Then Outlook and the printspooler crashes. In the print qu you find pages NA and no kb for the printvolume. Impossible to delete the printjob n
-
some of my album titles aren't in alphabetical order in the album title playlist . how can I sort them out
-
Refreshing Materialized View Explicitly Error....
Hello, i have created a MV ..which is 'Refresh Complete ON DEMAND'...but nw as i checked i wasn't refreshed since last 20 hrs ...& my refresh interval is 2 hrs... So now wen i am trying to refresh it explicitly it is giving me error .. 'ORA-00900 : I
-
Duplicate persistence unit name in war
Hi! I am using weblogic 10.3. I am trying to deploy a spring web application with two jars, that contain jpa entities with a persistence.xml. The persistence unit name in both persistence.xml is equal. That is for spring no problem, because i wrote a
-
Safari won't open or quit. Cannot Shut Down.
I have a 3 mo.old MacbookPro - OS X Lion 10.7.3 . Safari suddenly won't open or quit. I can't Shut Down; when I try I get an error message indicating Safari must quit first. I use computer for just the basics -- web surfing,email, i-tunes, and just