Oracle Calculation Summary on different levels
Hi Folks,
I have a little problem with my financial form. I would like to calculate some data on form so when user type some amount, the data will automatically get refreshed. This is easy done with seting calculation on item.
My form have relationship Master-Detail-Detail (BLOCK1-BLOCK2-BLOCK3).
On BLOCK2 I am displaying summary from BLOCK3 but I am unable to set summary on level of BLOCK1. Forms doesnt have such property to say reset at BLOCK1 group like reports does.
I have try to set summary on summarized item on BLOCK2 but Oracle complains and throws an exception.
I think this kind of calculation is not possible but I hope someone will convice me on the contrary.
Regards,
Igor
It is possible to assign Structural Elements to any Model Type in BPA. If you are not able to make this assignment it is not active in your Method Filter. You can log in with the Entire Method filter to check this out. You can also modify the filter you are using to include this ability.
The hierarchy you are using is fine and is a commonly used one. Some people use the EPC model, which is specifc to BPA and not a standard, at the level below the value-chain but many use BPMN as you have. If your intent is to use the first BPMN as a pure business process model then you may consider creating a separate custom Model Type, based on the BPMN model, with a scaled down set of allowable objects. This is also done through customizing the filter. If you do this you can also rename the model types in the filter if you wish to have different names at each level.
Note of caution, modifying a method filter can have impacts and should generally be done by someone with a working knowledge of the meta model. If you chosse to change a filter supplied with the tool, copy it and rename it, then update the copy. Always retain the original filter provided with the tool. If you are doing something as simple as adding the ability to use the assignment between Structural Elements and Value-Added Chain models, that would be no big deal. If you get into reusing object and model types that has more impact on the functionality of the tool.
Similar Messages
-
How to generate a Yearly report based on a calculation at the Month level
Have the need to create a report as follows. Any ideas on how this can be accomplished in OBI is appreciated. I have already tried different ways but non worked for me.
The data is stored in a table at day level as follows:
Day Amount_A Amouont_B
1/1/2008 100 100
1/15/2008 200 100
2/1/2008 100 400
2/15/2008 300 200
1/1/2009 100 300
1/15/2009 100 200
2/1/2009 200 100
2/15/2009 400 300
The report should be displayed at Year level. Amount_A is just the summation of Amount_A from the table at daily level rolled up to the Year level in the Time dimension. The same thing for Amount_B.
The formula for Absolute_Error is Absolute(Amount_A - Amount_B). But the problem is that it has to be calculated at the Month level instead of Day Level. So following is the logic for Absolute_Error:
Month Amount_A Amount_B Absolute_Error
Jan-2008 300 200 100
Feb-2008 400 600 200
Jan-2009 200 500 300
Feb-2009 600 400 200
The report should be displayed as follows:
Year Amount_A Amount_B Absolute_Error
2008 700 800 300
2009 800 900 500
Note that the calculation of Absolute_Error results in a different value if it is calculated at the Month level and summed up to Year than if it were calculated at the Day level and then summed up to Year. It is required to be based on Month level for this report.
Is there a way to do this without having to build an aggregated fact table at the Month level?Hi.
Do this:
1. Create Amount_A and Amount_B in BMM without SUM as default aggregation rule.
2. Now, just go to Answers and make report with three columns:
YEAR -- EXPRESSION 1 -- EXPRESSION 2
EXPRESSION 1 is:
sum(Amount_A) - sum(Amount_B)
EXPRESSION 2 is:
sum
abs
sum(Amount_A by MONTH)
sum(Amount_B by MONTH)
My example in Answers:
TIMES.CALENDAR_YEAR
sum(SALES.QUANTITY_SOLD_NORMAL) - sum(SALES.AMOUNT_SOLD_NORMAL)
sum( abs(sum(SALES.QUANTITY_SOLD_NORMAL by TIMES.CALENDAR_MONTH_DESC) - sum(SALES.AMOUNT_SOLD_NORMAL by TIMES.CALENDAR_MONTH_DESC) ) )
This will first summarize amount A and amount B on a month level and then do a difference, after that ABS and then sum on the year level.
This is workaround to avoid larger RPD changes.
Regards,
Goran O
http://108obiee.blogspot.com/ -
Multiplying data at two different levels
I have Actual Forecast Bias data generated at a particular level (%Bias). I want to multiply this against other data that is at a different level in the same cube so as to adjust the forecast in line with actual performance. The Bias% data is at Battery Part# level. The data that I want to multiply it against is Appliance/Battery level. When I run it, the multiplication operates against a rolled up consumption level for all appliances that use a particular battery. I need the Bias % to operate at the battery level, not the rolled up level..
I'm a newbi at this so any help welcome
See the code below
FIX (Batteries, @IDESCENDANTS ("A Size Family"),appliances,ww,@idescendants(NA));
"New forecast %" = #Missing;
"Bias %" = #Missing;
"Bias %" = ("trade units" -> Actual/"trade units");
ENDFIX;
FIX("wif 1")
FIX (@LEVMBRS(appliances,1),@levmbrs(Batteries,0), @IDESCENDANTS ("A Size Family"),ww,@idescendants(NA));
"New forecast %" = consumption*"Bias %";
ENDFIX;
ENDFIX;
FIX("wif 1")
CALC DIM (WW, Supplies, Printers);
ENDFIX;Hi Johnnie
I assume the important bit is the bit within the second fix:
"New Forecast" = Consumption * "Bias %";
The way you have your fix statement set up it is looking at level 0 members in your Appliances and Batteries dimensions (I'm reading your post as if they are separate dimensions). I assume your issue is that the one piece of data is at level 0 interesections of appliances and batteries but the other piece is not possibly at level 0 of one dimension and level 1 or higher of the other, Bias% being the one at the higher level?
If that is the case then I think you need to look at a way of getting from the level 0 member to the correct intersection point(s).
Have you had a look through the technical reference at functions like @PARENTVAL, @ANCESTVAL or the multidimensional options for the same @MDPARENTVAL and @MDANCESTVAL, it sounds like your formula needs to be something along the following lines
"New Forecast" = Consumption * @PARENTVAL(Appliances, "Bias%");
What the above would do differently to your original code would be to get the Bias % value from the parent of the current level 0 member of the appliance dimension being calculated. While this might not be exactly what your requirement is hopefully it will steer you in the right direction.
Hope this helps
Stuart -
Extract Data in Power Pivot from MDX with diffrentnt different Level of Hierarchy in MDX
Hi All,
My requirement is to extract the data form tabular model and put in power pivot,as all the measures calculation is present in model just extracting the aggregated data.
Issue is appearing on Rolling up the data, so is there any way to extract the data so that it will display the right data on different level. As per the below example on level 2 data is getting summed up which is not correct.
Ex:-
Level1
A
10%
B
20%
Level2
30%
Thanks ChandanHi Chandan,
According to your description, you create a SQL Server Analysis Services Tabular model and extract Data in Power Pivot from MDX, the problem is that the hierarchy data rolling up base on the hierarchy level, right?
I have tested it on my local environment, we cannot reproduce this issue. So as per my understanding, the issue can be cause by the hierarchy setting in your tabular model. Here are some links about how to create and manage hierarchies in a tabular model,
please refer to the links and check if the settings are correct.
http://msdn.microsoft.com/en-in/library/hh213003.aspx
http://www.youtube.com/watch?v=qKKNY1Vj_2c
If the issue persists, please provide us more information about you hierarchy creation steps, so that we can make further analysis.
Regards,
Charlie Liao
TechNet Community Support -
Multiprovider - two infoproviders with different levels of summarization
Hi Gurus,
I need to create a report which requires data from two infoproviders, I am thinking of building a multi provider on top of the two infoprovider . I wanted to know if its possible to create a multiprovider on top of two infoprovider with different level of summary. Any suggestions with be very helpful for me.
Kindly let me know..thanks in advance...
cheers,
TuckHi
Two different level of summarization will throw inconsistency in reporting
It is not advisable
Regards
N Ganesh -
Data loading at different levels
We are using Oracle 10g and AWM 10.2 tools to re-write the current Oracle Express application. We have created couple of standard cubes in AWM and it works fine. The design confusion is in one of the case. It is explained below
We are planning to load targets into one of our AW.
Following are the details
Dimensions hierarchy
1. Time Year==> quarter==> Month
2. Point Of Sale(POS) Worldwide ==> Region ==> Country ==> Territory
3. Origin Worldwide ==> Country ==> Territory ==> City
4. Destination Worldwide ==> Country ==> Territory ==> City
Measure
rev_tgt
The challenge is, the target are set in the warehouse at different Point Of Sale levels. i.e. For some POS the targets are set at country level, for some they are set at territory levels. e.g. For India the revenue targets are set only at country level where as for France the targets are set at all the territories of France. The requirement is to show targets at all the levels in the POS above where it is set. The bottom line is that the data is not availble at a fixed level and the dimesion levels are fixed and cannot be ragged.
Query:
How we can design a cube that loads data at different levels and then aggregate the same across all dimension including the higher level of POS dimension.
Solution in the existing Oracle Express
In the current Oracle Express, what we are doing is since we have control over the aggregate program, we have created two aggmaps one with POS and one without. We do two step aggregate for the first one we limit the POS to country level and do a rollup using the aggmap that includes POS. Then we limit POS to all and aggregate using the aggmap without POS.
Can you please assist us on how to implement the above with the AWs.Hi,
Check the below wiki link,
http://wiki.sdn.sap.com/wiki/display/BI/Aggregates--SAPBWQueryPerformance
Edited by: Priya.D on Apr 8, 2010 3:20 PM -
Display different level for same hierarchy value in BO 4.0
Hi Expert,
I have one question for Webi for BO 4.0
We have one hierarchy in BW side and we hope to display differet level in same report for different column
For example, column A is for level 6. column B is for level 7.
Do you know how to releaze this in Webi side?
In the 3.X version, we have different dimension for different level.
But now in BO 4, it has been combined into one\
Thanks and best regards
Alex yangHi,
You can still do this in BI 4.0, if you use the old 'legacy' MDX OLAP.unv from Universe Designer tool .
Yes, with the BICS connection, you are getting a native hierarchy, as it would be displayed in an OLAP environment.
Cheers,
H -
OBIEE report from multiple facts at different levels
Currently we need to develop a report with columns from 3 different facts surrounded with conformed and non conformed dimensions at different levels.
After setting the hierarchial levels and putting the facts into single logical table with different sources OBIEE is generating 2 different queries and does a full outer join.
I would like to know how we can do a left outer join instead of full outer join between the 2 queries based on a common column?
Thanks in advance.Hi Vinod,
The scenario provided in the link above doesnt match to my issue.
We need to develop a report from multiple fact tables at different levels with conformed & non conformed dimension columns.
I have 7 dimensions D1, D2, D3, D4, D5, D6 and D7 & two fact F1 and F2 tables.
F1 is tied to dimensions D1,D2,D3,D4,d5
F2 is tied to dimensions D3,D4,D5, D6 and D7.
In my report I have columns from D1, D2, D3, D4, D5, D6, D7, F1 and F2.
So OBIEE generates 2 queries with columns from D1,D2,D3,D4,d5 & F1 measure and another query with D3,D4,D5, D6, D7 and F2 measure.
and then does a cross fact join out of box between 2 queries.
But I need to do a left outer join between the 2 queries on a common column instead of cross fact join. I would like to know how we can achive this.
Thanks. -
Auto.Reorder point calculation based on service level-calculation incorrect
Hi
I have gone through all the postings pertaining to this topic.Still I am not getting the calculation steps despite of using the same proposed in many of the threads.
My calculation and system calculation as follows:
Service level maintain in MRP2 view was 99.8, so R factor must be 4.00 as per the chart given in sap help.
Planned delivery was 10 days. Material is externally procured. No GR processing time. Schedule margin key was also 000.
Forecast was executed for next 3 months based on past history of 12 months. (Moving average method).
Forecast values for 03.2010 = 140, 04.2010 = 140, 05.2010 = 140.
MAD calculated by system and shown while executing forecast in material master was 48. Safety stock calculated by system was 108 and re-order point was 157.
Since lead time is shorter than forecast period, SS = RWMAD = 4(10/31)48 = 61.94
W = Lead time in days/Forecast period in days.
LTC (Lead time consumption) = 140*10/31 = 45.16
ROP = SS + LTC (lead time consumption) = 61.94 + 45.16 = 107.
Where as system proposal was 157.
Kindly throw some light where is the problem.
Thanks in advance.Hi
It would be grateful if somebody throws light on the above scenario. -
Can anyone explain how data is stored from Oracle GL Summary Accounts?
Sorry if this is posted in the wrong forum but I wasn't sure which one was more appropriate....
Basically I would like to know what Oracle does in the background with summary accounts for it to slow down the period close process. I have been told it's because Oracle applies summary balances to (temporary?) tables, which means Oracle GL is multiplying the number of processes it has to run when you close a period.
Can anyone provide any further info on this?
ThanksTry your chance in one of the more appropriate forum of eBusiness Suite :
http://forums.oracle.com/forums/category.jspa?categoryID=28
Nicolas. -
Displaying different levels of the same hierarchy in the different columns
I have a parent child hierarchy and wish to display different levels of the hierarchy in different columns of the resultset eg
level 1 level 2
Europe UK
Europe France
N America US
N America Canada
However writing MDX like the below
select
{} on 0,
([Geo].[level 1],[Geo].Level 2] on 1
from cube
results in the error "The [Geo] hierarchy is used more than once in the crossjoin
How can I get around this??Hi,
You can make use of CrossJoin function in MDX, I give a sample MDX based on the AdventureWorks database:
select {[Measures].[Reseller Sales Amount]} on 0,
crossjoin({[Sales Territory].[Sales Territory Group].[Sales Territory Group].members},{[Sales Territory].[Sales Territory Country].[Sales Territory Country].members}) on 1
from [Adventure Works]
After execut the MDX you will get the result like this:
Reseller Sales Amount
Europe
France
$4,607,537.94
Europe
Germany
$1,983,988.04
Europe
United Kingdom
$4,279,008.83
NA
NA
(null)
North America
Canada
$14,377,925.60
North America
United States
$53,607,801.21
Pacific
Australia
$1,594,335.38
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
Hi all,
I have BSO and ASO cubes which contain broadly the same information, but with the ASO cube at much higher detail. For simplicity sake, they only have 1 dimension, and 1 fact. The dimension a date and is structured like:
Gen2 = year
Gen3 = year & quarter
Gen4 = year & month
Gen5 = year, month & day
Only the ASO cube has Gen5. the BSO cube only has the information to Gen4 level.
I've imported them both into the RPD and dragged the ASO cube across into the BMM. and then taken the fact column from the BSO cube and dropped it onto the BMM, selected its new source ( the BSO cube ) and set the
Content tab and set the logical level as Gen4.
I then dragged the key items from the BSO date hierachy onto the date dimension in the BMM.
I purposely had a slightly different date hierachy and data content in the 2 cubes so I could tell where it was getting the data from.
If I select the year only...it gets the value from the BSO, and if I drill down to quarter and month it also gets the dates from the BSO cube.
If I select the data fact, it will switch to the ASO cube and retrieve the value from there.
Same applies if I select just the year - data comes in from the ASO cube.
So my question is this, how do I get it to select the data facts from the less detailed cube when the details is not required and only switch to the ASO cube when the extra detail is needed?
Thanks in advance for any assistanceAnyone have any thoughts on this?
Data fact with 2 sources, where source 1 & 2 have differing levels of detail, it always seems to take the data from the more detailed source -
Oracle JDBC driver's Isolation levels
Hi!
Is there a JDBC driver for oracle that supports transaction isolation levels other than TRANSACTION_READ_COMMITED and TRANSACTION_SERIALIZABLE?
Thanks!Hi!
Is there a JDBC driver for oracle that supports transaction isolation levels other than TRANSACTION_READ_COMMITED and TRANSACTION_SERIALIZABLE?
Thanks! -
OBIEE Facts at different levels.
Hi,
I am bringing columns from three tables: Two facts and one Dimension table to create a OBIEE Report.
The fact tables Workforce Event Fact and Employee Daily Snap Fact are at different levels, but both of them have proper joins with Dimension Employee Dim.
When i am pulling columns from D1 and any one of these two facts, i am not facing any problem in seeing results. But when i bring columns from all of these three tables, i am getting this error,
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table Workforce Event Fact) does not contain mapping for [Employee Daily Snap Fact.Exempt Indicator]. (HY000)
Is there anything i have to do in Business Model layer to avoid this error. Many people suggesting to assign an aggregation level for these two facts. But i am not having any Dimensional Hierarchy defined.
Thanks
SwamiHi swami,
Many people suggesting to assign an aggregation level for these two factsThis is a workaround i think where you need to create aggregate tables(not levels) and then use them for your purpose.(OR) you dint define the logical source table properly either correct it.
Another work around i could suggest is,take the 2 fact tables columns needed into one alias table and make it as fact and join this fact table to dimension table and you can get all columns.
Hope it helps you.
Best Wishes,
Kranthi. -
Newbie blues: Oracle Sql Developer showing different data from Sqlplus.
Newbie blues: Oracle Sql Developer showing different data from Sqlplus.
First of all; it would be difficult to know less about Oracle than myself.
I just installed a recent copy of the server and am running SQl Developer 3.2.20.10.
I made a small test table , borrowed some pl sql code to add rows, then wrote code to delete some rows. Lots of fun.
In SQL Developer “Select * from t1;” now shows 7 records, which seems right.
I wanted other views of the data and so logged in from the command line using SQLPlus.
The same code here shows the table prior to the delete, with 600 plus rows. Needless to say I’ve logged out and back in again, with no changes.
No fun ! What am I not understanding here ?5e33d18c-3b32-48d4-82a7-676feeaa97c9 wrote:
Newbie blues: Oracle Sql Developer showing different data from Sqlplus.
First of all; it would be difficult to know less about Oracle than myself.
I just installed a recent copy of the server and am running SQl Developer 3.2.20.10.
I made a small test table , borrowed some pl sql code to add rows, then wrote code to delete some rows. Lots of fun.
In SQL Developer “Select * from t1;” now shows 7 records, which seems right.
I wanted other views of the data and so logged in from the command line using SQLPlus.
The same code here shows the table prior to the delete, with 600 plus rows. Needless to say I’ve logged out and back in again, with no changes.
No fun ! What am I not understanding here ?
Others sessions never see uncommitted data
> then wrote code to delete some rows. Lots of fun.
did you ever actually issue COMMIT so other session can see the changed data?
Maybe you are looking for
-
I am downloading IOS 8 and get error 906; Iphone 5
-
Hi, In my app, user has a pdf witch may use like a template. It's an administrative form that may be complete with mysql data. My goal is to create this pdf and insert field, all must be done inside my air application. When people wants to print
-
Sending special characters to non-unicode non-sap system: user exit
Hello All, We are sending data from a SAP unicode system to a non-sap non-unicode system via IDOC. The idoc is standard idoc GLMAST which contains gl account information. Some text fields contained in this idoc can contain special Polish characters.
-
Nokia e71 New messages not showing in inbox
I recently updated my nokia e71 with the new software from pc suite, everything went fine but i recieved around 3 messages just after I had restored all my data onto it, I went into the inbox to read them but its showing no new messages. On the messa
-
Converting string to float number
Here's what I'm trying to do. The user types a number, such as 12.011, in an input box. I want to check to see if the number they typed is between two numbers, such as 12 and 12.1. Therefore, I want to convert the string in the input box to a float n