Cumulative values on daily buckets result
Hi BW experts
I would like to create cumulative total on daily buckets results .
Ex
1/1 1/2 1/3
1 2 3
4 7 8
Total 5 9 11
Cumulative 5 14 25
Cumulative 5 then 59 = 14 then 1425
cumulative on result only . How to achhive this report.
Thanks
Rohan
Hi below is my resuqirement
Num qtyA QTYB QTYC
A 20 30 26
B 40 60 14
C 5 8 3
Overallresult 65 98 43
Cmulative 65 163 206
I have to display above format in the report
Over result
Cumulative
Cumulative caluclation on over all result on rows
163 = Over all result of QTYB+ cumulative value of QTYA
206 = Over all result of QTYC+ cumulative value of QTYB
Please help to resolve this issue
Appriciate your response
Thanks
Rohan
Similar Messages
-
Cumulating values in the report results(having virtual key field)
Hi experts,
We have query with vitual key field cost.Getting doubled and tripled values in the query results.Pls provide posiible ways to solve this problem.Rewads points for helpful answers.
Thank you
Vamsi
[email protected]Hi Kamaljeeth,
I have query with vitual key field "cost".one material cost is a $ 3 and other material cost is $5 in the source system.If I execute the query,it's giving me $15 for first one and $10 for second one and so on.Pls let me know for any clarity.Pls provide possible ways to resolve this problem.
Thank you
Vamsi
[email protected] -
How to use a cumulative value in a formula
hi, experts
I have a question about how to use a cumulative value in a formula. Below is the example:
wk1 wk2 wk3 wk4 wk5....wk n
sales order 5 10 15 10 5
build plan 8 8 10 15 10
result 3 1 -4 1 6
result row is what I want to get, the formula is:
wk1 result = wk1 build plan - wk1 sales order
wk2 result = wk1 build plan + wk2 build plan - (wk1 sales order + wk2 sales order)
wk3 result = wk1 build plan + wk2 build plan + wk3 build plan - (wk1 sales order + wk2 sales order + wk3 sales order)
I've already ticked the cumulative in properity of the key figures. It seems like that the cumulative results only can display, but can't be used in formula. Could you please help me? Many many thanks !!Hi
In properties of that formula, there is option called 'formula collision' there you select 'formula from compiting result'. I think this will solve the problem. -
How to use cumulative Value in a formula
Hello Gurus,
I would like to use the cumulative value in a query as part of a formula calculation. I have created a KF which is assigned a constant value 1. When displaying the KF I am cumulating it so for each row I am getting 1,2,3,4...etc. How can I use this cumulated value in a formula calculation?
For example, in a column cumulative count is 1,2,3,4...etc .My requirement is ,i want to identify the record with number 36 , to do this i have created a formula with boolean Equal to function comparing with the required number, but the boolean result what am i getting is Zero instead of one(1).
The reason i found behind the problem is, the cumulative count that we see is dynamically happening during the run time for display ,but the internal value is 1 only.
Is there any other way to meet this requirement or am i missing anypoint?.
Thanks.Dear Yaseen,
To get the value in formula cumulative,after you have created the formula for that particular key figure,go to edit and click on tab "calculations".
In that select overall result as 'count all values not equal to zero' and single result as 'count all values not equal to zero' .
And mark the cumulative check box underneath.
I hope you get the desired result and please do me favour .
Sumit goomber -
Issue with Cumulative Value in BW Query
Hi
Here am trying to calculate a percentage over the two key figures which has the cumulative check in Calculation
but in result the percentage is appearing with non-cumulative values though am selecting the cumulative kf in formula.
find below the example :
C-OQTY --> Cumulative Ord Qty -- This is based on OQTY wherein the properties under Calculation i haved the Cumulated
C-TOQTY-->Cumulative Total Ord Qty --This is based on TOQTY wherein the properties under Calculation i haved the Cumulated
OQTY--> Order Qty
TOQTY--> Total Order Qty
C-OQTY/C-TOQTY *100
Calendar Day C-OQTY C-TOQTY OQTY TOQTY %
2008.02.01 115 115 115 115 100.00
2008.02.02 115 197 82
2008.02.04 158 381 43 184 23.37
2008.02.05 287 596 129 215 60.00
As you all can see that the % is showing the value as OQTY/TOQTY*100 Instead of C-OQTY/C-TOQTY *100
Need help
Thanks in Advance
Cheers
TaherThanks for your quick replay,
well am using "Use standard Aggregation" could you pls give me little more details abt before Before aggregation concept..
which option to choose in aggregaion..
Cheers
Taher -
Cumulative value calculation in script logic
Hi,
Assuming i have the following values:
Acc1, time1 = 2
Acc1, time2 = 10
Acc1, time3 = 20
Acc1, time4 = 30
What script logic can i write such that the end results are:
Acc2, time1 = 2
Acc2, time2 = 12
Acc2, time3 = 22
Acc2, time4 = 32
time1 could start from any month of the year, and the next month is always one month after the current month (i.e. if time1 = june, then time2 = july).
Basically the above calculation involves some sort of cumulative effect. I would like to have this cumulative amounts stored in the database, hence i don't want to rely on measures="ytd" in the report.
CheersHi Raja,
You can get the daywise cumulative value for the user selected date range by creating a formula on the KF & turning on the 'Cumulated' checkbox in the 'Calculations' tab.
--Priya -
Subsequent use of cumulated value in query
Hi All,
We are using BEx Query Designer to create a query having one formula variable Stock on Hand as a cumulated value (along the columns).Now we need to use this cumulated value in another formula variable. Is this possible to do? If not could you please suggest an alternate for the same?
Stock on hand (for any given week) = (Total Receipts Total Demand) + Stock on Hand (for previous week).
Inv. Carrying Cost (for any given week) = Stock on hand (cumulated values as above) * Per unit inv. cost
Data for Total Receipts, Total Demand and Per unit Inv. Cost is present in the infocube at daily level. A sample report template has been given below:
Product Location Week W1 W2 W3
P1 L1 Total Demand 10 10 10
Total Receipts 20 0 5
Stock on Hand 10 0 -10
Per unit Inv. Cost 2 2 2
Inv. Carrying cost 20 0 -20
Points assigned in advance for your replies
Regards,
Bansi.Hi PV,
Thanks for the prompt reply. But we have already created two different formulae variables for the above requirement.
The formula variable for Stock on hand is displaying the desired cumulative values. But the formula for Inv. Carrying cost is not able to use the display-value (cumulative value) of Stock on hand and it just uses the value corresponding to that particular week. For eg.
for w2 if stock on hand =20 (cumulative value displayed on screen)
and the original value of stock on hand for w2 = 0
then the formula for Inv. carrying cost is using the original value(i.e. 0) but not the display value(i.e.20), whereas we want the cumulative value (i.e. 20) for our calculation.
Any help in this regard would be highly appreciated.
Regards,
Bansi. -
MY qquery is not displaying if cube doesn't have data in daily bucket
Hi ,
My report is not displaying the data if cube does't have data in perticulear daily bucket(0calday)
Say my cube has
10/6/2008 -- 10
11/6/2008 -- 20
13/6/2008 -
10
then my report is showimg only these values in couloumn (0calday) ....
but i want to see all the daily buckets even cube dosn't have data (this example 12/6/2008) ...
I am giving the date range in report selection screen 10/6/2008 to 13/6/2008 ...
Please any body help me .....I'm not seeing anything unusual.<br />
Such issues can be caused by margin or padding settings that depend on the font-size, but I'm not seeing any such CSS rules and increasing the font-size doesn't cause any problems.
Try to the reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
*Press and hold Shift and left-click the Reload button.
*Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
*Press "Command + Shift + R" (MAC) -
Using cumulated values for further calculation in a bex report
Hi ya'll,
I have a problem with using cumulated values in a bex report.
the report has three lines:
Values 1: 100 200 300
Values 2: 10 5 40
Values 3: 1000 500 4000
The values of row 3 is a formula multiplying the values from row 1 and 2... My problem is that the values of row 3 are wrong - for example 200*5 isn't supposed to result in 500 !!
I figure the reason is that the values of row 1 is a cumulated result, meaning the <i>actual</i> value of the second column of the first row i 100 (and not 200).
How can I ensure that my formula for row 3 uses the <b>cumulated</b> result from row 1, instead of the underlying result ?.Create a column structure with Actual Value columns as well as cumulated value columns. Hide Actual Value Columns from display.
Example :
Actual1 | Actual 2 | Actual 3 | *** 1 | *** 2 | *** 3 |
100 | 100 | 100 | 100 | 200 | 300 |
You can create a forumla to calculate Value 3 : (Actual 1 * Value 2 ).
I guess you are using Cell Referencing to achieve this. -
Finding Cumulative values in Query
Hi All,
I am developing one Query in which i have to show plant wise last 12 months status of audit.
In this audit i am able to show the types of audits say X,Y,Z perfectly.
But the thiing i want to calculate is the cumulative values of X,Y,Z before the last 12 months.
For Ex: Audit X Y Z Formula(X+Y-Z)
month1 10 20 30 0
month2 10 30 10 30
month12 20 40 20 40
month13 ***(X) ***(Y) ***(Z)..till
Like this i want to develop the report as per the requirement.
Please help how to resolve this issue.
Thanks in Advance.Hi Sathya,
one simple solution is to have a result row at the bottom .
Select appropriate characteristic info object and do not suppress result for it in the query designer.
Please let me know for further clarifications
Regads
Venky -
Use running total to get cumulative value
Just want to clarify, can it be get the cumulative value of string instead of numeric figure by using running total function?
for example:
Date Action
01/Jun Created
02/Jun Deleted
03/Jun Created
11/Jul Deleted
12/Jul Created
13/Jul Deleted
Can it be counted as a number of action & cumulate for each month?
ideal result is:
June
Created:2 Deleted :1
July
Created:3 Deleted :3
Thank for share...This can be done using Running Totals. I'm assuming you are grouping your results by month.
1. Create a running total for the "Created" action called RunningTotalCreated:
Field to summarize: {Table.Action}
Evaluate: Use formula:
{Sheet1_.Action} = "Created"
Reset: on change of group "Month".
2. Create a running total for the "Deleted" action called RunningTotalDeleted:
Field to summarize: {Table.Action}
Evaluate: Use formula:
{Sheet1_.Action} = "Deleted"
Reset: on change of group "Month".
3. Create a formula called result with the following code, and drag it into your month group footer.
"Created: "+totext({#RunningTotalCreated},0)+" Deleted: "+totext({#RunningTotalDeleted},0)
Cheers,
Fritz -
FlatFile Delta - Cumulative Values / Different Months
Hello,
I receive monthly a flat file with cumulative values.
The structure looks like:
<b>Month 1</b>
Material 123
Month 01.2007
Amount 5
<b>Month 2</b>
Material 123
Month 02.2007
Amount 7
Now I want as a result in BExthat that BW assigns in 01.2007 Amount = 5
in 02.2007 = 2 (Delta between 01.2007 and 02.2007).
How do I manage this? I can't code ABAP....Hi,
First month, you enter
01.2007, amount = 5
02.2007, amount = -5
Second month, addition as update type for your key figure:
02.2007, amount = 7 (as it is in addition, -5 +7 = 2)
03.2007, amount = -7
etc..
Hope it helps
Jacques -
Cumulated option not applied to Results
Hi,
We are trying to design a format with years in column and projects in row and we want user to switch from non cumulative to cumulative (we are using BI 7.0; SAPGUI 640)
In non Cumulative
...............2008.....2009......2010.....2011
Project A....5..........10........ 2...........1
Project B....2..........3..........1............6
Result .......7.........13.........3............7
When activating "Cumulated" with option "Calculate Along the Columns" we obtain :
...............2008.....2009......2010.....2011
Project A....5..........15........17...........18
Project B....2..........5..........6............12
Result .......7.........13.........3............7
The problem is that we would like Results to be also in Cumulated but the "Also Apply to Results" cannot be checked and even when we put that in Query designer it has no effect on Results
We need to obtain this (in BW 3.5 it was working as expected using the cumulative output on Fiscal Year):
...............2008.....2009......2010.....2011
Project A....5..........15........17...........18
Project B....2..........5..........6............12
Result .......7.........20.........23..........30
Thanks in advance for your help, we have tried everything but impossible to obtain what we had in BW 3.5.We have put the Cumulated and Sum in the Query, when you run directly the query it works. But if in Properties you uncheck Cumulated to get non cumulative value if you want to apply again Cumulated, Result are again not correct.
Is there any known problem? -
Cumulative values: difference between 3.5 and 7.0
Hi everybody,
I use queries which display an Amount on month.
JAN FEB MAR APR
A1 A2 A3 A4
I modify the Key Figure property to have cumulated values
JAN FEB MAR APR
A1 A1A2 A1A2A3 A1A2A3A4
In Bex 7.0, all is right i have my cumulated values
In Bex 3.5, it doesn't work ...
i have the following result:
JAN FEB MAR APR
1 3 6 10 ...
as if i had:
JAN=>Amount=1 JAN-> 1
FEB=>Amount=2 FEB-> 1+2 =3
MAR=>Amount=3 MAR-> 123 = 6
Why this difference between 3.5 and 7 ?
I would like the right result in 3.5,
How do i proceed ?
Thanks for your help!
Rodolphe.Appararently,
On Bex 3.5 ...
I remplace for my KeyFigure:
Calculate Single Values As ...
"Counting All values" by "Nothing"
and option cumulated activated.
and it does work !!
Rodolphe. -
Non-cumulative Values not showing in Inventory Management Queries
Hi:
Has anyone had a problem with the new version and Non-cumulative key figures not showing up in Bex for Inventory Managemet reports? Specifically, they showed and validated back to ECC for our Development and QA boxes but now in our Regression box they are all showing zeros. Our Cumulative values are all showing correctly still within the Regression box. For example, Total Receipts and Total Issues are correctly poplating values but Total Stock is not.
I have checked and validate that the configuration in the Regression box matches or Dev and QA box.Found the problem. It had to do with the compression variant in the delta process chain. The compression was set to 'no marker update'. Since we only started receiving measureable deltas in or regression box this is where the incorrect setting showed up. Reinitalized and the deltas are working correctly now.
Maybe you are looking for
-
Can no longer see or access Mac partition
I upgraded my iMac to 10.6.1 and then installed\configured bootcamp. Walked through the XP installation with no problem. My Mac partition\boot drive is not available in the bootcamp control panel and holding the alt\option key does not provide the 2
-
How to show only complete albums in Albums view NOT singles?
I will try to explain this sa simple as I can: - In albums view I ONLY want my completed albums listed. - I tried to rename the album title of all my singles or songs with incomplete albums as "singles/incomplete albums" but they are still listed ind
-
Memory leak with multi-threaded environment
When starting an environment with the THREADED_MUTEXED or THREADED_UNMUTEXED mode parameter, the oracle OCCI API has a memory leak. This can be demonstrated by modifying the "occidml.cpp" demo program as follows: Replace line 26: env = Environment::c
-
How Can I recover my behance deleted / canceled account?
Hello Everyone, I´ve canceled my account and I really feel bad about it, Is there any change to get it back? Thanks.
-
How to Merge and Sum across columns??
Hey guys I have an interesting Problem (at least interesting to me:p). I am trying to figure out how to use numbers to collate or group certain column data and then sum the values of the grouped data. below is a snippet from my an error log i've pars