Total Result : Colum Average
Hi experts,
I have a colum of time : 00:00:00
Example:
00:22:44
00:11:22
00:01:15
I want to show total result of the colum but NOT SUMA ...I want AVERAGE of all the results in column.
TOTAL RESULT : 00:11:47
Thanks a lot
Hello Marc,
Go to the properties of the selection or formula you are using
and under<b> Calculations </b> you find two drop down box
<b>calculate Result As</b> choose <b>Average of All values</b>.
Thanks,
Peter R
**Assign points if helpful***
Similar Messages
-
Result values are coming as total instead of average.....
Hi Experts,
In my query i have three key figures and three calulated key figures.....In the output except for one key figure the values for others wont change for an employee... so the total for the other key figures should not come as the sum of the individual ones...except for one key figure ...
emp id wage type leavestart date leave enddate amount lengthofservice age noof leavedays
101 2440 01.01.2009 03.01.2009 1000 45 50 3
101 2440 06.01.2009 07.01.2009 1000 45 50 2
so in my output for total for amount it should be 1000 ..length of service 45 ..age 50....no of leave days 5...
so i made for these three key figures in calculations tab
calculate single value as hide....
calculate result as average........ for amount,length of service,age....
for noofleave days
calculate single value as nothing defined
calculate result as nothing defined....
in the output for result rows for these three key figures result is coming as 2000,90,100..........indiviuda key figures are hided properly but the result rows are getting summed ....instead of average....
for no of leave days it is coming correct.............
when i executed the query in rsrt ..i am getting warning 'calculate result as ...not executed'.......why this is not comign... i have done similar thing in another query ..........there it is workign fine...........
In the aggregation tab for these key figures at query level...exception aggregation is key to standard.....
please through some light..
Regrads
vamsi
Edited by: vamsi talluri on Apr 2, 2009 12:13 PMHello,
You can try the following:
Remove the calculate result as setting for the three KFs.
In exception aggregation set property to average with ref char as leave start date.
Check if it works.
If the above dosent work, set reference char to emplyee ID and check.
Either one of them has to work
REgards,
Shashank
Edited by: Shashank Dighe on Apr 2, 2009 9:03 AM -
Calculate result as average in the report not showing average for all
Hello,
I have a calculated key figure in the query where its result should show average. I have made a setting for this calculated key figure as:
1. Calculations tab: Calculate result as "average" and calculate single value as "nothing defined"
2. Aggreagation tab: exception aggregation: Total and reference char: []
Now coming to report, BEX it showing correct average for all cells but when i run it in portal few values it is showing correct average but for few it is showing as blank. I exported this to excel then cell shows blank but cell has some values in the custom format and display values when i change the format to general from "format cells" option.
Please help me in resolving the issue- why portal not showing value for all.
Thanks,
VijayaSAP note solved the purpose.
Thanks & Regards,
Vijaya -
Total result & formula result is wrong in query out put
Hi BW gurus
I have issue with total result and formula result
my requirement
Formula for hours is ( total time / Counter / 60)
hours column displaying
14.2
2.4
3.4
Total -
5.6 not 20 then I setp calculate results to SUM now total displying 20 perfect.
Then I am using hours colum for calculation here is my issue
Qty rec per hour formula is = received / Hour
Hours Qty rec per hour received
14.2 100 14200
2..4 100 2400
3.4 100 3400
20 300 20000 result column for qty rec per hour is wrong . formula is not working on result for qty rec per hour
Actually qty rec per hour result should be 20000/20 = 1000
How to resolve this issue
Thanks
RohanHi BW Gurus,
Thanks for your help .
Let me explain my issue with examples :
My report is by document date level ( Not at Po or PO line Level)
I have a 3 Key figures
1. Hour - is poulation at PO Line level
Ex : 4500001 1 5.30
2 5.30
3 5.30
Then I am using counter to get single for time
Hour/ Count now my value is 5.30 in the report . hour column is perfect
2. Po Qty is fine
3. Qty Recd per hour ( Calculation) PO QTy / Hour
Now the issue is each row caluculating perfect . but result row is not correct Qty Received per hour . We don"t wont sum of Qty received per hour in result . We want Caluclation result in the result
Here is the issue
If I have multiple POs for same document date , each row is fine but system using division at Hour result also by COunter . because of thati am getting wrong hours in result for hour . this wrong result is using for Poqty receved per hour result also .
I put total for hour coulum result is perfect but for clauclation it is talking total hours/ total conter result .How to replace result caluculating by counter .This is our major issue .
Appriciate your response
Thanks
Rohan -
How to have total result of CKF use the formula of the CKF
Hello experts, in a couple of BI reports we need that a Calculated Key Figure's total result use its same formula, instead of using the different calculations that are offered for totals. Let me explain:
We have the following report (please ignore the "-"):
Month----Entries---Exits----Percentage
Jan--82--
25%
Feb--63--
50%
Mar--81--
12.5%
Result--226--
Percentage is calculated as "Exits / Entries * 100", or "Exits %A Entries" (in the latter case, the default calculation of total is "average", while in the former it is "sum") and has an exception aggregation of "Average" with reference characteristic "Calendar Month". The problem we have run up with is that we want the result of Percentage calculated the same way, which is somewhat similar to an average. However, the result is always calculated based on the individual results. This gives us different numbers.
Result Percentage = Total Exits %A Total Entries = (6 / 22) * 100 = 27.27% (CORRECT)
Result Percentage = Average of individual Percentages = (25 + 50 + 12.5) / 3 = 29.16% (INCORRECT)
I've tried different approaches, such as changing the reference characteristic and exception aggregation, selecting "average" as the method of calculating results or individual values, checking the "cummulated" and "Also apply to results" checkboxes, etc. but I was unsuccessful.
Any thoughts?I'll post sample data and give a more thorough explanation of both queries (the one that works correctly and the one that does not). Both queries come from the same infocube:
The correct query: it is a monthly report of entries vs exits for all store types but one (called "general" which should not be included here) in a base country (so if base country is, for example, France, then all stores in France). The query structure and sample data (ignore the "-"):
January--February--
Exits--EntriesPercentageExitsEntries--
Percentage
Store type 1--52025%918--
50%
Store type 2--41822.22%320--
15%
Store type 3--125621.43%1360--
21.67%
Total--2194
22.34% -2598--
25.51%
This query is initially restricted by the base country and the store type "general" (so that it is not considered).
The incorrect query: it is a monthly report of entries vs exits for store type "general" ONLY, outside the base country. The query structure and sample data (for ease of analyzing, I am repeating the data in the key figures, changing the store for the calendar month):
Country 1--Country 2--
Exits--EntriesPercentageExitsEntries--
Percentage
January--52025%918--
50%
February--41822.22%320--
15%
March--125621.43%1360--
21.67%
Total--2194
30.33% -2598--
28.89%
This query is initially filtered by the store type "general" and the base country (so that it is not considered).
As you can see, the percentage can change quite a lot. What confuses me is that in both cases I am using the same CKF "Percentage" with "Average" as exception aggregation and "Calendar Month" as Reference Characteristic.
Percentage = Exits %A Entries
When dealing with individual results, everything is ok. It is only when dealing with totals that the query miscalculates, calculating the totals as the "Percentage" average (the sum of individual values / the number of values).
I modified the incorrect query to match the correct query, so that it looked like a copy of it, and the results were calculated correctly. Then, when I modified it again to return it to its original form, the results were calculated incorrectly again.
Any suggestions? Do you think this could be a configuration issue or something like that? -
In alvs how to do totals by colum wise and row wise
hi,
in alvs how to do totals by colum wise and row wise
could u plz explain clearly with codingHi Rajesh,
Go through these links...
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=88401
http://www.sapfans.com/forums/viewtopic.php?t=17335
Reward Points if this helps,
Satish -
Can not retrive total result for 0HDCNT_LAST(number of employee)
Dear all:
We tried to create query from cube 0PA_C01. We used 0ORGUNIT and Number of Employees(0HDCNT_LAST) in the row and column.Also we created a formula to get total result of number employees by SUMGT (0HDCNT_LAST). But when we executed this query, there is no cumulative value appeared in the "total result" of bottom row. And we are not able to catch total result by formula as well. The setting for infoObject of 0HDCNT_LAST is integer and cumulative.
Can anyone tell me what is going wrong?
Thank you very much
BR
SFHi Jasprit,
I am loading the headcount (0HR_PA_0) to Actions & Headcount cube. As a part of load I have used all the standard fields of the cube. Apart from that I have populated the functional group value from Employee-Org Masterdata. As this is an time dependent.
0HDCNT_LAST is an non-Cumulative key figure in the cube which is get populated from the 0HR_PA_0.
I required a headcount report by functional group. So I have pulled 0HDCNT_LAST & Period into the Columns and Functional Group into Rows.
When I run the report for headcount by function group it is showing very less value. But if run the same report by including the Employee and the functional group in the rows then it is showing the correct headcount in the result.
I am not sure where I am missing.
Regards,
Tony -
Hi all,
For the key figures, the option of "Calculate Results As Average of Detailed Values That Are Not Zero, Null, or Error" works fine for characteristics drilldown without hierarchies, but with hierarchies it simply doesn't work; instead of calculate the overall result as average, the system calculates it as SUM. It works like the option "Nothing Defined" where the results provided by the analytic engine are displayed. No local calculation takes place.
How can I do to display the overall result of hierarchical drilldown of a characteristic as an average?
Many thanks in advance!
AbrahamIt is usually best to just keep it as simple as possible. What do you think the code in the OR Array Elements does? I imagine it is just a simple FOR loop with a variable to keep the latest OR. So I would do what GerdW just showed with the FOR loop.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
hi experts,
we can get each quanlity field total result at the bottom of the searched results by bps basic function,but I wanna know how to exclude some special fields,not all the quanlity fields should get the total result
Best regards
zlfIn query designer, right click the characteristic -> property, you will find "suppress result"
Reference: http://help.sap.com/saphelp_nw2004s/helpdata/en/1a/25213c9cffa027e10000000a11402f/frameset.htm -
In OBIEE Report Grand Total instead of Average(Average) use Sum(Avg)?
Hi All,
In OBIEE Report Grand Total average always shows Average of average (Default) "avg(avg)" , can i overwrite this functionality to sum of average "sum(avg)".
Thanks in advance
Regards
KandasamyHello,
You can try the following:
Remove the calculate result as setting for the three KFs.
In exception aggregation set property to average with ref char as leave start date.
Check if it works.
If the above dosent work, set reference char to emplyee ID and check.
Either one of them has to work
REgards,
Shashank
Edited by: Shashank Dighe on Apr 2, 2009 9:03 AM -
Total Result is not working properly in QA
Hi,
We have requirement to show Total No. of Employees with respect to Age Band and Total No. of Employees in the entire Organization.
We developed the reports as per the requirement to show employees in the age band <20 Years/ 21-30 Years/31-40 Years and so on by restricting No. of Employees with the dimension AGE.
<20 Years----21-30 Years-31-40 Years----->50 Years
0.00 -
754.00-- 425.00--
120.00
The query working properly in DEV, but not in QA.
This is the case with another report also, were we executing to check Total No. of Employees without any restrictions.
But, when i drill down the report with Org. Unit, it is displaying No. of Employees corresponding to each Org. Unit, but not the total Employees (Overal Result) with all the Org. Units.
We checked all the properties with respect to info objects and as well as query properties, but no luck.
Please provide any valuable suggestions.
Regards,
RAO.
Edited by: RAO on Oct 30, 2008 7:30 AMDear Aravindth
(.*?) means -> Select all contents from where you start and end,
For Ex. <month>(.*?)</month> then Select for start <month> and end last </month> tag.
(?) Match zero or one occurrences. Equivalent to {0,1}.
(*) Match zero or more occurrences. Equivalent to {0,}.
(+) Match one or more occurrences. Equivalent to {1,}.
(.) (Dot). Match any character except newline or another Unicode line terminator.
(.*?) means -> Zero or more times Match any character except newline or another Unicode line terminator + Match zero or more occurrences. Equivalent to {0,}.+Match zero or one occurrences. Equivalent to {0,1}.
Could you please refere the below cite :
http://www.javascriptkit.com/jsref/regexp.shtml
Thanks & Regards
T.R.Harihara SudhaN -
Weighted average total displaying as average
Dear BI Guru's,
one of my report Weighted average total value displaying incorrect values, for example
Clinker Value Clinker Rate
(Rs in lacs) (Rs/MT)
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
0.00
342.00
1.21
342.00
0.72
342.00
0.80
342.00
2.73
19.59
Clinker Rate MT should display 342 instead of 19.59, i was applied exception aggregation for clinker value Total and ref characteristic plant. same exception aggregation applied to net quantity keyfigure.
Clinker rate calculation = Clinker value/Net quantity,
thanks in advance who replay as earliest.
regards
Ramesh GWhat is the line item infoobject in your data which is causing given list of records?
Try TOTAL with line item infoobject as ref char but not plant.
Try with constant selection on your KF to display 342. -
Pb in BEx : Total result of differences between 2 restricted KF
Hello,
I have a big problem in the BEX and the best is to give you an example of a scenario:
Quant1 Quant2 Difference(absolute value)
M1 Q1 = 100 Q2 = 80 |Q1 Q2| = 20
M2 Q3 = 90 Q4 = 100 |Q3 Q4| = 10
Tot. R1 = 190 R2 = 180 R ??
For the ratio R, I want to have the sum of the differences, ie R = 20 + 10 = 30 (instead of 190 180 = 10).
If the materials are displayed, I can do that using the propertie of totalisation of result for the formula.
The problem is when I remove the material in order to only have the result, Id like to have the same result, ie the sum of each difference of the materials that compose the result (even if the materials are not displayed anymore). The reality is that it calculates the formula again with the quantities of the total line, ie |R1 R2| = 10.
I think the Bex cant do that as from the moment when I use restricted key figures (which is the case in my scenario).
Do anyone have an idea on how to have my report as I want ?
Thanks for all the answers.
VanessaHello Arun,
Yes I have exactly these properties for the ratio of difference:
"calculate result as" : summation
"calculate single values as" : Nothing defined
"Formula collision" : Nothing defined
It doesn't matter changing the formula collision as there is no formula collision (I've tried).
I think the problem comes from the fact that when the materials and the result are displayed, materials are considered as single values and the result as a result.
When I remove the material, the result becomes a single value and therefore, it isn't correct.
But I don't understand why there is no way to avoid this problem as it is a current problem (everybody should use differences or ratios...). There must be something to do but I don't know why.
Thanks for your help -
Urgent : how I get tree type group total result
hi master
sir now system give me this type for result
PARENT ACCID DRBAL CRBAL
K1
K11
11 K1101 46291132
11 K1102 13182173
11 K1103 23784045
11 K1104
11 K1105
11 K1106
11 K1107 10001795
11 K1108 9083529
11 K1109
11 K1110 4224350
11 K1111
11 K1112 6696832
11 K1113 7963381
11 K1114 742766
1 K12
12 K1201 1486082
12 K1202
12 K1203
1 K13
13 K1301
1301 K130101
1301 K130102
1301 K130103
1301 K130104 1977616
1301 K130105
1301 K130106 736266
1301 K130107 396673
1301 K130108 42751
1301 K130109 298362
1301 K130110 187696
1301 K130111 537
1301 K130112 942
1301 K130113 987
1301 K130114 1272
1301 K130115 40000
13 K1302
1302 K130201
1302 K130202
1302 K130203
1302 K130204
1302 K130205 259941
13 K1303
1303 K130301
1303 K130302
1303 K130303 177716
13 K1304
1304 K130401
1304 K130402
1304 K130403
1304 K130404
1304 K130405
1304 K130406 809719
1304 K130407
1304 K130408 1786091
13 K1305
1305 K130501
1305 K130502
13 K1306
1306 K130601
13 K1311
1311 K131101 788780
K2
2 K21
21 K2101
2101 K210101
2101 K210104
21 K2102
2102 K210201
2102 K210202
22 K2205
2205 K220501
2205 K220502
220502 K22050201
220502 K22050202
220502 K22050203
220502 K22050204
22 K2206
2206 K220601
2206 K220602
but sir i need this type of result
PARENT ACCID DRBAL CRBAL
GROUP NAME K1
GROUP NAME K11
11 K1101 46291132
11 K1102 13182173
11 K1103 23784045
11 K1104
11 K1105
11 K1106
11 K1107 10001795
11 K1108 9083529
11 K1109
11 K1110 4224350
11 K1111
11 K1112 6696832
11 K1113 7963381
11 K1114 742766
TOTAL
1 K12
TOTAL
GROUP NAME
12 K1201 1486082
12 K1202
12 K1203
TOTAL
1 K13
13 K1301
1301 K130101
1301 K130102
1301 K130103
1301 K130104 1977616
1301 K130105
1301 K130106 736266
1301 K130107 396673
1301 K130108 42751
1301 K130109 298362
1301 K130110 187696
1301 K130111 537
1301 K130112 942
1301 K130113 987
1301 K130114 1272
1301 K130115 40000
13 K1302
1302 K130201
1302 K130202
1302 K130203
1302 K130204
1302 K130205 259941
13 K1303
1303 K130301
1303 K130302
1303 K130303 177716
13 K1304
1304 K130401
1304 K130402
1304 K130403
1304 K130404
1304 K130405
1304 K130406 809719
1304 K130407
1304 K130408 1786091
13 K1305
1305 K130501
1305 K130502
13 K1306
Sir I need total group by group father group total and child group total
Please help me how I get tree type group total resultHi master
thankyou for your reply
Sir,
i know and you see my working i get code form master table and get detal amount form other table
I have two table see table
Acctab Baltab
PARENT PCID
CHILD title
PCID amount
I need heretical result use this type of query but not success
please see my query and give me idea how I get here full tree
select test.child,test.pcid,baltab.pcid from (select acctab.child,acctab.parent,acctab.pcid
from acctab
start with acctab.parent is null
connect by prior acctab.child= acctab.parent) test,baltab
where test.pcid=baltab.pcid ;
CHILD PCID PCID
1 1 1
2 2 2
3 3 3
11 111 111
12 112 112
13 113 113
21 221 221
22 222 222
23 223 223
31 331 331
32 332 332
33 333 333
but I need this type result
CHILD PCID
1 1
11 111
12 112
13 113
2 2
21 221
22 222
23 223
3 3
31 331
32 332
33 333 -
What is the difference between Total RMS and Average RMS?
There is a difference I am seeing between Average RMS in Audition 1.5 & Audition CS6. I inserted the same track into each version and selected the same segment and below are my results. Thanks!
Thanks for your response. Both versions have square wave setting, 50ms window and account for dc box checked. Any other thoughts? Kind of a mystery.
Maybe you are looking for
-
Ipod classic won't sync with iTunes 10.4
My ipod classic 160 does not want to sync with the latest iTunes update(s). The same thing happened with the last update about a month ago. How do I fix this? The last time I put the ipod in disc mode and that seemed to work. But it isn't working
-
Hi, It seems to be a common requirement, but nowhere seems to document the solution. We need a multi item view of suppy and demand. At the moment I am looking at combining the logic of BIS views: INVFG_INVENTORY_SUPPLIES and INVFG_INVENTORY_DEMANDS,
-
Hello, i imported a Webdynpro for Abap application into the EP. There is a part of the application which opens a PDF File. I got the following error: "Documents of the application PDF can not be shown" (Dokumente der Anwendung PDF können nicht angeze
-
OTN RSS News Feed Down.... Again!
The OTN News Feed is down again. The resulting XML document is missing [link] tags making the document invalid. It's been unavailable for about 4 days now which is pretty poor! Come on OTN, get your act together! Cheers Tim...
-
Itunes starts Aperture every time I plug in a device. can I stop it?
I understand it is just trying to download pictures... but I don't want it to download until I'm ready (or willing). How do I stop it from starting Aperture every time I sync my phone? Thanks.