Subtraction of two key figures normalized to result not working as expected
Hello SAP Community!
I am having problems with getting the right result from a subtraction of two KFs which are "normalized to results" which means the KFs really have values expressed as percentages. The substraction that should be performed is of two percentages (e.g.: 87.298% - 85.527% = 1.77%) but my report prints out the result as "number of units" instead (e.g.: 87.298% - 85.527% = 71,514.00 EA). The two normalized KFs actually "point" to two stock KFs, hence the "number of units".
In order to explain the problem I am facing please analyze below text:
1) Let's assume I have below data:
LOAD MONTH PLANT MATERIAL HORIZON MONTH FORECAST UNITS
200805 PLANT-A MAT-1 200805 510,235.00
200805 PLANT-B MAT-1 200805 74,240.00
200805 PLANT-A MAT-1 200806 438,721.00
200805 PLANT-B MAT-1 200806 74,240.00
200805 PLANT-A MAT-1 200807 356,981.00
200805 PLANT-B MAT-1 200807 74,240.00
200806 PLANT-A MAT-1 200805 0.00
200806 PLANT-B MAT-1 200805 0.00
200806 PLANT-A MAT-1 200806 510,235.00
200806 PLANT-B MAT-1 200806 74,240.00
200806 PLANT-A MAT-1 200807 438,721.00
200806 PLANT-B MAT-1 200807 74,240.00
2) Then, assume I have a comparison report, restricted by load month for two months May and June 2008 (filter restricted by two month variables) with FORECAST units spread accross columns for whole horizon (two months also in this case).
Material Plant 2008/06 2008/07
===================================================================
MAT1 PLANT-A
Base Units (May 2008) 438,721.00 356,981.00
Comparison Units (June 2008) 510,235.00 438,721.00
PLANT-B
Base Units (May 2008) 74,240.00 74,240.00
Comparison Units (June 2008) 74,240.00 74,240.00
TOTALS Base Units 512,961.00 431,221.00
Comparison Units 584,475.00 512,961.00
3) Now, let's suppose we want to know the proportions (%) of Base vs Comparison units, so
we normalize forecats to results an we get the below report:
Material Plant 2008/06 2008/07
===================================================================
MAT1 PLANT-A
Base Units (May 2008) 438,721.00 356,981.00
Base Units % (May 2008) 85.527% 85.527%
Comparison Units (June 2008) 510,235.00 438,721.00
Comparison Units %(Jun 2008) 87.298% 82.784%
PLANT-B
Base Units (May 2008) 74,240.00 74,240.00
Base Units % (May 2008) 14.473% 15.702%
Comparison Units (June 2008) 74,240.00 74,240.00
Comparison Units %(Jun 2008) 12.702% 17.216%
TOTALS Base Units 512,961.00 431,221.00
Comparison Units 584,475.00 512,961.00
4) Finally, let's suppose we want to know the deltas (differences) of Base vs Comparison
units, for both number of units and %. The report now look as below:
Material Plant 2008/06 2008/07
===================================================================
MAT1 PLANT-A
Base Units (May 2008) 438,721.00 356,981.00
Base Units % (May 2008) 85.527% 85.527%
Comparison Units (June 2008) 510,235.00 438,721.00
Comparison Units %(Jun 2008) 87.298% 82.784%
Delta base vs. comp. units % 1.77% 2.74%
Delta base vs. comp. units 71,514.00 81,740.00
PLANT-B
Base Units (May 2008) 74,240.00 74,240.00
Base Units % (May 2008) 14.473% 15.702%
Comparison Units (June 2008) 74,240.00 74,240.00
Comparison Units %(Jun 2008) 12.702% 17.216%
Delta base vs. comp. units % -1.77% -2.74%
Delta base vs. comp. units 0.00 0.00
TOTALS Base Units 512,961.00 431,221.00
Comparison Units 584,475.00 512,961.00
5) PROBLEM:
In my report, the "Delta base vs. comp. units %" is not working as expected and
calculates number of units just as "Delta base vs. comp. units" does instead of calculating the % difference.
So my report looks as follows:
Material Plant 2008/06 2008/07
===================================================================
MAT1 PLANT-A
Base Units (May 2008) 438,721.00 356,981.00
Base Units % (May 2008) 85.527% 85.527%
Comparison Units (June 2008) 510,235.00 438,721.00
Comparison Units %(Jun 2008) 87.298% 82.784%
Delta base vs. comp. units % 71,514.00 81,740.00 <<<WRONG!!
Delta base vs. comp. units 71,514.00 81,740.00
PLANT-B
Base Units (May 2008) 74,240.00 74,240.00
Base Units % (May 2008) 14.473% 15.702%
Comparison Units (June 2008) 74,240.00 74,240.00
Comparison Units %(Jun 2008) 12.702% 17.216%
Delta base vs. comp. units % 0.00 0.00
Delta base vs. comp. units 0.00 0.00
TOTALS Base Units 512,961.00 431,221.00
Comparison Units 584,475.00 512,961.00
The formulas are:
a) Delta base vs. comp. units %
Delta base vs. comp. units % = Comparison Units % - Base Units %
b) Delta base vs. comp. units
Delta base vs. comp. units = Comparison Units - Base Units
The KFs
- Comparison Units %
- Base Units %
Are RESTRICTED key figures (restricted to Base and comparison month variables) which
are setup as:
1) Calculate Result As: Summation of Rounded Values
2) Calculate Single Value as: Normalization of result
3) Calculate Along the Rows
The KFs
- Delta base vs. comp. units %
- Delta base vs. comp. units
are FORMULAS setup to:
1) Calculate Result As: Nothing defined
2) Calculate Single Value as: Nothing defined
3) Calculate Along the Rows: user default direction (grayed out)
Thanks for the time taken to read in detail all of this. Long text but necessary to understand what the problem is.
Any help is highly appreciated.
Thank you.
Mario
Hi,
The subraction will be carried out before doing the normalization of your KF's. So, it is displaying "number of units". Create a calculated keyfigure and subtract the KF's and in the properties of this calculated keyfigure, change the enhancement as "After Aggregation".
I hope this will solve your issue.
Regards,
S P.
Similar Messages
-
Substraction of two key figures normalized to results not working as expect
Hi All,
I am having problems with getting the right result from a subtraction of two KFs which are "normalized to results" which means the KFs really have values expressed as percentages. The substraction that should be performed is of two percentages (e.g.: 87.298% - 85.527% = 1.77%) but my report prints out the result as "number of units" instead (e.g.: 87.298% - 85.527% = 71,514.00 EA). The two normalized KFs actually "point" to two stock KFs, hence the "number of units".
Thanks & Regards,
Venkat Vanarasi.Hi,
The subraction will be carried out before doing the normalization of your KF's. So, it is displaying "number of units". Create a calculated keyfigure and subtract the KF's and in the properties of this calculated keyfigure, change the enhancement as "After Aggregation".
I hope this will solve your issue.
Regards,
S P. -
Popup KEY LOV in Interactive Report not work as expected
Hello,
in an Interactive Report, i have added in a Region a Popup Key LOV (Displays description, returns key value). This LOV works ok in other Forms. But in the Report item (Session State variable) instead of returning the Return Value of the LOV, it returns the Displayed Value (inspected the Session). How can i make it work as expected ?
TIAAt the moment, i am ok with all the functionality of the IR, which is finished. What i want is to use some extra items on the upper part of the page that aid the user to restict in large part the IR query result. Some of these are ideal candidates for LOVs - I want LOV to diplay the Display values and after user selection to return the Return value, either to page item or to other variable. How can i achieve this? Any idea? So far the LOV returns the display value in the Item AND session corresponding variable.
-
Key Flexfield's Segment List not working as expected
Greetings. I am having problems using the Segment List attribute of a key flexfield bean. I want to restrict the segments that a user can enter values for. I would like to do this by preferably setting the relevant segments read-only, or alternatively hiding them.
According to the documentation it is possible to enter a segment list of the form:
structure code1|segment1's name|segment2's name...
If the Segment List is left empty, all segments will be shown, but if it is supplied, only the segments in the list will be shown.
Also, it is possible to make a segment read-only by adding the code ($RO$) after a segment's name, like this:
Structure code1|Segment1($RO$)|Segment2...
I have tried both, and in both cases the code combination text box continues to show and edit all segments. All segment names are still listed under the text box, too, even when omitted from the Segment List. But when the user clicks the flashlight search button next to the text box to bring up the search/selection dialog, the segments match the Segment List, so the behaviour appears to be different for the text box and the dialog.
If anyone could shed some light on this issue, it would be much appreciated! Thanks in advance :-)I guess this snippet from OAF Dev guide will make you believe my words :)
=================================================================
Key Flexfield Segment List
You may fill in the Segment List property if you want to show some, but not all of the segments in your flexfield. If you leave this property empty, all segments are rendered. The syntax is similar to that described for descriptive flexfields, only you should use structure codes to replace context values. The format is:
structure code1|segment1's name|segment2's name...||structure code2|segment4's name|segment5' name...
Segments within a certain structure code are separated by a single pipe, "|", while data from a different structure codes is separated by a double pipe, "||". The example below lists segments for just one structure code:
FWK Item Flexfield|Manufacturer|Product Family|Product
Read-Only Segments
You can add the read-only token ($RO$) after any of the segments in the list. For example, the ($RO$) designator below sets Segment1 in structure code 1 to be read-only:
Structure code1|Segment1($RO$)|Segment2...
=============================================================== -
Search Results not working as expected with Site.URL Filter
I have a page (SharePoint 2013 - Foundation) with a search Results web part. In that web part I have added a filter to limit the results to the specific site (and it's children). So my Query text is:
{searchboxquery} Path:{Site.URL}*
This works.. except for one thing. I'm guessing here but I think the "Site.URL" is returning the site that contains the search results page and not the site that actually started the search!
What I'm trying to do is mimic the default search behavior where a search only contains results from the current site down. So for example
\sites\mySite\mySubSite
If I'm on mySite and search, I should get everything from mySite + mySubSite. However if I am in the mySubSite when I search, I should only get results from mySubSite and NOT the parent mySite.
Added info:
the actual 'search center' is at the \sites\mysite level. Per MS documentation it states that {Site.URL} is the site from where the query was issued. To me that means that if I am on \mysite\mySubSite and initiate the search there, that it should only include
results mySubSite which it is not doing
Here is a screen shot.. I should not be getting any hitsHi,
In SharePoint 2013, we could configure Result source to limit searched to certain content or to a subset of search results. This would be equal to a new search scope in SharePoint 2010.
For your reference:
http://technet.microsoft.com/library/jj683115(v=office.15)
http://blogs.technet.com/b/tothesharepoint/archive/2012/10/09/build-a-specialized-search-experience-in-minutes-with-sharepoint-2013.aspx
Using sample below will limit search result in subsite:
{searchTerms} path:http://sp/sites/mysite/subsite
Regards,
Rebecca Tu
TechNet Community Support -
Bex Query calc key figures in Crystal report not showing technical names.
Hi,
I have created calculated key figures in a BEx query for which the data comes from a SAP BW cube. I have assigned each of the calculated key figures a proper technical name which I expect to see when I bring it to crystal report. When I bring that query in Crystal as a data source the calculated key figures show a wier network id names instead of the technical names. I am having a problem in using those wierd technical name in my report and my formula's as I am not able to identify what is what.
Please urgent help requested.
Thanks
MahendraI dont have an account on such website. I will explain u the problem in detail.
When I create a calculate key figure in SAP BEx query designer I assigned a technical name to it, a meaningful one. In my case one such example is Actual_revenue is the name that i have assigned and the description is Actual revenue. When I create a crystal report from it and in that report if i create a formula.
I get this {ZIC_COPA_Z_SALES.[Measures]-[25V1KYL4VE92X0T4OMHVYM90V]}
If u see it its a wier 25 digit name.
Instead of this I want to see
{ZIC_COPA_Z_SALES.[Measures]-[ACTUAL_REVENUE]} which is what I have given in the query. I am using the SAP BW MDX driver to connect to Bex query. -
Read Key and Write Key not working as expected with paths on RT
The configuration file VIs Read Key (Path) and Write Key (Path) don't seem to work as expected (at least not as I was expecting them to) on an RT target.
When working on my WinXP PC with these two VIs, paths are translated to what looks like is supposed to be a device-independent format before being written to disk. The path C:\dir\file.txt becomes /C/dir/file.txt when writing and vice versa when reading. On my RT target, however, that same path is written to disk as C:\dir\file.txt, unchanged from the native format.
The translaton of a native path to and from the device-independent format appears to be the responsibility of Specific Path to Common Path and Common Path to Specific Path. These both use the App.TargetOS property to determine the operating system. In the case structure for these two VIs, however, there is no case for PharLap or RTX. (My RT hardware is runnng PharLap; I don't know enough about RTX to comment.) This means that the results of String to Path or Path to String are used without translating between the device-independent format to the native path format.
This isn't a problem if you create a configuration file on one machine and use it on that same machine. I noticed this only when tranferring a config file from my PC to the RT target, where the target would not open the file paths it loaded from the configuration file.
This occurs on 7.1.1 and 8.0. I don't have 8.20 to see if happens there, too.In LV 8.2, this was fixed.
The problem is App.TargetOS returns "Pharlap" on RT systems, and "Pharlap" is handled by the default case ("invalid OS target") in LV 8.0. In LV 8.2 the default case is "Windows 95/NT", however. The reason you could write and read an .ini file on RT in LV 8.0 and earlier is because these two VIs (listed below) were both running the default case of "invalid OS target".
vi.lib\Utility\config.llb\Common Path to Specific Path.vi
vi.lib\Utility\config.llb\Specific Path to Common Path.vi
As you saw, this fails when you perform one operation in Pharlap but the other in Windows. You can fix this by modifying the two VIs listed above. Just go to the case structure and make "Windows 95/NT" the default case. -
Why do some keys on my IPhone 4S not work in the vertical position?
Why do some keys on my Iphone 4S not work in the vertical position?
Let's get to the bottom of this issue mike4820! What specific keys are not working properly while in vertical position? This is more likely the result of some display settings or an application installed on your phone. Please ensure that you have the latest iOS version installed (7.1).
AntonioC_VZW
Follow us on Twitter at www.twitter.com/VZWSupport -
I cannot open itunes. Everytime i try it says "The itunes application could not be opened.The folder cannot be found." I have tried the shift key option but this does not work. Please help.!!
Try the actions here for that driver.
iOS: Device not recognized in iTunes for Windows
I would first do this:
Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7 -
Pie chart with two measures and date dimension navigation not working
Hi Experts,
Pie chart with two measures and date dimension navigation not working. Any help is appreciated.
Thanks
VHi Deepak,
I had time dimension in the RPD.
I have stacked bar chart with same time dim like year & month in the report. when I go to legand and set navigation it is working fine. But not with pie chart.
I am not not sure what is the problem. When I click on Pie chart it is not navigating to the target report. Can it be any other issues..??? -
Three keys of my keyboard are not working, the cap one, the return key and the space bar, while the virtual keyboard shows to others keys highlighted in orange (^ and `); How to fix it? I writing now with a bluetooth keyboard.
All new keyboards need Snow Leopard 10.6.8 and above for full functionality.
Rather short-sighted of Apple perhaps, but that seems to be a trend these days.
I'm afraid the only fix is to upgrade to SL. Personaly, I'd take it back and get a refund and seek an older keyboard or a third-party one elsewhere. -
Convenience Key on my Torch does not work
Hi Everyone!
Seek your help as the convenience key on my torch does not work. I have changed the setting as well but to no avail.
Regards - Nitin
Solved!
Go to Solution.Hi just an update to the problem of the convenience key not working or working now and again. I had to do a couple of reboots this morning to update some apps and I noticed the key was not working after the reboot so I attached the charging cable to the phone and plugged into the wall socket thinking that will fix it again, but no it didnt. !!! I then remembered the first time I had this sorted I had plugged the charger in and switched the power on and then attached the phone, so I tried this method again and the key is working fine again!!!!. So what ever is happening when you do it in this sequence seems to reset the key. How did you get on with your phone with the Blackberry info?
-
Number keys 1 thru 3 are not working
number keys 1 thru 3 are not working, so I am unable to unlock my iphone.
I went ahead and lock myself out from the password screen. Waited the allotted time. Now all numbers work. Thanks for your input
-
My Ipad 2 will not power on. I have tried the two button approach but it did not work. Until last evening, the Ipad was working very well. After it entered the sleep mode, it would not come back on. What can I do?
The first thing to suspect is a completely drained battery. When this happens the iPad shuts down and will not turn on. Even if you charge the iPad it may take more than 30 minutes before it responds. Plug the iPad into the charger that came with it and plug the charger into a known good wall outlet. Do not charge the iPad by connecting it to a computer. Wait 30 minutes. Then reset the iPad. Press and hold both the Home button and the Sleep/Wake button continuously until the Apple logo appears. Then release the button and let the device restart. You will not lose data doing this. It's like a computer reboot.
If the iPad restarts let it continue to charge until the battery is at 100%. If the iPad does not restart consider making an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support. -
Revision: 5445
Author: [email protected]
Date: 2009-03-19 17:47:57 -0700 (Thu, 19 Mar 2009)
Log Message:
Fix for - @copy tag for two methods with different arg lists not working.
Some changes for refactoring.
QE Notes: None.
Doc Notes: None.
Bugs: SDK-19975
tests: checkintests, asdoc
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-19975
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja vaRevision: 5445
Author: [email protected]
Date: 2009-03-19 17:47:57 -0700 (Thu, 19 Mar 2009)
Log Message:
Fix for - @copy tag for two methods with different arg lists not working.
Some changes for refactoring.
QE Notes: None.
Doc Notes: None.
Bugs: SDK-19975
tests: checkintests, asdoc
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-19975
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va
Maybe you are looking for
-
Can no longer send mail - strange errors/activity
I'm hoping a guru can help me. This is driving me insane. My mail has worked perfectly for years. Over the past 2 days, it can no longer send mail. I can recieve, but not send. It first began with error messages saying that it couldn't use Port 25. M
-
How to add rows in table control for data recording BDC?
hello, pl tell me the way to upload data through BDC in table control of screen . how to add fields inrecording of table control? Please give some code in this regard. I am generous in giving points..pl help!
-
Updated iPad mini to iOS 7. I had purchased Pages & Keynote & then later purchased Numbers also on the iPad so I could keep a file synced w my Mac, now that I'm doing more & more on the iPad mini so not using the Mac all the time. I was dismayed to g
-
Maximum size of an event structure
I have just a short question about the maximum size of a event structure, and did not found it yet in the forum. I have an event case with 35 event cases. How many are allowed, what is recommended and is there a huge loss of performance by seizing it
-
Macbook Pro, Microsoft Word doesn't get rid of old files? (pictures included)
I'm not quite sure how to explain it but my MacBook doesn't get rid of files from the Microsoft Word list. I've deleted all of those files but they still seem to appear in my list of files (this is on the Word thing)