Key figure summing up issue
Hi
I have an infoset based on 3 master data infoobject.Im facing the folloing problem in one of the queries based on the infoset.
In the main infoobject, i have 2 key figures, amount and wage type number.The record for one employee for e.g has values 2 in both amount as well as wage type number.
in the report i see that the value for wage type number shows 4 instead of 2. I checked all possible settings in BeX as well as at infoobject level.couldnt find the reason for such a behavior.
please advise
Regards
JP
Hi JP,
When you are creating query on an InfoSet, you will get the values multiplied by no of combinations. You have do devide with that no(you will get in infoset, no.of records i think). Than you will get right value.
Check once again. I am sure.
Check these out ...
http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb455f455611d189710000e8322d00/frameset.htm
Srini
Similar Messages
-
BEx Query key figure sum different at monthly or at docu number level
I have a query designed in Query Designer. The report is summarized at the monthly level , but the document number is available for drilling down. What's strange is that the sum of the key figures is different when running at the monthly level or when drilling down at the document number level. Can someone share your insight on what how to solve this problem?
Thanks,
SharonHi Sharon
Which key figures give you an incorrect picture or discrpancies in the two displays ?
Check the properties of these key figures. Are any of the key figures posing an issue calculated as 'Formula'. If yes, then what is the Calculate Result as for this KEy Figure ? Is it TOTAL ?
Cheers
Umesh -
Summing up key figure in Cube - data load from ODS
Hello Gurus,
I am doing a data load from ODS to cube.
The records in ODS are at line-item level, and all needs to be summed up at header level. There is only one key-figure. ODS has header and line-item fields.
I am loading only header field data ( and not the item-field data) from ODS to Cube.
I am expecting only-one record in cube ( for all the item-level records) with all the key-figures summed up. But couldn't see that.
Can anyone please explain how to achieve it.
I promise to reward points.
=====
Example to elaborate my point.
In ODS
Header-field item-field quantity
123 301 10
123 302 20
123 303 30
Expected record in Cube
Header-field Quantity
123 60
====================
Regards,
Pramod.Hello Oscar and Paolo.
Thanks for the reply. I am using BW 7.0
Paolo suggested:
>>If you don't add item number to cube and put quantity as adition in update rules >>from ODS to cube it works.
I did that still I get 3 records in cube.
Oscar Suggested:
>>What kind of aggregate do you have for your key figure in update rules (update >>or no change)?
It is "summation". And it cannot be changed. (Or at least I do not know how to change it.)
There are other dimensions in the cube - which corresponds to the field(s) in ODS.
But, I just mentioned these two (i.e. header and item-level) for simplicity.
Can you please help?
Thank you.
Pramod. -
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 -
Reporting Agent - Print Layout - Issue in Displaying Key Figures in Rows
Hi,
We have issue while printing reports using Reporting Agent. As part of Query Definition we have Structure of key figures in Rows. But while creating Reporting Agent , in Print Layout option Under Table Rows we are not able to drag Structure of key fig.
What could be the solution to this issue. How can we use key figures in rows?
Thanks in advance.
SamirHi,
putting product in the rows will slove the issues as the unit cost depends upon the prdoduct and therefore it will uniquely identify each of the material and then it will get multiplies with the qty and therefore you will get the correct result.
this kind of issue you will always face when you are going to multiply cost with the Qty and as the cost differ with the individual material.
Also putting material into the rows will cause the no. of rows to increase as all the materials will show up in the individual rows for the particular month.
Also you can make a claculated key fgure for the multiplication and use before aggregation.
But for that your both the key figures should be in the same cube i.e. in the same rows or the before aggregation will not work you will not even get an option of before aggregation in the CKF if the key figures belong to two different cubes.
Since your qty and cost are coming from two different cubes before aggreagtion will not work here.
And if you do before aggregation then you report will become quite slow as it will do all the multiplication anf then will bring the result.
So it depends on your requirement and your design how to proceed.
Hope it helps
Thanks -
Issue with Bex report - key Figures not populating correctly.
Hi Experts,
I am facing an issue with a Bex report. There are three key figures of data type DATE having "Dec - Counter or amount field with comma and sign" datatype. After executing the query, in the report, for some sales documents the key figure fields are coming as 'X' and rest others are coming correctly in the date format as mm\dd\yyyy.
When i check in the cube, these key figures shows values in decimal format and not in date format. The conversion is happening during execution.
Pleas show me some light on how to identify the cause of getting 'X' for some Sales documents in the report eventhough some are coming correctly.
Thanks,
Anamika
Edited by: Anamika Soni on Mar 12, 2010 10:48 AMHi,
The infobject has been defined with datatype "DATE" only. It has also been mapped from datasource to infocube correctly as these key figures are populating correctly for some of the sales documents in the report. It is not like that for all the sales documents the key figures are not converting properly.
Some Sales documents are not converting into the date fields but for some conversion happens properly in the BEx report. This is the issue.
Please guide accordingly.
Many thanks,
Anamika -
Using the function SUM() in a calculated Key Figure
Hi All,
I need to create a calculated Key Figure and am looking for the function SUM().Can you please let me know where this is present.I have checked under the "Data Functions" and it does not seem to be present there.
Thanks
Aravind PattabiramanHi,
Make use of aggragation property of the keyfigure, for summing the values of that KF.
Regards,
Rajkandula -
Very Very Urgent Issue: Restricted Key Figure does not return any data
Hi all,
Please help me solving this urgent issue.
created customer exit variable on characterstics version and also
other customer exit variable on Value type.
I coded that in variable exit. Problem is when I include these in
restrickted keyfigure My query does not return me any data.
But if I remove from restrickted key firgure and put it as normal
charaterstics I see the variable is getting populated.
Also in RSRT the SQl generated when these are included in RKF is not
correct.
I debugged and know they are getting populated. As when included in RKF
I can also see the values of customer exit variables from information
tab.
I also know that there is data in cube for those restrictions.
I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
Thanks
SAP BW
**Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any dataHi,
Everyone out there this is very urgent. If someone can help me solving this problem.
We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
I posted one oss notes also regarding this issue. But got no reply from SAP.
So, Please help me solving this issue.
Thanks
SAP BW -
Description of key figure for multi language support issue.
Hi Experts,
Have a good day ahead!!
Custom key figure description multi for the language support issue
The key figure is created in English language and description also in English.
When I have logged in to English language and checked the report in Bex ,description of key figure is available.
But when I log in to other language(German, Spanish Portuguese and etc) environment the description in Bex rport of key figure is showing blank
In rsa1 in both English and other(German, Spanish Portuguese and etc) environments key figure description is okay and correctly displaying.
Please post me your inputs on the same.
Thanks in advance!!
Regards
Priya.Hi Prasanth,
This are the key figures XPRECIO: Transactional Price and XPRECLIST: Price list, its maintained in RSA1 tcode at info object level .
These two KF descriptions are maintained in English, its working fine when I login into SAP Bex analyzer with English language and its not showing the description for the languages (German, Spanish, Portuguese and etc).
Its need to be displayed in when login into SAP Bex analyzer with language German, Spanish, Portuguese and etc.
Regards
Priya -
Building a new Cube Vs Restricted Key figure in Query - Performance issue
Hi,
I have a requirement to create a OPEX restricted key figure in Query. The problem is that the key figure should be restricted to about 30 GL Accounts and almost 300 Cost centers.
I do not know if this might cause performance issue in the query. At the moment, I am thinking of creating a new OPEX cube and load only those 30 GL Accounts, 300 cost centers and Amount. and include OPEX in multiprovider in order to get OPEX
amount in the report.
whats the best solution - creating OPEX restricted key figure or OPEX cube ?
thanks,
BhatI think you should go for cube as all the restrcited key figure are calculated at OLAP runtime so it will definitely affect the query performance.There are a lot of costcenter for which you have to restrict it so definitely during the runtime of query it will take a lot of time to fetch tha data from infoprovider.Its better that you create a cube with the restrictions and include it in MP.It will definitely save a lot of time during query execution
Edited by: shyam agarwal on Feb 29, 2012 10:26 AM -
Do Any One Can explain How to Create Non-Summing Key Figure??
Hi Guru's,
Can Any buddy explain how to create a Non-Summing Key Figure?
Details:
I am creating Three Key Figures, One of them are Ticket Number's.
Ticket Number supposed to be a Characteristic, but I was asked to do it as a Key Figure.
If I create it as normal KF, then the Ticket Numbers will be summed, isn't it?
Your Help much appreciated.
Regards,
BHHi,
If you are going to use that keyfigure in ODS, in Update rule you are having the option 'OVERWRITE' .
choose Overwrite for that keyfigure instead of 'Addition'.
rgrds,
v.sen. -
Making an average of a sum key figures
hi
I have a key figures that is defined as integer and has the fields in "Aggregation" tab defined as SUM /Summation.
In a report the customer is now asking to see the average values when the data is aggregated. I started making a "Calcultated key Figure", where I defined "Aggregation" tab as follow:
- Expection Aggregation : Average
- Ref. Characteristic: Incident ID
Incident ID is the lowest level of information. Is this correct if I want to calculate the average that starts on incident ID level?Hi,
This will give u result mathematically as,
= Summation of KF / No. Incident IDs -
Key Figure getting summed up in the report
Hello BW Gurus,
Please help me out on this as soon as possible as I need to resolve this issue by the end of today.
I have a Custom Key Figure 'X' in one of my ODS and I am hardcoding it with a constant value, say 1000. When I load the data and check the ODS table, the Key Figure value is seen as 1000. But when I run a query on a multiprovider that contains this ODS and 2 other cubes ( these cubes don't have the Key Figure X), the value of the Key Figure in the output of the query is getting added up. I need to see exactly 1000 for the Custom Key Figure in the query output. Please tell me how to do this?
Your help will be greatly appreciated and equally reqarded with points.
Thank you in advance.
Best Regards,
Deepthi.Hi Deepthi,
By default, when you run a query, if the KF you are displaying is not displayed with all the characteristics it is compounded, you'll get the KF added.
an example
the ods has:
char 1 char 2 KF
1 1 1000
1 2 1000
if in the query you only include char 1, you'll get a result as follows:
char 1 KF
1 2000
Hope this helps.
Regards,
Diego -
Query key figures calculation issue
Dear Sap Gurus,
I would like to calculate the sum of one key figure on the month m-3 m-2 and m-1
I have created 3 restricted key figures filtered by month m-3, m-2 and m-1
i have created a key figures one which one I sum these 3 key figures but the result per month is not egal to the summation but to the value per month
on the example below
one this field is what i have D- Sum Other Requirements
one this field is what i would like to have Sum Other Requirement Past
Thanks for your answer
Calendar Year/Month janv-07 FEB 2007 mars-07
D- Other Requirements month-6 69,888 PC
D- Other Requirements month-5 281,385 PC
D- Other Requirements month-4 19,854 PC
D- Sum Other Requirements 69,888 PC 281,385 PC 19,854 PC
Sum Other Requirement Past 69,888 PC 351,273 PC 371,127 PCHi,
Create one RKF based on your key figure,
go t property of RKF and mark constant selection.
now in this field you can see the sum of key figure field.
and you can use it for formula.
Hope it help you.
Regards
Suneet -
Code to sum up multiple record key figure values from one ODS to another OD
We've got two ODSs: ODS1 and ODS2 and ODS1 feeds data to ODS2 through update rule. In ODS1, multiple records could contain one same doc records and we would like to sum up a key figure value for these multip records with the same doc number in the update rule and populate a key figure (a sum-up value or total value) in ODS2 for this doc number. We wonder how the code would look like.
Welcome the valuable input!
ThanksHello Kevin,
In this case there is no need of a code. As in ODS2, contract number is a key and PO is not a part of key, you can have update type for the key figure as "Addition". Value for that particular key figure will be added for all the recordes with same contract number irrespective of PO number.
Hope it helps.
Regards,
Praveen
Maybe you are looking for
-
Trying to install Muse, which brought up installing Adobe Air problems
Cant uninstall earlier version. 1.1.0.5790 Get this error trying to uninstall: "An error occurred while uninstalling Adobe AIR. Uninstallation may not be allowed by your administrator. Please contact your administrator." Get this error trying to i
-
Database Adapter Configuration Wizard "File already exists" error
I'm uding JDeveloper 10.1.3.1 on an XP machine running Java 1.5.0_06 and having trouble editing SOAOrderBooking.bpel as part of the tutorial. The tutorial calls for me to drag a new Database Adapter onto the diagram, select the "soademo_ssn" database
-
Please help - CPU trouble (mainly in Logic Pro).
Hi, I've had my Mac Pro for 3 & 1/2 years. It's a Quad-Core Intel Xeon 2.66 GHz with 12GB RAM and 3 640GB HDs. I know this spec is nowhere near the scale of other people's machines at this point in time, but it doesn't justify the speed mine runs at.
-
how to upgrade windows small business server 2011 essentials to windows small business server 2011 standard(OEM system Builder Pack)?
-
Can you create web galleries in CS4?
I noticed the feature to create a web gallery from a folder of images is no longer in the same menu dropdown. Is this feature still available in CS4? If so, where do I go to find it. IF NOT, is their another way to create automated web galleries? Tha