Measure aggregate sum not summing
Hi
I have many universes, and for all universes I have set measures to sum, where appropriate. However, this seems to work sometimes, and not others. I can't work out when or why it does or doesn't! Does anyone have experience of this?
Thanks
Hi Louise,
Let me try to explain in a bit more detail...
The a) aggregation is done by the group by clause in the actual select that is sent to the database,
so it differs depending on what the user selects when building the query.
But it will do this using the aggregation function you specified in the select.
So if you have
measure object sales sum(sales.amount)
dimension objects country country.id and store store.id
Then the select for a query containting the two objects sales and country would have a group by country.id
The select for the query containing all three objects would have a group by on country.id,store.id
You can verify the actual group by by looking at the generated SQL in the query builder.
The b) aggregation is done according to what is specified in the advanced tab.
You see this tab when you are in Designer and open the object properties dialogue.
Its the second tab in it. (first is the select and where box, second it the aggregation (top part) and list of values (bottom part).
So say you selected all three objects and then created a table with only country and sales, the sales figures (that were queried per store, per country) will be aggregated according to that 2nd tab to the country level.
Note that when you use an aggregation function in the select, Designer will make a best quess as to the aggregation wanted and pre-fill it. So for the sum() function, it will also use sum as aggregation in 2nd tab.
Hope this helps
P.S. looking at the actual generated SQL will also help you determine if you have more that one select done to fullfill you dataprovider. If you have more than one, it is only acceptable if the differences are in measures only. If not, you will get more than one cube back from your query, without any control over how they are synchronized. If so you can try multicube to get the results you would expect (i.e. seen as one big cube i.s.o. more than one).
Similar Messages
-
Preview does not sum column data in PDF forms
Preview is way better than Acrobat for most purposes, but it has some basic limitations that just make it hard to use. for example I have to use this form that asks you to enter $ in a table, however Preview does not sum the column, it just puts a "0" in. Why doesn't Preview add? Plus, this default behaviour makes it harder to paste in my own number as there is a zero in the way. At least it would be nice if it could just remove the 0 and leave me with an editble section. Is this just the product of a badly created PDF form or, as I suspect, a limitation of Preview?
I'm having the exact problem. I have a fillable PDF form that has many checkboxes. Saving the pdf (doesn't matter whether it's 'Save', 'Save All', or 'Save As' under the File menu) will clear/reset the checkboxes in the file.
Anyone know of a workaround for this? Or, is Apple fixing this soon? I really don't want to get Acrobat Pro 9 (well, I don't think it's compatible with Snow Leopard yet anyway)
If you'd like a sample PDF file to try it out, let me know.
Thanks. -
In region definition have a SQL Query (Updateable Report) from a collection. Everything is working great even the radio buttons. I want to sum the regular hours column so under the report attributes tab, I checked the sum box for the REG_HOURS column, but it will not sum. Just shows zero all the time.
select
x.APPR_STATUS,
CASE WHEN NVL(x.APPR_STATUS,'1') = '1' THEN 'CHECKED ' ELSE '' END CHECKED_Y,
CASE WHEN NVL(x.APPR_STATUS,'2') = '2' THEN 'CHECKED ' ELSE '' END CHECKED_N,
CASE WHEN x.APPR_STATUS > 0 AND x.UPLOAD_ID > 0 THEN 'DISABLED ' ELSE '' END DISABLE_RADIO,
x.ID,
x.LINEITEM_DATE,
x.ATT_CODE,
x.LABOR_CATEGORY,
x.CC,
x.WO,
x.DESCRIPTION,
x.SQUAWK,
x.REG_HOURS,
x.COMMENTS,
x.BADGE,
x.PAY_CODE,
x.CHARGE_TYPE,
x.LAST_EDITED_BY,
x.APPR_STATUS APPR_STATUS_HIDDEN,
x.APPROVER,
x.UPLOAD_ID UPLOAD_ID_HIDDEN,
x.APPR_STATUS_SAVE,
decode(x.EDIT_FLAG, 'N', ' ',
'<a href="'
|| 'f?p=&APP_ID.:23:&SESSION.::&DEBUG.::'
|| 'P23_SELECTED_ID:'
|| ID
|| ">'
|| '<img src="#IMAGE_PREFIX#menu/pencil2_16x16.gif"></a>') Edit,
x.ID AS COPY,
decode(x.EDIT_FLAG, 'Y',
-- decode(x.last_edited_by, :A_USER_BADGE,
'<a href="'
||'f?p=&APP_ID.:23:&SESSION.::&DEBUG.::'
||'P23_DELETE_ID:'
|| ID
||">'
||'<img src="#IMAGE_PREFIX#delete.gif"></a>',
' ') DEL,
'#ROWNUM#' ITEM_NUMBER
from ( select ac.c003 ID,
ac.c004 LINEITEM_DATE,
ac.c005 ATT_CODE,
ac.c006 LABOR_CATEGORY,
ac.c007 CC,
ac.c008 WO,
ac.c009 DESCRIPTION,
ac.c010 SQUAWK,
ac.c011 REG_HOURS,
ac.c012 COMMENTS,
ac.c013 BADGE,
ac.c014 PAY_CODE,
ac.c015 CHARGE_TYPE,
ac.c016 LAST_EDITED_BY,
ac.c017 APPR_STATUS,
ac.c018 APPROVER,
ac.c019 UPLOAD_ID,
ac.c020 APPR_STATUS_SAVE,
ac.c021 EDIT_FLAG
from apex_collections ac
where ac.collection_name='APPRTIMECOLLECTION') xPeter,
Thanks for responding. Since you did respond I am going to give you credit. Thank you. I did resolve my problem yesterday.
ANSWER:
When working with collections, everything is treated as a character unless you specify otherwise. So I changed the reg_hours field from ac.c011 to ac.n001 and the sum is working now.
select
x.APPR_STATUS,
CASE WHEN NVL(x.APPR_STATUS,'1') = '1' THEN 'CHECKED ' ELSE '' END CHECKED_Y,
CASE WHEN NVL(x.APPR_STATUS,'2') = '2' THEN 'CHECKED ' ELSE '' END CHECKED_N,
CASE WHEN x.APPR_STATUS > 0 AND x.UPLOAD_ID > 0 THEN 'DISABLED ' ELSE '' END DISABLE_RADIO,
x.ID,
x.LINEITEM_DATE,
x.ATT_CODE,
x.LABOR_CATEGORY,
x.CC,
x.WO,
x.DESCRIPTION,
x.SQUAWK,
x.REG_HOURS,
x.COMMENTS,
x.BADGE,
x.PAY_CODE,
x.CHARGE_TYPE,
x.LAST_EDITED_BY,
x.APPR_STATUS APPR_STATUS_HIDDEN,
x.APPROVER,
x.UPLOAD_ID UPLOAD_ID_HIDDEN,
x.APPR_STATUS_SAVE,
decode(x.EDIT_FLAG, 'N', ' ',
'<a href="'
|| 'f?p=&APP_ID.:23:&SESSION.::&DEBUG.::'
|| 'P23_SELECTED_ID:'
|| ID
|| ">'
|| '<img src="#IMAGE_PREFIX#menu/pencil2_16x16.gif"></a>') Edit,
x.ID AS COPY,
decode(x.EDIT_FLAG, 'Y',
-- decode(x.last_edited_by, :A_USER_BADGE,
'<a href="'
||'f?p=&APP_ID.:23:&SESSION.::&DEBUG.::'
||'P23_DELETE_ID:'
|| ID
||">'
||'<img src="#IMAGE_PREFIX#delete.gif"></a>',
' ') DEL,
'#ROWNUM#' ITEM_NUMBER
from ( select ac.c003 ID,
ac.c004 LINEITEM_DATE,
ac.c005 ATT_CODE,
ac.c006 LABOR_CATEGORY,
ac.c007 CC,
ac.c008 WO,
ac.c009 DESCRIPTION,
ac.c010 SQUAWK,
ac.n001 REG_HOURS,
ac.c012 COMMENTS,
ac.c013 BADGE,
ac.c014 PAY_CODE,
ac.c015 CHARGE_TYPE,
ac.c016 LAST_EDITED_BY,
ac.c017 APPR_STATUS,
ac.c018 APPROVER,
ac.c019 UPLOAD_ID,
ac.c020 APPR_STATUS_SAVE,
ac.c021 EDIT_FLAG
from apex_collections ac
where ac.collection_name='APPRTIMECOLLECTION') x -
Removing Drill Down is not summing up the values for key figure
Hi ,
While analysing the data in BW report , I have encounter the problem in getting the correct data.
BW report is showing two records for material , having different customer ie. customer1 & customer 2 .
If i remove the customer from the Drill down , then values is not summed up , rather it is showing the values only for customer1
Scenario:
With customer drill Down:
Material Customer Key Figure1 Key Figure 2
Mat1 Customer1 1000 2000
MAt1 Customer2 3000 4000
Without customer Drill Down
Material Key figure1 Key Figure2
Mat1 3000 4000
In the query designer there is restriction of customer on two characteristic in default value pane.
The issue is happening for particular material , for other material , BW report is working fine.
Please suggest , to resolve the issue.
Regards,
SudheerHi Sudheer,
What properties are set on your key figures 1 & 2. Could they be set to Min or Max.
There may be an aggregation level set if they are calculated key figures that is worth checking.
With regards
Gill -
My pdf forms will not sumit. Chrome and Firefox tends to open it with default pdf readers. I want to eliminate this issue for those using our site. I think adding a Adobe 8 reader download opption may fix the issue but I do not know were to get the HTML for this can anyone help me.
The latest version is Reader 11, and you can link to the following download site: http://get.adobe.com/reader/
Here's info on using Adobe's logos on your site: http://www.adobe.com/legal/permissions/icons-web-logos.html -
Hierarchy Node not summing properly in Bex Analyzer
Hi Folks,
I am facing an issue in my report where the Hierarchy node is not summing up numbers properly. Just a simple example
Char 1 Value
123 10.1
231 2.1
122 -2.1
Node 1 -
10 (instead of 10.1)
I have tried NODIM functional already and also tried exception aggregation (since I can't use "Calculate result as" option in a heirarchy) for my keyfigues. Please help as I can't think of any other solution. It seems like the node is ignoring the rounding of values which is done by bex for leafs automatically and is only bringing result priod to rounding. This is my assumption. Looking forward to suggestions. Thanks
Regards,
AsadAsad,
Check the no of decimal places you have set for the key figures. Change it to the required no of decimal places. -
Pricing schema does not sum two quantities
Dear all,
Pricing schema does not sum two quantities
300 0 NETW
301 0 OWST 210 210
302 0 YOKI 300 301---Here I expext from SAP to sum NETW and OWST.
However it does not do it.
How can I fix this error.I read our PP as Line 302 will use the sum of lines 301 and 302 as the base for the YOKI condition.
The pricing procedure never adds quantities - it only adds values. Not sure if that is what you are intending.
Look at the details for the line and check if the base value is what you expect.
Also check the following:
1. Is there a Alt Condition Base formula on line 302?
2. Is YOKI a condition that uses the value as a base. (If it's based on quantity, then the value is not used.)
If you want to have line 302 as sum of the values from 300 and 302 - remove the condition type from the line. -
Can ALV Grid show credit limit and excess credit limit but do not sum them?
Can ALV Grid show 100,000.00(in ???1) and 84,260.94(???2). Not sum them up.
Credit limit, Inv. Curr, Inv. Amount, Amt in LC, Excess Credit Limit
100,000.00 USD 1,594.20 5,260.86 84,260.94
100,000.00 USD 263.84 870.67 84,260.94
100,000.00 USD 1,935.60 6,270.38 84,260.94
100,000.00 USD 806.70 2,613.30 84,260.94
100,000.00 USD 214.98 696.43 84,260.94
100,000.00 USD 8.50 27.42 84,260.94
???1 USD 4,823.82 15,739.06 ???2
USD 4,823.82 15,739.06Hi Sandeep,
Please refer to the bold figure as they are the credit limit and excess credit limit for 1 vendor.
It is not right if sum the credit limit and excess credit limit.
Is it ALV cant handle this type of requirement?
Is there any way to solve this?
Credit limit, Inv. Curr, Inv. Amount, Amt in LC, Excess Credit Limit
100,000.00 USD 1,594.20 5,260.86 84,260.94
100,000.00 USD 263.84 870.67 84,260.94
100,000.00 USD 1,935.60 6,270.38 84,260.94
100,000.00 USD 806.70 2,613.30 84,260.94
100,000.00 USD 214.98 696.43 84,260.94
100,000.00 USD 8.50 27.42 84,260.94
100,000.00 USD 4,823.82 15,739.06 84,260.94 <--subtotal line
USD 4,823.82 15,739.06 <-- total line
Edited by: Check Chuan Kuan on Feb 24, 2011 10:03 AM -
OBIEE Error[14041] Nested Aggregation measure are currently not supported
Hi,
Please provide workaround for the OBIEE Error[14041] Error in measure definiion. Nested aggregation measures are currently not supported.
I have two logical columns - Current YTD Invoice Quantity and Prior YTD Invoice Price. I want to create a column which is -
(Current YTD Invoice Quantity * Prior YTD Invoice Price)/ sum(Current YTD Invoice Quantity * Prior YTD Invoice Price)
sum in the denominator should be the sum of all rows returned by the report. So level based measures cannot be used as there are multiple report and dimension used may vary.
Columns Current YTD Invoice Quantity and Prior YTD Invoice Price are already aggregated to Sum.
If I try to do the sum on the physical column while creating logical column, the query is running for 6-7 hours and not giving any result. Both the columns belong to different alias table in physical layer.
Please let me know if you guys know any work around for this issue. Also let me know whether this type of nested aggregation are supported in 11g or not?
Thanks.Hi Adil,
Yes, I did create a hierarchy for the time dimesion.
No, I was not able to specify the aggregate rule since the source of the logical column is another logical column
But the time hierarchy works for rows that is not based upon the SUM aggregate at the answers level.
Say I have 3 columns: Income,Expense, Bottom Line (formula : Income- Expense)
Income is created based upon a case statement in the Logical Column and
Expense is also created based upon a case statement in the Logical Column.
Income 1000 Rupees
Expense -300 Rupees
Bottom Line 700 Rupees (where the Bottom line is a row based upon the Answers aggregate formula
which is SUM(Income+Expense))
When I add a column year, I get the following output
Income 2009 500 Rs
Income 2008 500 Rs
Expense 2009 -150 Rs
Expense 2008 -150 Rs
Bottom Line 2009 700 Rs
Bottom Line 2008 700 Rs
The Bottom Line doesn't spread across the Year
Hope this helps you to understand what my problems is.
Thank you! -
Unit of Measure PCE is not an ISO Code
Hi MDM Experts,
We experienced problems in transferring the Catalog item to the shopping cart. The following error message appears:
"Incomplete items in catalog. Only complete items were transferred "
I checked SLG1 for the OCI error message and found this log:
"Unit of measure PCE is not an ISO code. Item will not be transferred"
I checked table CUNI in both the ERP and SRM server and I found out that PCE is indeed an ISO code. How can I resolve this error? The system is saying that PCE is not an ISO code but the table shows that it is. Is this a bug or something?
Would appreciate your help. Thanks in advance!
ADPIt turned out that in ERP and SRM, ST is the ISO code used for UOM piece. The ISO code in the Data Manager was changed to synchronize the three systems.
-
Unit of measure ST is not defined as a commercial unit
Hi Experts,
While doing Punch Out catalogue in the Maintenance Order, i have received the following error "Unit of measure ST is not defined as a commercial unit".
I have checked in the transaction CUNI, and ensure that the above UoM is maintained.
This is a standard error message M3 491.
Any pointers will be appreciated....
by
PrabhuHi Prabhu,
GOTO CUNI
Check whether Commercial meas.unit field is ticked or not in application Parameters tab.
If not maintained, maintain here the tick
Regards,
Amol -
Message no. AK005 - Asset is investment measure, transaction type not allow
Dear All,
I am getting following error while transfering Investment AuC to Main Asset.
Message no. AK005 - Asset is investment measure, transaction type not allow
I searched the Forum and got some input.., but in that I have a clarification.
Please see my doubt and the forum input.
Internal Order as Investment Measure:
Can you explain me Step 10. Settle the amounts to Main Asset from AuC(Prcg type: Full) - KO88 once again.
How we can give the Receiver Main Asset master in KO88. In KO88 we can only provide the Internal Order. But that Internal Order is already settled to AuC in Step 8.
Please guide me.
Thanks.
Regards,
nms
Re: Settlement of cost center to final asset ?
Posted: Oct 27, 2009 11:40 AM
Hi,
Are you doing any settlement using the AUC asset ?
Normal practice is to Create an Auc Asset and settle cost to Auc. Once the asset is ready for use, finally settle the Auc to final asset.
This can be done in two ways like - line item settlement / investment measure.
Below are steps in two scenarios :
Internal Order as Investment Measure:
1. Define the AuC Asset Class (with investment measure) - OAOA
2. Define the Asset Class u2013 for Main Asset - OAOA
3. Define Investment Profile - OITA
a. Assign the AuC Asset Class (Step-1) in the investment profile
4. Assign Investment Profile to Model Order - OITA
5. Define Order Type (Investment) - KOT2
a. Settlement Profile - OKO7
b. Maintain Allocation Structures - OKO6
c. Planning Profile - OKOS
d. Budget Profile - OKOB
6. Create an Internal Order - KO01
a. With the Investment Profile (Step-2)
b. AuC automatically created by the system using Asset Class given in the Investment Profile
7. Post the amounts to IO - FB01
8. Settle the amounts to AuC from IO (Prcg type: Automatic) - KO88
9. Create the Main Asset - AS01
10. Settle the amounts to Main Asset from AuC(Prcg type: Full) - KO88
AuC using Line Item Settlement:
1. Define the AuC Asset Class (with Line Item Settlement) - OAOA
2. Define the Asset Class u2013 for Main Asset - OAOA
3. Define Order Type (Overhead) - KOT2
4. Create an AuC-Asset (using Step-1 Asset Class) - AS01
5. Create an Internal Order - KO01
a. Assign the AuC u2013 Asset in Settlement Rule in IO
6. Post the amounts to IO - FB01
7. Settle the amounts to AuC from IO - KO88
8. Create Main Asset (using Step-2 Asset Class) - AS01
9. Assign the Main Asset in IO (Step-5) - KO02
10. Settlement AuC u2013 Line Item List - AIAB
11. Settlement AuC - Receiver - AIBU
VVRnms,
Your message is not very clear - while you have mentioned at what stage are you getting the above-mentioned error message, you haven't mentioned exactly what you were trying to do. The fact that you are getting this error is a straight-forward indication that you are attempting to do something that SAP does expect.
However, answering your query about how to use KO88, you have to settle the AuC to a FA (fixed asset, with asset class other than AuC ), as that will close the open AuC, transfer the value from the AuC to the FA and from this point onwards, all transactions will happen to this FA. Your statement "in KO88, we can only provide the Internal Order" is incorrect.
Hope this helps.
Regards
Gulshan -
With new Free Characeristics Aggregates are not being used
Hi....i have a query from a multicube with two infocubes where i have two aggregates one for each cube...in my query both aggregates are being used with no problems....when i add a new free characteristic that appers on aggregates something happens and the aggregates are not being used anymore...i dont understand why this happens because i know that ......free characteristics ....doesnt affects the aggregates usage....is this correct??? or not?
RegardsSince this is an open forum, not Adobe support... you need to contact Adobe staff to help
Adobe contact information - http://helpx.adobe.com/contact.html
-Select your product and what you need help with
-Click on the blue box "Still need help? Contact us"
-or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html -
Measuring point does not exist
Hi,
I am facing problem in pi sheet where in co54 while sending the process msg i am getting the error
"Measuring point does not exist"
"Destination YI16 COCI_MEASUREMENT_DOC_CREATE cannot process the message"
"Message is not sent to any destination"
Can any body help....
RajsekharHello
Check the link below for the info you can gather using the Container Variables.
Creating Alert Categories
http://help.sap.com/saphelp_nw70/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
Regards
Mark -
Error: In language EN, the internal unit of measure DA is not maintained.
hi
i am doing subcontracting operation and when i try to convert the PR into p.o in co02 the system gives this error
In language EN, the internal unit of measure DA is not maintained.
how can i solve this error...Hi,
There are couple of things..
1. PR to PO Creation is not with T.Code: CO02.
2. It seems you are working on Multi Global environment.
Ask your Basis Team to do the Language imports for UOM.
Regards,
Siva
Maybe you are looking for
-
I have been trying all morning to re-install iTunes, but continually receive the following errors: "Service 'Apple Mobile Device' (Apple Mobile Device) failed to start. Verify that you have sufficient privileges to start system services." "iTunes wa
-
Account Assignment field in Sales Order (Internal Order)
Hi SD Guru's In my sales order i have two items with two different item categories....for the 1st item in the account assignment field i can see internal order number field, in the 2nd item i cant see that internal order field. What do i do? Any cust
-
Preloader stuck in Chrome, different issues between browsers but Safari seems ok
When opening in Chrome, site is stuck in preloader, but Safari works fine. Also in Firefox, video does not load. Is there a way that works for all browsers? http://www.fotosonics.com/andoni/andoni.html
-
hi all, i am a newbie, i newly installed oracle 10g in windows 2003 server, and i add a tablespace and given 4 GB size. my disk space is 90 GB. now how much i can increase the tablespace sizes of TSs\ SYSTEM SYSAUX USERS TEMP UNDOTBS EXAMPLE is this
-
My computer was refreshed and the technician did not deactive the CS3 license first and the drive has been wiped. I have my serial number, how can I get it activated?