Localization in Discoverer
Hello,
We want to use japanese language for the labels in Discoverer reports. May we can store the words in oracle database and display it in the discoverer reports as a label. Is there a utiluty available to acheive this in any release of discoverer? If so, is that release avilable for production use?
If there is no direct utility then what is the work around for this in Discoverer3.1?
Thanks in advance,
Victor
plz refer the below doc..
http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/deploylocal.htm
Mark it if Helps..
Similar Messages
-
Is there a "translation builder"-type utility for Discoverer? Specifically, I want to create a End User Layer in English, using labels. I'd like to than, pull those lables out, translate them, save them in a database and insert them into the End User Layer for each language as part of application localization effort.
nullYes there is such a tool that is under testing and will be available around the same time when Discoverer Columbus Release is available. (September 2000) In the first phase, we will translate our demos, in the second phase, we are thinking to make available to Internal Oracle Sales and Consulting.
Hope it helps,
Aydin.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Mark Ashord:
Is there a "translation builder"-type utility for Discoverer? Specifically, I want to create a End User Layer in English, using labels. I'd like to than, pull those lables out, translate them, save them in a database and insert them into the End User Layer for each language as part of application localization effort.<HR></BLOCKQUOTE>
null -
TransError after Login to Discoverer
Hello,
I installed the following software for discoverer on a single maschine (without any other oracle software like DB) and without clustering.
Weblogic Server: 10.3.4.0
Discoverer: 11.1.1.2.0 -> Patch to 11.1.1.4.0
Apache Webserver as Frontend
on a 64 - bit, Windows Server 2008 (24 GByte RAM)
On a separate maschine: Oracle Database 11.2.0.1.0 (EUL + Disco Schema)
I deselected Report, Forms and Portals during installation. Creation of the domain was successful and I also get the discoverer login page. I also exported and imported the old "End User Layer" from our old Discoverer 10 with Oracle BI Discoverer Administrator 11.1.1.4.0 in a new schema.
During login process the discoverer displays the following error at the top: "Interner EBE - Fehler TransError - Unerwarteter Transaktionsfehler"
In english it should be: Internal EUL-error: TransError Unexpected transaction error
Another strange behaviour is: I had installed all these software on a 32 bit test system before and had used the same DB (EUL and disco Schema) without problem. Login had been successfull!
Does anybody know this error or have an idea what to check for solving this problem? Maybe there is a version problem I don't know?
Thanks
ThomasHello,
I found this problem. Its addressed as a bug with the following cause from Oracle:
Cause:
- Bug 10149417 - Connection With Some Localizations Returns "Interner Ebe-Fehler: Transerror..."
Solution:
The fix for this issue was released in Patch 11679670 - Merge Request On Top Of 11.1.1.3.0
For Bugs 10233533 10149417 Please log an SR for the Discoverer support team and ask for the download password.
Please carefully review the readme file of the patch before applying it.
For the moment the solution is available only for version 11.1.1.3.0 as this is the recommended 11g version to
the recommended Discoverer versions, please check ALERT: Required and Recommended Patch Levels For All Discoverer 237607.1.
So, use the 32 bit version of 11.1.1.4 or the version 11.1.1.3.0 (64-bit) with a patch from Oracle.
Regards
Thomas -
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 -
Dear Sir,
Can i access the report from cyber cafe(Web Enabled) that is generated with oracle 9i Discoverer. If YES then How ?
If NO then Why
OR
any other version from which we can access the report from cyber cafe that created with discovererIs it Correct " If You Don't have Licence copy of oracle S/w then u can use only development not for production for production you must have licence copy of oracle."
-
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 not working on R12 !
We have just migrated to R12 from 11i and some of the discoverer query is not working, but the same is working fine when we ran thru SQL Developer or TOAD.
Is there any context (mo_global.set_policy_context) needs to be set in Discoverer report to get the data?
ThanksThanks Srini,
There is no any specific error message, the strange thing is if I run the Discoverer report is not returning any data, but if I set the mo_global.set_policy_context ('S',111) in SQL Developer or TOAD and then run the discoverer report it return data...
Any pointers? -
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 -
Hi All,
I have a problem wherein some specific users are saying that the report is slow at their end.
The exact issue is...we have Discoverer Report present at the US server. Now we have 2 sites CANADA and US from where this report is run. Both sites refer the same server i.e. the US server.
Canadian users are reporting performance problems with this report, but when I run the report at my end there is no such problem.
Please advice what can be the probable reason for this.
Regards,
AnkurHi Ankur
Further to what has been said, if you are running Discoverer Plus across a long time it will take longer to run. Typically the query runs within the database but everything else, formatting, layout, page items and so on is done locally by the Java applet in your local cache. What happens if you run a CANADA report from the US site? Does it run ok? If so, then therein lies the answer. The machines in Canada need to therefore be as powerful as you can make them plus your network needs to be as fast as you can too.
Another way way I have seen this solved is by providing something like a Citrix server in the US for the Canadian customers to log into.
Best wishes
Michael -
Hi guys,
I have created a link to Discoverer report in applications that works beautifully but there is one downside in it. When we invoike the report to launch in Discoverer Viewer it opens in the same browser window. Does anyone know how to make it open in a new browser window? I have looked into ICX: Discoverer parameters and other profile options but could not find anything pertaining to that. Also looked into Function parameters but seems to be missing it. Help, anybody!
Thanks in advance.hey, follow this Note for 11i: Note:278095.1 or this one for r12: Note:471303.1
-
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 with PO_RELEASES in R12
Hi all,
I'm migrating a Discoverer report from 11i to R12. The query of the folder uses the po_releases and this join condition "and rcv_transactions.po_release_id = po_releases.po_release_id(+)". When I run the report I get the error "invalid number" but when I tried the same query but using the po_releases_all it seems to work. Is this ok? I saw that in R12 po_releases is just a synonym, is this correct? I would appreciate your comments.
Thanks in advance.
GabrielaThanks Hussein. Yes, I've checked the document you recomend, but the problem seems to be when I try to use po_releases, the synomy) and I don't know why it work with the _all table but not work with the synonym.
-
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 -
Discoverer report showing null instead blank
hi,
I am running report from discoverer and it is showing null instead blank, do I need to check some thing in pref.txt file in oracle 9i
regards
kumarhi,
I am running report from discoverer and it is showing null instead blank, do I need to check some thing in pref.txt file in oracle 9i
regards
kumar
Maybe you are looking for
-
help
-
Admin Studio 9.5 SE unable to connect to ZCM server
Hi! I just finish installing AdminStudio 9.5 SE SP1 (AdminStudioSE95.iso) on a clean VMware Windows XP SP3 install and AdminStudio won't connect to my zenworks server. At first, I input my serial number and it says successfull. Then a window, with a
-
I'm apologize if this has been discussed ahead of time. I have read that at Best Quality settings, "iDVD evaluates the amount of video and chooses the best quality setting possible" So my question is at what amount of video do I get best quality sett
-
Hi, I am working with workflow,At the start i had checked out records,however accidently the workflow got deleted. Now I am not able to delete or check in or rollback the record. Its giving an error :Record already used in workflow. Any suggestion Re
-
How to configure 7120 array for ESXi 4.1?
Hi, Just taken delivery of a 7120 which has some issues (see previous post!), I need some guidance on optimum config for ESXi 4.1 - I keep reading conflicting info about how to set it up! Here's my config:- 2x Dell Powerconnect 6224 switches (solely