Help on Creating Aggregates on MultiProvider
Hi All,
Is it possible to create aggregates on MultiProvider or its possible in Basic Cubes Only. please suggest with that? some document i go through You do not have to create aggregates for MultiCubes.
regards
babu
magesh,
aggregates on multiprovider would mean separate aggregates on the constituent cubes / ODS...
Go to the cube and select propose aggregate from query and select your multiprovider query - use the aggregate(s) proposed for the same....
When running the query on multiprovider , the agregates on the constituent cubes will be used...
Arun
Hope it helps...
Similar Messages
-
Help!Create Aggregates For Cube 0C_C03 Ocurs Eror
When I create a aggregate for cube 0ic_c03, and fixed value to characteristic '0PLANT', Error occurs as following: ,how can I do?
'acna': InfoCube '0IC_C03 contains non-cumulatives: Ref. char. 0PLANT not summarized
Message no. RSDD430
Diagnosis
InfoCube 0IC_C03 contains key figures that display non-cumulative values. The non-cumulative values, however, can only be correctly calculated, if the aggregate contains all characteristic values of the reference characteristics (the characteristics for the time slice).
System response
The aggregation level was set to 'not aggregated' for the reference characteristics.Hi Shangfu,
Info cube 0IC_C03 consists of non-cumulative key figures which means breifly the values are aggregated in run-time based on Time characteristics.
Include time characteristics "0CALDAY" as part of the aggregate in addition to "0PLANT" object to avoid this problem.
There are many OSS Notes explaining the purpose and usage of Non-cumulative key figures.
Cheers
Bala Koppuravuri -
Error when creating aggregate table
Hello,
I am creating an aggregate table using the Aggregate Persistence Wizard. When trying to run the batch file, I am receiving an error: "Could not connect to the Oracle BI Server instance".
But then, the Oracle BI Server is running and I am able to do queries in answers with no connection issues. (Pls see below)
Please help.
Thanks,
Felicity
D:\OracleBI\server\Repository>create_agg.bat
D:\OracleBI\server\Repository>nqcmd -d AnalyticsWeb -u Administrator -p Administ
rator -s D:\OracleBI\server\Repository\CREATE_AGG.sql
Oracle BI Server
Copyright (c) 1997-2009 Oracle Corporation, All rights reserved
create aggregates
"ag_SalesFacts"
for "SupplierSales"."SalesFacts"("Net Weight Shipped","Units Ordered","Units Sh
ipped","Dollars")
at levels ("SupplierSales"."ProductsDim"."Type", "SupplierSales"."CustomersDim"
."SalesRep", "SupplierSales"."PeriodsDim"."Month")
using connection pool "ORCL"."SUPPLIER CP"
in "ORCL".."SUPPLIER2"
create aggregates
"ag_SalesFacts"
for "SupplierSales"."SalesFacts"("Net Weight Shipped","Units Ordered","Units Sh
ipped","Dollars")
at levels ("SupplierSales"."ProductsDim"."Type", "SupplierSales"."CustomersDim"
."SalesRep", "SupplierSales"."PeriodsDim"."Month")
using connection pool "ORCL"."SUPPLIER CP"
in "ORCL".."SUPPLIER2"
[10058][State: S1000] [NQODBC] [SQL_STATE: S1000] [nQSError: 10058] A general er
ror has occurred.
[nQSError: 37001] Could not connect to the Oracle BI Server instance.
Statement preparation failed
Processed: 1 queries
Encountered 1 errorsWill this help you solve issue http://forums.oracle.com/forums/thread.jspa?messageID=3661598
Check the comments in this blog http://obiee101.blogspot.com/2008/11/obiee-aggregate-persistence-wizard.html
It deals with use permissions for the database.
hope answers your question..
Cheers,
kk -
Can't create aggregate device?
Can anyone help me here, I know exactly how to create an aggregate device but when I go to hit the check boxes for various ins/outs it flashes like it worked for a second then appears back where it was on the list, unchecked. I have no idea what the problem is, but it won't let checks appear, it just appears checked and goes tot he top of the list for about a nanosecond and then appears again at the bottom unchecked, hence i cannot create aggregate audio devices.
EDIT: also, i've tried restarting, etc numerous times to no avail.
Message was edited by: samonguitarAs a longtime user of Aggregate Devices, I can assure you that this issue is in fact real, and VERY new. What has happened since two weeks ago since I last used my setup?!?
Basically everything looks normal until you try to check the box to add the device to the list. You can click the plus sign, but when you try to check the boxes the check mark flashes in the box, and the "selected" item moves to the top for an instantbut then returns, unchecked to its original location in the list.
The forums and the genius bar have been no help (because I know more about this software than the staff) and I have tried varying the USB/firewire ports, only using certain devices, trying different devices... essentially everything I can think of save a system restore to earlier last month, which I do not have time to deal with right now.
This is a nightmare as I have a recording session tomorrow and have spent all day trying to figure out what is wrong... with no end in sight. Does anyone have a solution?
Apple, please address this issue ASAP! -
What are the guidelines for creating aggregates?
Hi Everyone,
I am required to create aggregates for an infoprovider.
On what guidelines and criterias should I determine how many aggregates to create and what characteristics should be included in the aggregates?
For example if i have 5 queries created for this infoprovider and the selection inputs for each query is different. The number of characteristics displayed in the query is also different.
Does it mean I should have 5 different aggregates for this infoprovider?
Thanks.
Regards,
Shunhui.hi Shunhui,
take a look ppt and e-learning on aggregate
https://www.sdn.sap.com/irj/sdn/developerareas/bi?rid=/webcontent/uuid/fe5b0b5e-0501-0010-cd88-c871915ec3bf [original link is broken]
'intermediate course' - SAP BW Query Performance Tuning with Aggregates
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/d9fd84ad-0701-0010-d9a5-ba726caa585d
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
you may not need 5 aggregates
Tips for Building (and Maintaining) Good Aggregates:
-Relatively small compared to parent InfoCube
-Try for summarization ratios of 10 or higher
-Not too specific, not too general should serve many different query navigations
try to combine characteristics used in query and check the summarization ratio and get the best combination,
e.g aggregate contains char1, char2 have good ratio
and char3,char4 and char5 have another good ratio,
then you just need 2 aggregates.
hope this helps. -
Hi gurus,
I have problem with creating aggregate tables. I use Oracle business intelligence 11g R1 cookbook book for help but I think author forget some important things and I can't create it.
I have fact table and dimension (fact_table, group_product_dim). I summery them and now I got fact aggregate table and aggregate dimension (fact_table_agg, group_product_dim_agg):
summary:
fact_table
fact_table_agg
group_product_dim
group_product_dim_agg
After I create physical diagram for base and aggregate combination in physical layer.
Now I need to move this tables in BMM. Which combination I need to bring in BMM layer? Both, basic combination or aggregate combination?
I move basic combination (fact_table, group_product_dim) and try two add two logical table source in dimension group_product_dim. Create a new logical table source by right-clicking on the group_product_dim logical
table and selecting the New Object | Logical Table Source option. This will bring up the new window Logical Table Source.
I select the physical table by clicking the + sign and select (group_product_dim_agg) the aggregate dimension table. Now I make the column mapping on the Column Mapping tab of the same Logical Table Source. Only few columns are mapped and all the others are unmapped. This is because the aggregate dimension table doesn't store all columns from basic dimension group_product_dim. The last modification I do on the Content tab of the Logical Table Source.
I need define the levels at which this logical table source can satisfy queries. This step is very important. Making any kind of mistake will cause the BI server to use a wrong logical table source for the queries.
Here I have a problem because I can't put Logical Level into Aggregation content, group by menu. I can't put anyting else then the default value Column.
Tnx,
best regards1.) http://www.amazon.com/Oracle-Business-Intelligence-Cookbook-ebook/dp/B00DHCKTXQ/ref=wl_it_dp_o_pC_nS_nC?ie=UTF8&colid=322X8WO18RFEG&coliid=I13QJ38KK8PYTB
2.) I create NEW business model in BMM and after drag a fact_table and group_product_dim into it. Do I need drag aggregate objects into New business model, also?
I don't, I drag only fact_table and group_product_dim and create New Logical Table Source on group_product_dim where I try make new source.
Can you tell me what I need to do in background? Do I need map columns from dimension to aggregate dimension? -
Creating aggregates on partitioned Cube?
Hello Everyone,
We have a cube partitioned by Fiscal year/period. Will creating aggregates help at all after partitioned is done? Essentially, do you create aggregates if a cube is partitioned? Is it either partition or aggregate?
ThanksHi,
these two concepts are independant: you can create an aggregate or not:
- if your AGG has 0FISCPER, it will be partitionned as well.
- you can create an AGG without 0FISCPER; it won't be partitionned
Of course it makes sense to create an AGG on partitionned cubes! And of course it will help....
I magine an AGG with 0FISCYEAR compared to the same AGG with 0FISCPER; it will have potentially 12 times (if your fiscyear has 12 periods...) less records thus queries using it will be definitively faster.
In adidtion you can create an aggregate for a particular FISCYEAR (e.g. 2007)...
Please note that partitioning will only help if your cube is collapsed; indeed the partitionning only affects the E fact table.
hope this helps....
Olivier. -
How can i increse query performance other than creating aggregates
Hi,
i created one query and it will take more time to give a report i created aggregates but no use again it will take same so pls give me a option to increase the query performance.
bye .
sandhya.Hi SANDHYA,
You can increase the query performance by using indices too. You can search a table for data records that satisfy certain search criteria faster using an index.
An index can be considered a copy of a database table that has been reduced to certain fields. This copy is always in sorted form. Sorting provides faster access to the data records of the table, for example using a binary search. The index also contains a pointer to the corresponding record of the actual table so that the fields not contained in the index can also be read.
Pls refer the follwoing links for more idea about indices
http://help.sap.com/saphelp_nw04/helpdata/en/9b/c743f5b40711d194f900a0c929b3c3/frameset.htm
Re: Bitmap vs BTree
How to create B-Tree and Bitmap index in SAP
Re: Cardinality
Line Item Dimesnion
I ve some good documents regarding indices...I would send them if i know ur mail id.
regards,
RV. -
Can't create aggregate device in SL
Just installed SL and i'm having problems with Audio MIDI Setup, i need to create a new aggregate device to use my mixer etc but when i click the + symbol, the new device will flash in the list and immediately disappear. Is this a bug or am i doing something wrong? This worked fine for me with the same setup in Leopard.
SOLVED!!!!! I spend about 5 hours one the phone with Cameron at AppleCare as well as some time on my own, and we FINALLY figured it out!
The important thing is that you can ONLY add aggregate devices from an admin account, but that may not be the only problem. It certainly wasn't in my case. So, here are the steps to follow:
1. Try adding/removing aggregate devices from an ADMIN account. If this works, you're good. If it doesn't, or if you're already on an admin account, try creating a new admin account.
2. If even a new admin account doesn't work, REINSTALL SNOW LEOPARD. If you just use the default install, it does an Archive and Install. It only takes about an hour, and you won't even notice OS X has been reinstalled except for the fact you'll have to reinstall the 10.6.1 update and any other misc. updates. Besides, it'll run a lot faster. It's so easy in fact that I'm going to start recommending you reinstall like this every couple months or so just to keep your Mac running in top condition.
3. NOW try creating aggregate devices from one or more admin account. It should work now. If it doesn't, then you have a different problem and I can't really help you much.
Hope this helps someone! -
Creating Aggregate device?
I'm having trouble with creating an Aggregate deivce on 10.6
Are there any tutorials for 10.6 (not leopard as it seems to have changed in 10.6?)
I basically want to record in Soundflower but output and monitor on my Edirol USB interface?
I have both of these selected in Audio MIDI setup and what i thought was "soundflower INPUT and Edirol OUTPUT but can't seem to get it to work
Any info or tutorials on creating Aggregate Devices in 10.6 or help would be great
ThanksProblem solved: Must be done from an admin account.
-
Can we create aggregates on the cube which has been compressed
Hello Gurus,
Can we create aggregates on the cube which has been compressed. We have a AP cube with 60 Millions of data. If we compress it now, going forward, can i create Aggregates on that cube. How is the performance will effect.
Answers will be rewarded...Hi......
This is a tablespace problem........its better u contact any Basis people.......Since the no of records is huge......due to this the problem arrise..........they can solve the issue.....
Anyways check this......
http://help.sap.com/saphelp_46c/helpdata/en/2e/d9507794f911d283d40000e829fbbd/content.htm
Regards,
Debjani..... -
Steps before creating aggregates
Hi GURUS
I got an requirement for creation of aggregates for a customized cube.Need to know what are the considerations need to take before creating aggregates.
ThanksHi,
If you want to creat aggregates based in system proposal be sure that you are gathering statistical information for your infoprovider.
aggregates:
[http://help.sap.com/saphelp_nw04/helpdata/en/7d/eb683cc5e8ca68e10000000a114084/frameset.htm]
Bw statistics:
[http://help.sap.com/saphelp_nw04/helpdata/en/72/e91c3b85e6e939e10000000a11402f/frameset.htm]
regards -
Need Help to create new screen for RF Sapconsole
Hi Guru's
I'm new on RF (but some years in ABAP) since last week.
I need help to create new screens for RF (SAPLLMOB).
Can someone explain me the procedure to create screen (with ABAP code after) or perhaps someone have an exemple (simple or not) ?
I have to develop 2 new screens with really few time.
And, another subsidiary question :
how SAP can transfert information between the flash gun and the screen i have developped.
Is there some code to add to enable this functionality or it is include in SAPLLMOB on standard fields ????
It's a new strange world for me today...
Many thanks to everyone who can explain me
Alainhi,
I am facing this problem as well. Is there any reference to create the new screen?
Hope someone can help! Thanks!
Regards,
Darren -
Need help in creating a chart from 3 datasets
Need help in creating a chart in SSRS from 3 datasets
Can someone help me in creating a chart from 3 datasets, however datasource is same.Thank you Olaf...
could anyone help me in using union all with the below
WITH a AS (
SELECT
clientid,
DATEPART(year, row_date) AS 'Year',
DATEPART(month, row_date) AS 'Month',
value ,
CASE metricid WHEN 16 THEN 'FCR' ELSE 'Cases' END AS metric
FROM XXXXXX AS V
WHERE metricid IN (16, 11)
AND row_date BETWEEN '2012-01-01' AND '2014-10-01'
AND value IS NOT NULL)
, b AS (
SELECT clientid ,
Year ,
Month ,
value AS 'Cases',
metric
FROM a
WHERE metric = 'cases')
, c AS (
SELECT clientid ,
Year ,
Month ,
value AS 'FCR',
metric
FROM a
WHERE metric = 'FCR')
, d AS (
SELECT b.YEAR, b.MONTH, c.FCR, b.Cases
FROM b INNER JOIN c
ON c.clientid = b.clientid
AND c.[YEAR] = b.[year]
AND c.[month] = b.[month]
WHERE c.fcr <> 0 AND b.cases <> 0
,E AS (
SELECT [Year], [Month], SUM(FCR) AS FCR, SUM(Cases) AS Cases
FROM d
GROUP BY [Year], [Month])
select YEAR, MONTH,
CASE MONTH
WHEN 1 THEN 'Jan'
WHEN 2 THEN 'Feb'
WHEN 3 THEN 'Mar'
WHEN 4 THEN 'Apr'
WHEN 5 THEN 'May'
WHEN 6 THEN 'Jun'
WHEN 7 THEN 'Jul'
WHEN 8 THEN 'Aug'
WHEN 9 THEN 'Sep'
WHEN 10 THEN 'Oct'
WHEN 11 THEN 'Nov'
WHEN 12 THEN 'Dec'
END AS MonthName
,e.FCR AS FCRCases
,e.Cases AS TotalCases
,CASE
WHEN [month] IN (11, 12, 1) THEN 1
WHEN [month] IN (2, 3, 4) THEN 2
WHEN [month] IN (5, 6, 7) THEN 3
WHEN [month] IN (8, 9, 10) THEN 4
END AS 'Quarter'
--,CONVERT(DECIMAL(18, 2),(e.FCR/e.Cases)*100) AS FCRRaw
from e
order by YEAR, MONTH
**************2nd query*************
WITH a AS (
SELECT
clientid,
DATEPART(year, row_date) AS 'Year',
DATEPART(month, row_date) AS 'Month',
value,
CASE metricid WHEN 56 THEN 'numerator' ELSE 'denominator' END AS metric
FROM XXXXXXX.[Values] AS V
WHERE metricid IN (56, 10)
--WHERE metricid IN (11,16)
AND row_date BETWEEN '2013-10-01' AND '2014-02-01'
AND value IS NOT NULL)
, b AS (
SELECT clientid ,
Year ,
Month ,
value AS 'numerator',
metric
FROM a
WHERE metric = 'numerator')
, c AS (
SELECT clientid ,
Year ,
Month ,
value AS 'denominator',
metric
FROM a
WHERE metric = 'denominator')
, d AS (
SELECT b.YEAR, b.MONTH, c.denominator, b.numerator
FROM b INNER JOIN c
ON c.clientid = b.clientid
AND c.[YEAR] = b.[year]
AND c.[month] = b.[month]
WHERE c.denominator <> 0 AND b.numerator <> 0
, e AS (
SELECT [Year], [Month], SUM(numerator) AS numerator, SUM(denominator) AS denominator
FROM d
GROUP BY [Year], [Month]
SELECT *,
CASE
WHEN [month] IN (11, 12, 1) THEN 1
WHEN [month] IN (2, 3, 4) THEN 2
WHEN [month] IN (5, 6, 7) THEN 3
WHEN [month] IN (8, 9, 10) THEN 4
END AS 'Quarter'
FROM e
ORDER BY 1,2
******************3rd query**************
WITH a AS (
SELECT --L.[LocationGroupId],
-- T.locationid,
-- T.AccountId,
TR.datestamp,
/*Convert(NVARCHAR, DatePArt(year, TR.datestamp)) + '-' + Convert(NVARCHAR, DatePArt(month, TR.datestamp)) + '-01'*/
TR.Period AS ValueDate,
CASE WHEN TR.TargetResultState = 0 THEN 0 WHEN TR.TargetResultState = 1 THEN 1 WHEN TR.TargetResultState = 2 THEN 1 ELSE 0 END AS Met,
CASE WHEN CONVERT(DATE, Convert(NVARCHAR, DatePArt(year, TR.datestamp)) + '-' + Convert(NVARCHAR, DatePArt(month, TR.datestamp)) + '-01') > T.Startdate AND CONVERT(DATE, Convert(NVARCHAR, DatePArt(year, TR.datestamp))
+ '-' + Convert(NVARCHAR, DatePArt(month, TR.datestamp)) + '-01') < T.Enddate THEN 1 ELSE 0 END AS ActiveTarget
FROM XXXXXX AS TR
INNER JOIN dbo.Target T ON TR.TargetID = T.ID
--INNER JOIN dbo.Location L ON T.Locationid = L.Id
WHERE --locationid <> - 1 AND
TR.Period IN ('201306', '201307', '201308', '201309', '201310', '201311', '201312', '201401'))
select ValueDate, SUM(Met) AS Met, Count(ActiveTarget) AS ActiveTargets,
right(ValueDate,2) as Month
,left(ValueDate,4) as Year
,CASE
WHEN right(ValueDate,2) IN (11, 12, 1) THEN 1
WHEN right(ValueDate,2) IN (2, 3, 4) THEN 2
WHEN right(ValueDate,2) IN (5, 6, 7) THEN 3
WHEN right(ValueDate,2) IN (8, 9, 10) THEN 4
END AS 'Quarter'
from a
group by ValueDate
order by ValueDate -
Need help in creating a 'Generic txt log' monitor
Hi
We require some help in creating a 'Generic txt log' monitor.
In a txt-log a system is writing log-entries of a job.
When the job is running successfully, the entries is like this:
First line: CRM VISMA Import - Start of job execution
Second line: CRM VISMA Import - Job execution finished
When the job is NOT running successfully, the entries are like:
First line: CRM VISMA Import - Start of job execution
Second line <this could be anything>
So, how to we create a monitor that trigger an alert if
First line = "CRM VISMA Import - Start of job execution"
and second line is NOT "CRM VISMA Import - Job execution finished"
And closing the alert if the entries are once again gets:
First line: CRM VISMA Import - Start of job execution
Second line: CRM VISMA Import - Job execution finished
Thanks in advance
/PeterYou may consider using script monitor, below is the coding of script section:
Assumption: the file is stored in c:\temp\AppLog.txx. You should modify the file path for your own situation
Dim oAPI, oBag
dim strComputer, objWMIService, PerfProcess,Perf, PerfPro
Dim PerfMems,PerfMem,Mem
Set oAPI=CreateObect("MOM.ScriptAPI")
Set oBag=oAPI.CreatePropertyBag()
Set objFileToRead = CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\temp\AppLog.txt",1)
Dim strLine,PreLine
Dim jobFail
JobFail=false
do while not objFileToRead.AtEndOfStream
strLine = objFileToRead.ReadLine()
if PreLine<>"" then
if strLine<>"CRM VISMA Import - Job execution finished" then
JobFail=true
else
JobFail=false
end if
PreLine=""
end if
if strLine="CRM VISMA Import - Start of job execution" then
PreLine=strLine
end if
loop
objFileToRead.Close
Set objFileToRead = Nothing
If JobFail then
Call oBag.AddValue("JobFail", "Yes")
else
Call oBag.AddValue("JobFail", "NO")
end if
Call OAPI.Reten(oBag)
Roger
Maybe you are looking for
-
How do I get rid of the "Loading Next Page" thing?
Recently my Firefox started pre-loading pages. As I scroll to the bottom of a web page I get a notification pop-up at bottom right, saying "Loading next page" ... but all it seems to do is reload the page I'm already on, creating a situation where I
-
H.264 out of Compressor fails: 'Codec Not Installed'
Been having a lot of trouble getting Compressor (v2.0.1) to output H.264 files all of a sudden. I setup a batch, the first one will compressed fine, then the next 4 went about halfway through and then failed with an error message 'codec not installed
-
CMS - Transport to Production has all the objects of ID
Hi All, I am trying to transport objects of Integration Directory from Dev to QA to Production using CMS. It is not a new setup. It is successful all the way, upto Production. But it brings all the objects of all the scenarios from QA to Production,
-
Adding "Embed Image" to Illustrator Action
I'm doing about 200 Illustrator drawings that come from a PDF document. I've created an action that resizes the placed artwork and moves it to the correct location on the artboard. I tried adding the "Embed Image" command to the action with no luck.
-
Flash on Mac 10.4?
I'm on Mac 10.4 and Firefox. BBC doesn't like my flash player, though it works perfectly on everything else. I go to download a more up to date one, (though Firefox does never-ending updates), but usual Adobe brick wall, says 10.4 doesn't support Pow