OBIEE 11g - Report Aggregate Function
Hi Folks,
I am facing one error in OBIEE 11g, saying that
Error
View Display Error
Odbc driver returned an error (SQLExecDirectW).
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 22038] Function REPORT_AGGREGATE requires at least one measure column in its first argument. (HY000)
SQL Issued: SELECT saw_0, saw_1, saw_2, saw_3, saw_4, saw_5, saw_6, saw_7, saw_8, saw_9, saw_10, saw_11, saw_12, saw_13, saw_14, saw_15, REPORT_AGGREGATE(saw_2 BY ), REPORT_AGGREGATE(saw_3 BY ), REPORT_AGGREGATE(saw_4 BY ), REPORT_AGGREGATE(saw_5 BY ), REPORT_AGGREGATE(saw_6 BY ), REPORT_AGGREGATE(saw_7 BY ), REPORT_AGGREGATE(saw_8 BY ), REPORT_AGGREGATE(saw_9 BY ), REPORT_AGGREGATE(saw_10 BY ), REPORT_AGGREGATE(saw_11 BY ), REPORT_AGGREGATE(saw_12 BY ), REPORT_AGGREGATE(saw_13 BY ), REPORT_AGGREGATE(saw_14 BY ), REPORT_AGGREGATE(saw_15 BY ) FROM ..............
What is meant by REPORT_AGGREGATE funtion ?
in my Project i am building reports by using Combine similar Request functionality..
actually the same report is working fine under OBIEE 10g Environment, but when i migrated this it into OBIEE 11g its rasing the above error ?
Help me out in this ..?
Thanks in Advance
Edited by: Siva Kumar Budagam on Sep 13, 2011 3:23 AM
Here is fix for Bug.
Patch Number: 12926133 for Windows 64 bit.
"Even though the readme does not show it the fix for bug 12926133 includes the fix to bug 12391045."
We tested and its works 100% for us.
Thanks,
Kiran.
Similar Messages
-
OBIEE 11g Report UI not showing data
Hi,
On Obiee 11g Report, the query hit by the report at the backend shows results for all the columns but on UI only few of these columns show the data. From Query log, when I run the same query in the database I see all columns have data which is somehow not showing up on the UI end. What could be the problem? Can this be resolved or is it a bug in the OBIEE 11g?
Regards
VMHi Vanaja M/Gurus,
Is that your problem resolved?
I'm facing same issue here.
I was checking for solution/suggestions in blogs, but unfortunately i couldn't find much information in blogs too....
Can you help me out to cross this hurdle, as this issue is in Production. -
ToolTip in OBIEE 11G Reports when we hover on its data!!
Hello gurus,
I have a requirement where I have to display ToolTip in OBIEE 11G reports when one hovers on its data. For example, If I have a column in a report which displays "serial no." say the data in column is 1,2,3,4,5 etc. when I hover on 1, it should display name corresponding to it. when I hover on 2, it should display another name.
These values which will be displayed on hover action can be hardcoded, they are static values.
Thanks in advance !!Hi User,
Try this , Goto Column Properties of a particular Column ->Data Format->Check mark "Override Default Data Format" and select
Treat Numbers As : Custom
In Custom Numeric Format, Copy paste this code: [html]<p title=\""Comments which you want to Mention" \">#
Please Mark helpful if it is correct.
Regards,
OBIEELearner.
Edited by: obieelearner on Nov 2, 2012 10:09 AM -
Different calculation on each column in table in obiee 11g report??
Hi ,
I have to display values in a table for measures in obiee 11g report which should hold different calculation on each column. For ex:
Result 1:
Flag Display Transaction Amount
C 'A' 2 3
C 'B' 3 0
SubTotal1 5 3
Result 2:
Flag Display Transaction Amount
H 'C' 2 11
H 'D' 0 0
SubTotal2 2 11
Result 3:
Flag Display Transaction Amount
H 'C' 1 0
H 'D' 1 0
SubTotal3 2 0
Final Result:(Transaction shd hold :-subtotal1-subtal2 , Amount should hold:-subtotal1-subtal2+subtota3)
Flag Display Transaction Amount
C 'total tran(1-2) 3 8
Total Amnt(1-2+3)'
Please help me how can i achieve this ... ??? I am new to OBIEE 11g.
Thanks,
PaviThere are a few things I cannot understand; I'm assuming Transaction and Amount are fact columns. Then how do they have different values for the same values of Flag and Display ??
Anyway, sub total can be achieved by going to edit view for the table and from columns and measures area under the Layout pane click on the summation icon and select After. This will automatically display a grand total value at the bottom of each fact column.
Now, to get the final result, say Total Transaction you can add a dummy column and edit its formula.
Total Transaction = trans_subtotal1 - trans_subtotal2 and
Total Amount = amt_subtotal1 - amt_subtotal2 + amt_subtotal3
Now if we could say that trans_subtotal1 is the total of transaction value when Flag = 'C' or something like that then you can get this value of subtotal1 by using the formula FILTER(SUM("Subject Area"."Folder".Transaction Column") USING (DESCRIPTOR_IDOF("Subject Area"."Folder"."Flag column") = 'C')). Similarly we can obtain subtotal2 and subtract them to get the total transaction value. But I am sure if we can do this because for the same values of Flag and Display, Transaction has different values. But by using the above formula, the values we obtain for subtotals 2 and 3 will be the same. So calculating Total Amount would be a problem.
The above formula is obtained by going to edit formula and selecting the filter option at the bottom of the edit dialog box.
Hope I made my point clear -
OBIEE 11g Report-When drilling down to lower level, totals are not matching
Hi All,
I am creating a report in Analytics 7.9.6.3 , OBIEE 11g - Let’s say Budget Cost/Actual Cost based on the Date Dimension
Have selected the Fiscal Year Dim, Fact Budget Cost, Fact Actual Cost
FY BCost ACost
2011 100 120
2012 150 140
Total 250 260
But here when I am drilling down from Year to Quarter and Period - The values are not matching with the totals....
FY FY Qrt BCost ACost
2011 2011 Q1 80 100
2011 Q2 100 90
2011 Q3 110 120
2011 Q4 90 130
Total 380 440
Fiscal Year, Fiscal Quarter Budget Cost and Actual Cost are not returning correct results – When selecting cost's by fiscal year, or filtering on a specific fiscal year, the amount returned does not equal the fiscal year total;
when I am drilling down to Quarter and Period Level the BCost & ACosts are bumping the Numbers as above and not matching with totals
Any suggestions?Check out the query in both the times.Execute against database and try to sum the data for quarter/period and compare it with Year data.
Just try to differentiate is it a report total that is getting wrong or the data in the database table itself is getting wrong stored.
Mark as helpful if it helps.
Regards,
Veeresh Rayan -
OBIEE 11g : Report throwing TNS Error
Hi,
We have installed OBIEE 11g in Linux server. After replacing the Out-of-the-box RPD.
The reports are throwing following TNS Error:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65PState: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)SQL Issued: SELECT 0 s_0, "Assets"."Product"."Product" s_1 FROM "Assets" FETCH FIRST 65001 ROWS ONLY
What configurations we need to re-check?
Regards
SudiptaHI,
Please cross check you rpd connection pool details in physical layer like below.
Data source name
Username and password
Or,
Login Weblogic Console with admin username/pwd.
Goto Services -> JDBC -> Data Sources.
Select Lock & Edit button
Select Data Source "bip_datasource" link in the available Data Sources list
Select Connection Pool tab
.... Change the URL|Driver|Properties|Password
Select Save button.
OR,
you have to go to WEblogic Enterprise Manager (http://<server>:7001/em/. Then go to Business Intelligence folder -> coreapplication. Go to "Deployment" tab and then to "Scheduler" tab. Change the database field to point to the new DB and apply changes.
Or,
Please check Database services running or not including TNS listner service also.
Hope this helps.
Thanks
Satya -
How to display the OBIEE 11g report in the Liferay Portal
Hi,
I have integrated with Liferay Portal and through portal we view the report and Dashboard.
I have provided a Address(url) for individual pages to the portal based html coding it takes to OBIEE analytics.
If say I have page A,B,C for each individual page the address(url) is different.
so,If i click on dropdown A in portal side only that page A alone should display.
Has like if click on dropdown B in portal side only that page B should display
This can be achieved by hide Page.
We have requirement wherein I have Dropdown D there all Pages A,B,C need to be display
How do I achieve this? Please let me know the solution
Thanks in advance,
Padmini
Edited by: 954468 on Mar 17, 2013 8:38 PMPlease shed some light with your answers
Thanks,
Padmini -
Filter value based on Date in OBIEE 11g, Reporting Issue
Hi,
I have following tables
Dim_Item
Dim_Loc
Fact_Price-Item_Key,Loc_Key,Date_Key,Reason_Code,Amount,Load_date
Reason Code is the code which discribes the reson behind price change
Amount- price of Item at particular location (Note: one item can have different price at different location)
Load Date - When ever there is price change for a particular item at particular location new record is inserted in the fact load date represents the date on which the data is updated
Item_key Loc_key Date_key Reason_Code Amount Load_Date
1 1 20131113 0 1400 13/11/2013
1 1 20131115 6 1100 15/11/2013
2 1 20131112 0 900 12/11/2013
2 2 20131112 0 1200 12/11/2013
2 2 20131113 3 325 13/11/2013
My report requirement is
Report should show only the Item & location for which there is price change
Report should be like
Item Loc Orignal_Amt Changed_Amt
1 1 1400 1100
2 2 1200 325
I have tried to calculate Orignal_Amt by taking Min(Load_Date) & Changed_Amt by taking Max(Load_Date) but result is not correct
I need to min(Load_Date) or max(load_date) for an Item at particular location
i.e it should be like min(load_date by item_key,loc_key)
max(load_date by item_key,loc_key)
then I can filter out Amount based on this min & max value.
How can I achive this, is there any other approach to achive this
Thanks
SameerHi,
Does this approach with comparing prices in the first and last date of the period actually indicates the price change?
What about the sample data below - is considered to be a price change or not?
Item_key Loc_key Date_key Reason_Code Amount Load_Date
2 2 20131110 0 325 12/11/2013
2 2 20131111 0 1100 12/11/2013
2 2 20131112 0 1200 12/11/2013
2 2 20131113 3 325 13/11/2013
Option #1:
Use 2 requests:
Req1 selects surrogate key for the first and last record by load date for each location and product. Surrogate key is just a concatenated expression of Item_Key, Loc_Key and Load_Date fields (use separators between them).
For this request you need to filter out all other dates but first and last - use Rank function with BY clause. It will be 2 calculated fields: RANK(Date_Load BY Item_Key, Loc_Key) = last date, RANK(-Date_Load BY Item_Key, Loc_Key) = first date. Select records having any of these ranks=1.
In result this request should return up to 2 records for each product-location combination with surrogate key, something like this for my example:
Item_key Loc_key Date_key Reason_Code Amount Load_Date KEY
2 2 20131110 0 325 12/11/2013 LOC:2;ITM:2;DT:20131110
2 2 20131113 3 325 13/11/2013 LOC:2;ITM:2;DT:20131113
In fact, it could be more than 2 records in case there are more than 1 change in a day for the price and no time stored on date field. This is up to you how to eliminate duplicates.
Now you have another request, resulting one, which is filtered by Req1 using the same surrogate key expression. Orignal_Amt =Min(Amount), Change_Amt = Max(Amount). Apply a filter to find records with different values between them.
In result, if product price is the same in the beginning and end of period (or it is single record) - these records will be filtered out, otherwise you get them in the report.
Option #2:
Play around with logical SQL under Advanced tab, it allows you to write requests with joins (as regular SQL does).
This is sort of desperate option as such an analysis is hard to maintain (make modifications to it). -
OBIEE 11g: Report not displaying maximum rows per page
I have an OBIEE report that is not displaying the maximum rows per page. When I click on the UP/DOWN arrow at the bottom of the report there is no change.
Hi,
Refer the below link.
http://satyaobieesolutions.blogspot.in/2012/08/limit-row-in-table-and-graph-in-initial.html
OR,
https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=1198961.1
Add the following to your instanceconfig and then restart the presentation service.
file path
D:\Oracle\Middleware\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1\instanceconfig.xml just add below lines
<Views>
<Pivot>
<MaxCells>6500000</MaxCells>
<MaxVisibleColumns>100</MaxVisibleColumns>
<MaxVisiblePages>100</MaxVisiblePages>
<MaxVisibleRows>65000</MaxVisibleRows>
<MaxVisibleSections>25</MaxVisibleSections>
<DefaultRowsDisplayed>500</DefaultRowsDisplayed>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>65000</DefaultRowsDisplayedInDownload>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DisableAutoPreview>false</DisableAutoPreview>
</Pivot>
<Table>
<MaxCells>6500000</MaxCells>
<MaxVisiblePages>100</MaxVisiblePages>
<MaxVisibleRows>65000</MaxVisibleRows>
<MaxVisibleSections>25</MaxVisibleSections>
<DefaultRowsDisplayed>500</DefaultRowsDisplayed>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>65000</DefaultRowsDisplayedInDownload>
</Table>
</Views>
Hope this help's
Thanks,
Satya -
OBIEE 11g Report Level Conditional Filters
Is it possible to have conditional filtering of data in obiee answers once data is retrieved.
i.e without hitting the database again.
e.g I have the sales details for a region. Once the report is displayed in dashboard, can the users filter records based on sales figures > 10,000 etc?
thanksHi,
I understand that you want the cache to have the latest data instead of stale data. For the BI server to have the Latest Data the only way is to get the latest data from Database, so it has to hit the DB. We cannot help it ,but we can control when it can hit and the number of times according to our usage and the changes to the DB.
We can use the seeding cahe option to keep the cache up to date (Using Agents), the time interval is your wish(Generally right after the ETL load).
http://rampradeeppakalapati.blogspot.in
Thanks,
Ram -
OBIEE 11G report download with excel 2000 is not working properly
Hi all,
The Analytics report download is not working properly in excel 2000.
This version is no longer supported?
Is any way to workaround this problem?
Cheers
Carlos PereiraHi,
which version r u using? until obiee11.1.1.5 its bug but solve it by workaround method . also the bug fixed in obiee.11.1.1.6
11700314 REPORT NOT EXPORTED FULLY INTO EXCEL WHEN DOWNLOADING FROM PAGES OTHER THAN 1
1) stop it all u r bi serivices then take a back of u original instanconfig.xml file then do the below changes
D:\Oracle\Middleware\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1
instanceconfig.xml
just add below content then
<Views>
<Pivot>
<MaxCells>6500000</MaxCells>
<MaxVisibleColumns>100</MaxVisibleColumns>
<MaxVisiblePages>1000</MaxVisiblePages>
<MaxVisibleRows>65000</MaxVisibleRows>
<MaxVisibleSections>25</MaxVisibleSections>
<DefaultRowsDisplayed>500</DefaultRowsDisplayed>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DisableAutoPreview>false</DisableAutoPreview>
</Pivot>
<Table>
<MaxCells>6500000</MaxCells>
<MaxVisiblePages>1000</MaxVisiblePages>
<MaxVisibleRows>65000</MaxVisibleRows>
<MaxVisibleSections>25</MaxVisibleSections>
<DefaultRowsDisplayed>500</DefaultRowsDisplayed>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
</Table>
</Views>
Restart all u r bi services..
then test it out.
Thanks
Deva -
OBIEE 11g Time Series Function
Hi All,
I am trying to compare this year to date sales to last year to date sales and this code is not working:
TODATE(<Measure>,<Time_Level>) For bellow syntax we are getting an error Formula syntax is invalid.
TODATE("Fact - Sales Order Lines"."Net Ordered Amount", "Time"."Enterprise Year").
Is the above example wrong?. Please provide one example for Time level value.
Actually what should be the value for second parameter (Level)
Thanks in advance.Hi,
What error are u getting? make sure year hierarchy level on u r time dimension and then test it
example: (via bmm)
ToDate("Subject area"."Presentation table"."measure Column", "Subject area"."Time dim table name"."year dimensional hierarchy" )
ToDate("Sample"."Fact_ICA"."Sales_Amt", "Sample"."Period"."Year" )
<<Measure>> represents the logical measure column from which you want to derive. In this example, you would select the measure "Dollars" from your existing logical fact tables.
<<Level>> is the time series grain you want to use. In this example, you would select "Quarter" from your time dimension.
Refer section About the TODATE Function
http://docs.oracle.com/cd/E23943_01/bi.1111/e10540/dimensions.htm#BABBEGHH
Thanks
Deva
Edited by: Devarasu R on Feb 18, 2013 6:02 PM -
Hello everyone!
Can I get some help with the following scenario?
My analysis show only first 500 rows. If I export the report to Excel then all the rows are exported.
Is there a way I could increase the rows to be displayed in the analysis.
Thanks for the help in advance.
Ajay.Nagireddy,
I am not sure if sharing the screen shot would be of help as I cannot replicate the issue via a screenshot.
Also the report which I am talking about is a union of many other reports. So would that make a difference.
I am unable to attach the screenshot.
The report looks like:
Set Operations
Combine criteria from one or more subject areas. Click on the Result Columns or Criteria links below to edit the corresponding columns and filters. Numbers of columns and their data types must be consistent across all criteria and Result Columns.
report a
union
report b
union
report c
Double click on column names in the Subject Areas pane to add them to the analysis.
Thanks,
Ajay. -
How To place two images in a obiee 11g Report Page header
Hi ,
Greetings for the day!.
I want to place two images (one at top left and another at top right ) above the table view . I am not sure how it is called as. i think it is page header . Can anyone let me know how to accomplish this ?
Kind Regards
SudarshanHi,
Will you pls let me know the best pixel size can be given for both images ?
Also how can i make the images left and right aligned .Formatting option is not allowing to move the images left or right.
Pdf output of the report header should display images one at extreme left and extreme right.
Will you pls let me know whether i can try in single view(title/static/narrative) with html code like below :
<img src="smiley.gif" alt="Smiley face" align="middle" />
If so pls provide the details. -
Good Afternoon
How can i hide some of my reports on the Front end?
Regards
RaynoHi Guys
Managed to hide the report.
We have folders on a dashboard displaying a tree like structure of reports and what i did was went to catalog clicked on the desired report selected properties and at attributes selected "hidden" this hides the report from the folder structure on the Dashboard.
Thanks for the help.
Regards
Maybe you are looking for
-
Any issues with audio in OS X Yosemite?
After installing, the audio is disabled. I searched some other forums and saw that a reboot may work. But that did not do anything. Is anyone else having this problem with a MacBook Air? Thanks.
-
How can I do to restart my questions
how can I do to restart my answers for the security questions as I forgot then and cannot proceed with purchasing
-
Exchange rate is redetermined during sales document copy
Dear expert, When we copy a quote, CRM re-determines the exchange rate based on the today's date.It does not keep the exchange rate and exchange rate date which were used in the original quote. I can't change the exchange rate date in order to have t
-
Does file will be deleted??
i m going to download mavericks but i am afraid that all my important files and photo will be deleted or not after downloading it
-
Batch Input Session for RFUMSV50 is not getting processed.
Dear All, When i am trying to transfer the Service Tax Inetrim account to Service tax final account with the help of the program RFUMSV50 the batch input session is getting generated without any error. But when i process the same in SM35 it is not ge