Discoverer Report Names
Discoverer Report Naming
Our service Provider has created lot many reports for us and now theres a need for a generic naming to be followed for the Discoverer reports. Could someone tell me how difficult it would be to rename all the reports?
As I could see, theres a dataitem for the Discoverer Report names, I would imagine the report names are somewhere stored in the database as values in a DB table. So if the name of the report is stored in the database in a table , then it is simpler enough to change the value of the column. It would be more of a find and replace command in SQL.But I'm not sure whether this would have an impact on the actual Report name! for our service provider is telling us that they need to open every report in Discovere to rename and store it. Then they need to delete the other report- which I doubt as I'm not sure !
Also I would like to know where and how the names of the Discoverer Reports are saved in the database?
Kindly advice.Many thanks
Hi,
You can inform to your SP to edit the table EUL4_documents
and ask him to modify the name of the report that is stored in the column DOC_NAME .There is absolutely no necessary to open the work book that is stored in the database and change the work book name
Regards
Swamy!
Similar Messages
-
Discoverer Report returning ' no data found '
Hi ...
i have an issue with one discoverer report .
Discoverer report name : EDI Price Exception Report.
when i ran the report in Discoverer Desktop edition It is returning 'No Data Found ' But i am taken the Query from admin edition and tried to ran in PL/SQL Developer/TOAD by setting Org_id condition
it's returning Data . the Desktop Edition of Discoverer for some specific date Range it's giving Data But from last month on wards it's not returning any Data.
in Discoverer Report Desktop it's not retuning the Data from November to till date
Oracle Applications 11i
Discoverer 4i
Oracle Data base :9i
OS : Windows.
Attached the Sql which i used to generate the Report :
I HAVE USED THE FOLLOWING :-for initialize the profile options
EXEC FND_GLOBAL.APPS_INITIALIZE (0,52163,660);
EXEC APPS.FND_CLIENT_INFO.SET_ORG_CONTEXT(2922);
SELECT A.CUST_PO_NUMBER,
A.ORDER_NUMBER,
A.ORDERED_DATE,
A.ORDER_TYPE,
-- C.CUSTOMER_ID,
C.CUSTOMER_NUMBER,
C.CUSTOMER_NAME,
B.LINE_NUMBER,
B.ORDERED_ITEM,
MSI.SEGMENT1 ACCO_ITEM, -- GRW 20060407
MSI.DESCRIPTION,
-- MSI.INVENTORY_ITEM_ID,
(SELECT MCI.CUSTOMER_ITEM_NUMBER
FROM MTL_CUSTOMER_ITEMS MCI,
MTL_CUSTOMER_ITEM_XREFS MCIX,
MTL_SYSTEM_ITEMS_B MSIB
-- MTL_PARAMETERS MP
WHERE MCI.CUSTOMER_ID = C.CUSTOMER_ID --1814924
AND MCI.CUSTOMER_ITEM_ID = MCIX.CUSTOMER_ITEM_ID
AND MCIX.INVENTORY_ITEM_ID = MSIB.INVENTORY_ITEM_ID
AND MSIB.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID --869899
AND MSIB.ORGANIZATION_ID = MTP.ORGANIZATION_ID --MP.ORGANIZATION_ID
AND MTP.ORGANIZATION_CODE = 'BRM'
AND MCI.CUSTOMER_ITEM_NUMBER = B.ORDERED_ITEM
AND NVL (mci.inactive_flag, 'N') <> 'Y'
AND NVL (mcix.inactive_flag, 'N') <> 'Y')
CUSTOMER_ITEM,
XXAB_ITEM_XREFS.GET_GBC_ITEM_NUM (B.ORDERED_ITEM) GBC_ITEM_NUMBER,
B.ORDERED_QUANTITY,
B.PRICE_LIST,
B.UNIT_SELLING_PRICE,
B.UNIT_LIST_PRICE,
TO_NUMBER (B.ATTRIBUTE7) CUST_SENT_PRICE,
apps.XXAB_CUST_SENT_PRICE_CONV_SO (C.customer_number,
B.ordered_item,
B.header_id,
B.line_number,
B.unit_selling_price,
B.attribute7,
B.pricing_quantity_uom,
B.attribute4)
CUST_SENT_PRICE_CONVERTED,
ABS ( (B.UNIT_SELLING_PRICE
- apps.XXAB_CUST_SENT_PRICE_CONV_SO (C.customer_number,
B.ordered_item,
B.header_id,
B.line_number,
B.unit_selling_price,
B.attribute7,
B.pricing_quantity_uom,
B.attribute4)))
DIFFERENCE,
MTP.ORGANIZATION_CODE,
B.SHIP_TO_LOCATION
FROM OE_ORDER_HEADERS_V A,
OE_ORDER_LINES_V B,
RA_CUSTOMERS C,
MTL_PARAMETERS MTP,
MTL_SYSTEM_ITEMS_B MSI
WHERE A.HEADER_ID = B.HEADER_ID
AND A.SOLD_TO_ORG_ID = C.CUSTOMER_ID
-- Added by Gati on 19-Oct-2012, tkt - INC000000118962
AND ROUND (TO_NUMBER (apps.XXAB_CUST_SENT_PRICE_CONV_SO (
C.customer_number,
B.ordered_item,
B.header_id,
B.line_number,
B.unit_selling_price,
B.attribute7,
B.pricing_quantity_uom,
B.attribute4)),
2) <> B.UNIT_SELLING_PRICE
--AND ROUND(TO_NUMBER(B.ATTRIBUTE7), 2) <> B.UNIT_SELLING_PRICE
--AND a.ship_from_org_id = mtp.organization_id
AND B.SHIP_FROM_ORG_ID = MTP.ORGANIZATION_ID -- GRW 20060413
--AND a.ship_from_org_id = msi.organization_id
AND B.SHIP_FROM_ORG_ID = MSI.ORGANIZATION_ID -- GRW 20060413
AND B.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID -- GRW 20060407
AND A.ORDER_SOURCE_ID = 6
AND A.ORG_ID = B.ORG_ID
AND TO_CHAR (A.ordered_date, 'DD-MON-YYYY') between '01-NOV-2013' and '03-NOV-2013'
and mtP.organization_code='BRM'
AND A.ORG_ID = (SELECT HOU.ORGANIZATION_ID
FROM HR_OPERATING_UNITS HOU
WHERE HOU.NAME = '50 ACCO Canada')
AND B.cancelled_flag <> 'Y'
AND B.flow_status_code <> 'CANCELLED'
AND B.ORDERED_ITEM <> 'INVALID_ITEM'
ORDER BY a.order_numberHi,
Assuming your initialization matches your discoverer login, it is pretty weird that you get no data.
I am not sure how you got the SQL but i suggest you trace the session to get the exact SQL ran by the discoverer.
You may find another condition or join that limits your data.
Also another thing that you should try is to initial the session by using all the parameters (including the security group as you have in your discoverer login):
begin
fnd_global.APPS_INITIALIZE(user_id =>, resp_id =>, resp_appl_id =>, security_group_id =>);
end -
Discoverer Report: How to find Business Area name from Report Name.
Hi
I opened a report in Disco Desktop 4 -> Resonsibiolity --> Report Name.
So I know Report name but don’t know which Business Area it belongs to.
How to find Business Area Name from Report Name?
Cheers
VijayHi,
There is no relationship between reports and business areas. Each report can be built from many folders. Each folder can be in many business areas.
However you can try the following SQL which may give you the result you want for an v5 EUL. You will have to modify for Discoverer 4 EUL:
select distinct doc_name, obj.obj_name folder_name, bas.ba_name
from eul_us.eul5_documents doc
, eul_us.eul5_elem_xrefs xref
, eul_us.eul5_expressions exp
, eul_us.eul5_objs obj
, eul_us.eul5_ba_obj_links bol
, eul_us.eul5_bas bas
where xref.ex_from_id = doc.doc_id
and doc.doc_name = &your_report
and xref.ex_to_id = exp.exp_id
and obj.obj_id = exp.it_obj_id
and bol.bol_obj_id = obj.obj_id
and bas.ba_id = bol.bol_ba_id
Rod West -
How to find how name of view and table using in Discoverer report
Hi all,
Please help me, i have requirement, i need name of views and tables used in discoverer reports.
plz help its urgent.
regards,
Vivek GautamAs per my knowledge goes, We can see from Administrator which Folder is associated with a Workbook. Else you may have to manually open each and every workbook and look for the objects.
-
Name of tables which will store Discoverer Reports Information.
Hi Everyone,
Hope all are doing good.
I have a requirement on up-gradation project, find the discoverer reports where will store table names and path.
Once i get Discoverer Reports information, we have to find-out the custom Discoverer reports.
Thanks in advance...
Sreenivas.U80f8bcb6-a8b3-426c-839a-cd401b686d56 wrote:
Hi Everyone,
Hope all are doing good.
I have a requirement on up-gradation project, find the discoverer reports where will store table names and path.
Once i get Discoverer Reports information, we have to find-out the custom Discoverer reports.
Thanks in advance...
Sreenivas.U
How to Find Out the Sharing Information for Discoverer workbooks From the Database (Doc ID 293021.1)
How To Get A List Of Discoverer Worksheets Directly From The Database? (Doc ID 1333531.1)
How To See Which Discoverer Workbooks Are Owned And Shared By An Existing Or Dropped Database User (Doc ID 375777.1)
How To Query Metadata To Determine Which Discoverer Workbooks Are Accessible To User ? (Doc ID 433794.1)
How To Determine Which Business Areas Are Used By The Workbooks Saved To The Database (Doc ID 458739.1)
Thanks,
Hussein -
How Discoverer Reports cope with table name changes
I want to change the name of an oracle table that is queried by a number of Discoverer reports owned by various users.
I have been told that Discoverer might have the smarts to handle this without manual intervention of users having to open their reports and repoint them to the new tablename. Would someone be able to enlighten me?Thanks Guys for help.
Additionally I'd like to add for the purpose of the name change is business driven and therefore it is important that business (report writers) see the new name so.....
For each simple folder in the EUL there are there 3 attributes you need to be aware of:
(1) Folder Name (the name as seen in Discoverer)
(2) Identifier
(3) Physical Database Object name
(1) and (2) are used by a Disco workbook to resolve back to the physical object name.
Therefore, you can change either (1) or (2) [but not both] and still have the workbook resolving back to the physical object name on the folder (ie (3)).
In summation, I changed (1) and (3) while leaving (2) unchanged to resolve the whole glorious mess.... -
Open Pages from Discoverer Report
Hi,
Is there a way to invoke a webpage or even better, an oracle function (that links to forms or self-service) from a discoverer report row ?
for example, I want a report for employees where the person looking at the report will click on the employee name and is taken straight to the person details page for that employee.
Regards.Hi,
You can create a link to a form function using fnd_run_function.get_run_function_url. You can create a calculation either in a view or using a calculated item in the EUL (you will have to map the get_run_function_url in the EUL to do this). You then set the content type property of the EUL item to FILE so that when the item is selected in the workbook it appears as a hyperlink.
Most forms in apps except parameters so that you can pass the employee id to the form and the form will open up with the employee record. For example, if you are using a seed HR person form you create a calculation,
fnd_run_function.get_run_function_url(3494 -- PERWSHRG-404
,800 -- HR
,fnd_global.RESP_ID -- caller's responsibility
,0 -- Business Group
, -- Parameters
'P_PERSON_ID='||TO_CHAR(person_id, 'fm9999999999999')||
' P_EFFECTIVE_DATE='||TO_CHAR(SYSDATE, 'YYYY/MM/DD'))Rod West -
We are running Oracle BI Discoverer Viewer version 11.1.1.4.0. When we upgraded to this version we lost some functionality. In the previous version the report displayed the number of rows the query returned. Now the row totals display only under certain conditions. For instance, I have a inventory report name INV-REP-120 and it prompts the user for 6 parameters & displays 6 columns of data. One of the parameters is named ‘Keyword' and I’ll use this one in the problem description. When I set the keyword parameter to ‘HINGE’ The bar at the top of the results sheet it displays:
‘Rows 1-25 of 81, Columns 1-6 of 9’
When I change the keyword to ‘TUBE’ the viewer displays:
‘Rows 1-25, Columns 1-6 of 9’
The total rows are not displayed but the number of pages. It appears that if the total number of rows is less than 200 then the row total is displayed. I changed the rows displayed from 25 to 100 and scrolled down to the last page and now the reports displays:
‘451 – 458 of 458, Columns 1-6 of 9’
When I use the key word TEE I get :
‘Rows 1-50, Columns 1-6 of 9’
There are 596 tees, which would be about 12 pages of 50 rows. I noticed that at the top of table there is a field ‘Page 1 of 5.’ It looks like if there are more than 5 pages it does not display the total number of rows.
There seems to be some interaction between the total number of rows the number of rows per page and perhaps a setup on the back-end that determines whether or not the row total is displayed. How can I configure the viewer at the front-end and/or back-end to consistently display the row total for a report? Is there a Discoverer preference located in the pref.txt in the apps server that controls this?Hi,
You can inform to your SP to edit the table EUL4_documents
and ask him to modify the name of the report that is stored in the column DOC_NAME .There is absolutely no necessary to open the work book that is stored in the database and change the work book name
Regards
Swamy! -
Discoverer Report parameter based on subquery
Hi Guys,
I have following query which i need to convert into discoverer report
select hpah.EMPLOYEE_NUMBER,hpah.FIRST_NAME,hpah.LAST_NAME,hpah.PERSON_NAME,
--hpah.JOB_NAME,hpah.ASSIGNMENT_ORGANIZATION_NAME,
hpah.ASSIGNMENT_TYPE,hpah.USER_ASSIGNMENT_STATUS,
SUBSTR(pj.name, 1, instr(pj.name, '.', 1, 2) -1) job_code,
SUBSTR(pj.name, instr(pj.name, '.', 1, 2) + 1) job_title,
(select haou.ATTRIBUTE1 from hr_all_organization_units haou
where haou.ORGANIZATION_ID = hpah.ASSIGNMENT_ORGANIZATION_ID ) Function,
(select haou.ATTRIBUTE2 from hr_all_organization_units haou
where haou.ORGANIZATION_ID = hpah.ASSIGNMENT_ORGANIZATION_ID ) org_desc,
SUBSTR(hpah.ASSIGNMENT_ORGANIZATION_NAME, 1, 6) dept_code,
SUBSTR(hpah.ASSIGNMENT_ORGANIZATION_NAME, 7, LENGTH(hpah.ASSIGNMENT_ORGANIZATION_NAME)) dept_title,
hpah.GRADE_NAME,hpah.LOCATION_NAME,hpah.SUPERVISOR_NAME,
hpah.PERSON_START_DATE,hpah.ORIGINAL_DATE_OF_HIRE ,
hpah.SALARY_BASIS,hpah.BUSINESS_GROUP_ID,hpah.ASSIGNMENT_ID,
decode( hpah.SALARY_BASIS, 'ANNUAL', ppp.proposed_salary_n,
'HOURLY', (ppp.proposed_salary_n *2080),
ppp.proposed_salary_n
) salary,
sysdate run_date
from
hrfg_person_assignment_history hpah ,
per_pay_proposals ppp,
per_pay_bases ppb,
per_grades pg,
per_jobs pj
where hpah.ASSIGNMENT_ID = ppp.ASSIGNMENT_ID
and hpah.SALARY_BASIS = ppb.PAY_BASIS
and hpah.BUSINESS_GROUP_ID = ppb.BUSINESS_GROUP_ID
and hpah.GRADE_ID = pg.GRADE_ID(+)
and hpah.JOB_ID = pj.JOB_ID (+)
--and hpah.EMPLOYEE_NUMBER = 100779
and hpah.PERSON_START_DATE IN
(SELECT MAX(hpah2.PERSON_START_DATE)
FROM hrfg_person_assignment_history hpah2
WHERE hpah2.EMPLOYEE_NUMBER = hpah.EMPLOYEE_NUMBER
AND hpah2.PERSON_START_DATE <= sysdate )
order by hpah.EMPLOYEE_NUMBER
i need to have sysdate as parameter in my report. I want data based on the date i provide.
how can i make this as an parameter?Hi Prashant,
Subqueries are not Supported in Conditions..As of Disco Plus Rel 10.1.2.54.25
A plausible workaround can be:
1. Create a View with foll. Query
create or replace view TEST_VIEW as
select hpah.EMPLOYEE_NUMBER emp_no,hpah.FIRST_NAME,hpah.LAST_NAME,hpah.PERSON_NAME,
--hpah.JOB_NAME,hpah.ASSIGNMENT_ORGANIZATION_NAME,
hpah.ASSIGNMENT_TYPE,hpah.USER_ASSIGNMENT_STATUS,
SUBSTR(pj.name, 1, instr(pj.name, '.', 1, 2) -1) job_code,
SUBSTR(pj.name, instr(pj.name, '.', 1, 2) + 1) job_title,
(select haou.ATTRIBUTE1 from hr_all_organization_units haou
where haou.ORGANIZATION_ID = hpah.ASSIGNMENT_ORGANIZATION_ID ) Function,
(select haou.ATTRIBUTE2 from hr_all_organization_units haou
where haou.ORGANIZATION_ID = hpah.ASSIGNMENT_ORGANIZATION_ID ) org_desc,
SUBSTR(hpah.ASSIGNMENT_ORGANIZATION_NAME, 1, 6) dept_code,
SUBSTR(hpah.ASSIGNMENT_ORGANIZATION_NAME, 7, LENGTH(hpah.ASSIGNMENT_ORGANIZATION_NAME)) dept_title,
hpah.GRADE_NAME,hpah.LOCATION_NAME,hpah.SUPERVISOR_NAME,
hpah.PERSON_START_DATE,hpah.ORIGINAL_DATE_OF_HIRE ,
hpah.SALARY_BASIS,hpah.BUSINESS_GROUP_ID,hpah.ASSIGNMENT_ID,
decode( hpah.SALARY_BASIS, 'ANNUAL', ppp.proposed_salary_n,
'HOURLY', (ppp.proposed_salary_n *2080),
ppp.proposed_salary_n
) salary,
sysdate run_date
from
hrfg_person_assignment_history hpah ,
per_pay_proposals ppp,
per_pay_bases ppb,
per_grades pg,
per_jobs pj
where hpah.ASSIGNMENT_ID = ppp.ASSIGNMENT_ID
and hpah.SALARY_BASIS = ppb.PAY_BASIS
and hpah.BUSINESS_GROUP_ID = ppb.BUSINESS_GROUP_ID
and hpah.GRADE_ID = pg.GRADE_ID(+)
and hpah.JOB_ID = pj.JOB_ID (+)
--and hpah.EMPLOYEE_NUMBER = 100779
order by hpah.EMPLOYEE_NUMBER
2. Create another table say TEST_TAB
create table TEST_TAB (emp_no, start_dt) as
SELECT hpah2.EMPLOYEE_NUMBER , MAX(hpah2.PERSON_START_DATE) PERSON_START_DATE
FROM hrfg_person_assignment_history hpah2
GROUP BY hpah2.EMPLOYEE_NUMBER
3. Add both of them in Disco Admin and create a join between TEST_VIEW.emp_no and TEST_TAB.emp_no
4. Bring both these Objects in a new report in Disco Plus
5. Create a New Parameter (Base it on PERSON_START_DATE Col of TEST_TAB)
6. Choose Option Create Condition with operator <=
7. Checkmark "Require User to Enter a Value
8. Execute Report
I believe this should work. Either ways let me know if it helps or u get another workaround. (This scenario looks quite interesting)
Thanks,
Chinmay -
Discoverer Report showing Null VS Show SQL query showing results !!!
I created a simple Cross Tab Discoverer report from a custom SQL which has a calculation for balances. The output is giving all null values even though there are balances. The output doesn't seem right. So I copied the query from Tools-->Show SQL and ran the query in the TOAD where I'm showing balances for the report. I don't understand why it is not showing in the discoverer. Please help.
Thanks
Edited by: PA1B on Jan 27, 2010 11:40 AMSorry for late reply.
Below is the Show SQL query. I don't think the query is application dependent. C_1 is my calculation.
SELECT o279709.SEGMENT3 as E279727,
o279709.SEGMENT4 as E279728,
CASE WHEN o279709.CURRENCY_CODE = 'USD' AND o279709.TRANSLATED_FLAG <> 'Y' THEN SUM(o279709.ENDING_BAL) ELSE 0 END as C_1,
GROUPING_ID(o279709.CURRENCY_CODE,o279709.SEGMENT3,o279709.SEGMENT4,o279709.TRANSLATED_FLAG) as GID
FROM ( --Foriegn Entity USD Balances
SELECT B.SEGMENT1,
B.SEGMENT2,
B.SEGMENT3,
(select distinct substr(cat.COMPILED_VALUE_ATTRIBUTES,5,1) from apps.fnd_flex_values cat
where FLEX_VALUE_SET_ID = (select bat.FLEX_VALUE_SET_ID from apps.fnd_id_flex_structures_vl aat, apps.fnd_id_flex_segments_vl bat
where bat.id_flex_code = 'GL#' and
bat.id_flex_code = aat.id_flex_code and
aat.APPLICATION_ID = bat.APPLICATION_ID and
aat.APPLICATION_ID = 101 and
bat.SEGMENT_NAME = 'Prime Account' and
aat.id_flex_num = bat.id_flex_num
and bat.id_flex_num in (select distinct chart_of_accounts_id from apps.gl_code_combinations gat
where gat.code_combination_id = A.code_combination_id))
and cat.flex_value = b.segment3) ACCT_TYPE ,
B.SEGMENT4,
B.SEGMENT5,
B.SEGMENT6,
B.SEGMENT7,
B.SEGMENT8,
B.SEGMENT9,
B.SEGMENT10,
B.SEGMENT11,
B.SEGMENT12,
B.SEGMENT13,
C.NAME,
A.SET_OF_BOOKS_ID,
A.CURRENCY_CODE,A.TRANSLATED_FLAG,
SUM(NVL(A.BEGIN_BALANCE_DR,0) - NVL(A.BEGIN_BALANCE_CR,0)) BEG_BAL,
SUM(NVL(A.PERIOD_NET_DR,0)) DEBITS,
SUM( NVL(A.PERIOD_NET_CR,0)) CREDITS ,
A.PERIOD_NAME,
SUM(NVL(A.BEGIN_BALANCE_DR,0) - NVL(A.BEGIN_BALANCE_CR,0))+ SUM(NVL(A.PERIOD_NET_DR,0) - NVL(A.PERIOD_NET_CR,0)) ENDING_BAL
FROM APPS.GL_BALANCES A ,
APPS.GL_CODE_COMBINATIONS B,
APPS.GL_SETS_OF_BOOKS C
WHERE A.CODE_COMBINATION_ID = B.CODE_COMBINATION_ID
--AND A.PERIOD_NAME = 'SEP-09'
AND C.SET_OF_BOOKS_ID = A.SET_OF_BOOKS_ID
--AND A.TRANSLATED_FLAG <> 'Y'
--AND B.SEGMENT1 = '83101'
--AND B.SEGMENT3 = '14602'
--AND A.SET_OF_BOOKS_ID = 77
--AND A.CURRENCY_CODE = 'USD'
GROUP BY A.CODE_COMBINATION_ID,
B.SEGMENT1,
B.SEGMENT2,
B.SEGMENT3,
B.SEGMENT4,
B.SEGMENT5,
B.SEGMENT6,
B.SEGMENT7,
B.SEGMENT8,
B.SEGMENT9,
B.SEGMENT10,
B.SEGMENT11,
B.SEGMENT12,
B.SEGMENT13,
A.CURRENCY_CODE,
A.TRANSLATED_FLAG,
C.NAME,A.PERIOD_NAME,
A.SET_OF_BOOKS_ID
) o279709
WHERE (o279709.PERIOD_NAME = 'DEC-09')
AND (o279709.SET_OF_BOOKS_ID <> 72)
AND (o279709.SEGMENT12 = '000')
AND (o279709.SEGMENT3 IN ('10101','10301','10502','12001'))
AND (o279709.SEGMENT1 IN ('82901','82902','82903','83001','83003','83201'))
GROUP BY GROUPING SETS(( o279709.CURRENCY_CODE,o279709.SEGMENT3,o279709.SEGMENT4,o279709.TRANSLATED_FLAG ),( o279709.SEGMENT3,o279709.SEGMENT4 ),( o279709.SEGMENT3 ))
HAVING (GROUP_ID()=0)
ORDER BY GID DESC;
Thanks,
PA1
Edited by: PA1B on Jan 29, 2010 12:50 PM -
Discoverer report does not sum up the column
Hi All,
I am running the discoverer report from discoverer desktop and was
trying to use the sum function to sum the total amount of the report.
The sum function does not work and it only display Cell
Sum: (blank) with no actual data.
When i checked the report details some columns are calculated based on the columns which i want to sum up.
Any ideas please share with me
Thanks in advance.b) What is the difference between sum and cell sum? Well, I certainly won't claim to be a Discoverer guru. From what little I have seen, the practical result is not any difference really between the two. SUM of a calculated row is adding up the calculation to the total. Whereas cell sum is like adding up the individual values behind the calculation you see. The distinction makes more sense when you have SUM DISTINCT and CELL SUM DISTINCT being involved. Then you will see a difference in the calculated total. But for SUM and CELL SUM itself, I have not seen any difference between the two, but I am still pretty new to Discoverer.
e) Aggregate field from a folder. Well, this may be one where you have to play around with your own data to understand. Let me try to give you a simple example. Let's say you have a sales table with 100 rows. You have sales data for 5 cities, and each city has 20 rows of sales history. If you pick Sales Dollars Detail and City Name for your workbook and run, you will get 100 rows in your result (complete detail listing). So that is what happens with no aggregation. Now, instead of doing Sales Dollars Detail, you pick Sales Dollars Sum (the same thing as saying SUM(Sales Dollars) in an SQL statement). Run the workbook. You will now get 5 rows of data, instead of 100 rows of data. You will get one row for each city. If you look at the SQL that Discoverer generates, you will see that it has now done a GROUP BY in the SQL statement. Notice I have not said anything about DISTINCT (just trying to keep things simple).
Now, lets say you do a workbook for City, Part Number, and Sales Dollars Sum. Run the workbook. You get a summarized result (say maybe 10 rows of summary data this time). If you look at the Discoverer SQL, the GROUP BY is now by city and part number, automatically doing that because you picked the SUM version of sales dollars.
Now lets say you add Sales Units Detail to the workbook. Discoverer will give you a warning message that you are have both an aggregate and a non-aggregate and that you may end up with unpredictable results. Run the workbook. You will be back to 100 rows, because you specified sales units in detail.
Most of the time I do not want to see detail rows in a workbook. So most of the time I am picking the SUM aggregate for an amount item.
Hope this explains things a bit. Sounds like maybe you need to take the Discoverer Create Queries and Reports class. Would help you understand these things better. Good luck.
John Dickey -
Error while running the Discoverer report from the command line.
Hi All,
I've to run a discoverer report from command line and export the results in xls/html on to my local machine. This report I've to run it as batch and scheduled it.
I have a parameterized worksheet and this has to be run from command line specifying the parameter value I wanted to run the report for. I do not get any results. Here is the command line I am using.
dis51usr /connect user/password@database /opendb "TIMS-PCJ status Report" /sheet "TIMS observation status report (based on performed date)" /parameter "Test Number" '40351' /parameter "From Date" '05-MAY-2008' /parameter "To Date" '06-MAY-2008' /export HTML "C:\DISCOVERER_REPORT_SCHEDULING\DIS_OUTPUT\PCJStOutputinHTML123"
I even added the TO_DATE conversion for the parameters and also gave the format of the date as 'DD_MON_YYYY'.
Discoverer Desktop opened up, logged in and gets terminated saying 'Oracle Discoverer Desktop has encountered a problem and need to close. We are sorry for the inconvenience.'
Please anyone reply me.
Regards & Thanks,
P. Gayathri DeviHi Gayathri,
Try changing your parameter names to be a single word. (Change "Test Number" to Test_Number).
Does the report run fine when run through Desktop for the same parameter values? Which version of Discoverer are you using?
Thanks. -
Unable to run discoverer report from command prompt
Hi,
I'm trying to run the discoverer report from command prompt and i need to schedule the same.
How could i pass multiple values for the parameters?
If i don't pass the optional parameters, the parameter screen is getting pop-up? How to skip optional parameters?
Also, how to pass the data ranges (format for date parameters) ?
I'm using the below command in command prompt:
cd/d E:\oracle\BIToolsHome_1\bin
dis51usr /connect username/password@database /opendb "TIMS-PCJ status Report" /sheet "TIMS observation status report (based on performed date)" /parameter "Test Number" 40351 /parameter "From Date" "01-JAN-2007" /parameter "To Date" "28-FEB-2007" /parameter "Observation Status" C /parameter "Observation Name" "Abdominal Girth" /export HTML "C:\DISCOVERER_REPORT_SCHEDULING\DIS_OUTPUT\PCJStatusOutput11"
Any one please reply me. Its very urgent.
Regards,
SreedharHi,
How could i pass multiple values for the parameters? You should be able to use a comma separated list e.g.
/parameter "Observation Name" "'Abdominal Girth','Abdominal Girth2'"
How to skip optional parameters?I don't think you can. You have to supply all parameters and then decode out the parameters you don't need in the workbook.
how to pass the data ranges You cannot pass a date range. You can pass a start and end parameters. The default format for the date parameters is DD-MON-YYYY but this can change depending on the NLS settings and format of the data item.
Rod West -
Launching a Discoverer report from jsp page
Hi
I have a discoverer workbook created using BI Discoverer (for relational). I want to accept some parameters for this workbook from a jsp page, which will also have a "View report" button. This button when pressed should open up the Discoverer workbook and all the parameters from the jsp should be passed to the workbook.
Is it possible? If yes, any details on it?
We do the same thing successfully to launch Oracle Reports from jsps, we simply build the url in the jsp, and from jsp we submit it to a new window, and it opens up the report. Similar functionality we are looking to launch Discoverer reports.
Any help will be appreciated.
Thanks
ShaluYou can open the workbook with URL parameters with Discoverer Viewer much like you would Oracle Reports. Setting anything form the username, password, workbook name, worksheet, and parameters. All the information can be found in the following document:
http://download-east.oracle.com/docs/cd/B14099_11/bi.1012/b13918/urlstart.htm
The specific question your asking is addressed under 13.5.2 Example 2. Let me know if you have any issues
Matt Topper
Technical Management Consultant
TUSC, The Oracle Experts
[email protected] -
Invoking Discoverer Report from Zoom Menu Option
HI there
I've seen this on client site but never done it myself. Does anyone have any documentation or guidance on how to set up a form personalization so that the zoom menu option on a form links to a discoverer report, potentially passing parameter values to limit the data? Can forget the parameter side if it's complicated for now as we don't have any full requirements.
Many thanks for any help
Cheers, KateHi
Zoom functionality is very simple just follow the bellow steps
• Enter the Form Personalization form. (M) Help > Diagnostics > Custom Code > Personalize.
• Rule Seq: 10
• Description: Create Menu Item
• Trigger Event: WHEN-NEW-FORM-INSTANCE
• Context: User and set the value to your user name (don't forget to do this for every Rule you define)
• Select the Actions tab
• Actions Seq: 10
• Type: Menu
• Menu Entry: SPECIAL31
• Menu Label: Discoverer Report
• Rule Seq: 30
• Description: Open Discoverer Report
• Trigger Event: SPECIAL31
• Context: User and set the value to your user name
• Actions Seq: 10
• Type: Builtin
• Builtin Type: Launch a Function
• Function Code: XXX---Function name
• Function Name: wil be defaulted from the code
• Save your work and exit all the forms.
Try it out!!!
Maybe you are looking for
-
Error when syncing with iTunes and Windows 7 64Bit(AMD)
I keep getting this error: Attempting to copy to the disk " Your Name Here's IPhone" failed. The Device timed out... It works fine on my Netbook ( Wind 7 32 Bit) I am sure someone has this issue... I tried running in XP mode, Shut off my Pass lock, U
-
Trying to call a reusable process from a process in the same project
I have one process which has a call activity in it. I'm using this call activity to call a reusable process. When I deploy the workflow, it calls the reusable process just fine but when I open it, I get a 500 error on the screen. I have a data object
-
I manage a network on which Windows and Mac computers share files and internet access (simple file sharing, one router and un-managed switches/hubs). An iPod user is using AirMouse, I believe, to maliciously take control of the mouse on other compute
-
Hi, I am using LV 8.5.1. Would like to know, is there any method can compare 2 binary files? Same function as command prompt below: fc /b "file 1 path" "file 2 path" First do not consider use the system exec.vi. Appreciate your feedback. Thanks. Solv
-
How can you loop a part endlessly?
Recently bought Garageband an am really happy with it. I've made a song with two parts, A and B. A is the introduction while I mean for B to basically loop forever, like in most video games, without part A to repeat as well. Now is my question, how c