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?

Similar Messages

  • I have just downloaded an alternative keyboard (Fast Keyboard)How do I get my Ipad2 to use it instead of the default keyboard, please?

    I have just downloaded an alternative keyboard (Fast Keyboard).
    How do I get my Ipad2 to use it instead of the default keyboard, please?
    Thanks for your help

    First, please don't shout.
    Second, don't post personal information.
    Third, restore, if iTunes will let you.  Everything except the password will be restored.  Connect via cable to the computer that you use for sync.  Be forewarned that it takes a long time.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • How to have more months and years appear for selection in the archives for blog posts?

    Hello,
    How to have more months and years appear for selection in the archives for blog posts?  It just shows past 3 months in the year 2014, but we have many blog posts in years 2013, 2012 and 2011 and further back.  I am using the OOB SharePoint blog
    feature.
    Paul

    Hi,
    Thanks for the reply; it doesn't add anything as RSA6 was one of the options I listed and this was my fall back option if there was no other special treatment for the COPA datasources.
    I have found out why this, and other fields, are not available in KEB0.  The program uses a Function called KERA_COPA_METADATA_INTERFACE within which there is a section that selects the COPA fields:
    ***** 1. RULES (choice/class)
    * set rules for fixed fields
      PERFORM COPA_SET_RULES_FIXED_FIELDS USING I_ACCTCOST
                                          CHANGING E_T_RULES[].
    When you look at this code section there is a hard coded list of fields to exclude:
      MRULE 'MANDT     ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'PAOBJNR   ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'PASUBNR   ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'PAPAOBJNR ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'PAPASUBNR ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'HRKFT     ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'HZDAT     ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'USNAM     ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'RKESTATU  ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'TIMESTMP  ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'PERDE     ' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'PERIO     ' OBLIGATORY CHAR_CE3 OBLIGATORY CHAR_CE3.
      MRULE 'COPA_AWTYP' NEVER FORGET_IT NEVER FORGET_IT.
      MRULE 'COPA_AWORG' NEVER FORGET_IT NEVER FORGET_IT.
    As this is a standard delivered SAP function I do not recommend that you change this code as you will invalid your SAP support and upgrade paths.
    Thanks
    Neil

  • I have totally "uninstalled" what I had and then reinstalled the newest  version of itunes.  Still......  First, when I click on the itunes icon to load it takes the program anywhere  from two to three minutes to load.  None of my other programs take this

    I have totally "uninstalled" what I had and then reinstalled the newest
    version of itunes.  Still......
    First, when I click on the itunes icon to load it takes the program anywhere
    from two to three minutes to load.  None of my other programs take this
    long.
    When in the itunes program I can be moving around in my library and itunes
    when choosing a song or songs, choosing file, edit, etc,. whatever command I
    choose it just suddenly stops.  I can issue five commands and watch each one
    respond in 30 second to two minute intervals.  I can issue several commands,
    even shutting down, and it will do all but takes several minutes to do so.
    My itunes program was working fine when this problem suddenly arose.
    Terry

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99436)

  • Have problem to enable CS6 using Adobe ID or the serial.

    Hello,
    we have problem to enable CS6 using Adobe ID or the serial .
    Follow the error information :
    We passed all these tests .
    https://helpx.adobe.com/br/download-install.html
    a) What applications are you trying to install ?
    CS6 Master Collection
    b) What operating system are you using ?
    Windows 7 Professional Service Pack 1 64-bit .
    c) The application was previously installed on the computer?
    do not
    d) What error messages are you getting?
    Connect to the Internet and try again
    The computer is offine or his clock is set incorrectly , which caused an error. An Internet connection is required.
    Connect to the internet or set the clock and try again. If the problem persists , contact Customer Support with Clinte .
    If we choose the option " No Internet connection "the next screen gives the message " Your computer is connected to the Intenet . I do not know what the problem is "

    Sign in, activation, or connection errors | CS5.5 and later

  • I created a photo album on my iPhone 4s - edited photos etc. but I cannot figure out how to transfer it to my pc (using Windows 8).  The only folder in the iphone drive is the one which has the Camera roll photos :( Help please - I really need the photos!

    I created a photo album on my iPhone 4s - edited photos etc. but I cannot figure out how to transfer it to my pc (using Windows 8).  The only folder in the iphone drive is the one which has the Camera roll photos Help please - I really need the photos!

    The camera roll is not part of the sync process at all.
    You should be importing these photos to your computer regularly as you would with any digital camera.  Youc an organize them on your computer and sync the to the iphone if you wish.
    The photos sync from the computer to the iphone is one way.
    The iphone mirrors the selected content of the computer to which it is synced.

  • I have logged in to iMessage using my id, received the email saying i logged, but still can't use it

    I have logged in to iMessage using my id, received the email saying i logged, but still can't use it. have I done the rgistration process correctly?

    Make sure the pdf has the '.pdf' extension on the file name. I've seen this a few times and adding the extension usually solves the problem.

  • I use LabVIEW 7.1 but I have some problem when, I use LabVEW to read the data from serial communication

    I use LabVIEW 7.1 but I have some problem when, I use LabVEW to read the data from serial communication.
    I use LabVIEW to read the data from serial communication then, i open the example (.vi) from Serial Communication - Advanced Serial Write and Read  from LabVIEW Example. BUT it have some error message that : Error - 1073807202 occured  at property node in visa configure serial port (instr).vi -> advance serial write and read .vi
    this error code is undefined. no one has provide a description for this code, or you might have wired a number that is not an error code to the error code input.
    I don't know why? please help me. thank you.

    When I copy that code into "Explain Error" I get: "VISA:  (Hex 0xBFFF009E) A code library required by VISA could not be located or loaded."
    You may have a bad install of VISA or the wrong version of VISA loaded. Try re-installing VISA. You can get the latest version from the NI support site: http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C0E91?opendocument&node=1....
    Also ensure that you are not pointing the example towards a serial port that does not exist.
    Please let us know what you find and what gets this working for you.
         Rob

  • How can an email account be created using Java mail on the FLY.

    Scenario is such that i am using mail server from MDaemon.com and JavaMail api,and making Email website like yahoo...some what ! but how can a user create his account by just filling the form and when he enters his account be created in Mail server..

    Last time I checked MDaemon has its own API for account management. I have never tried to do anything with it but their sales literature says it exists.
    Account management will be specific to the platform and mail server software. This is beyond the scope of JavaMail which is for message transport (and management to an extent on IMAP servers), not account management on the server.
    The other alternative is to write your own application that modifies the structures used by mdaemon but since it already has an API why bother.

  • How do you create an array without using a shell on the FP?

    I want to be able to read the status of front panel controls (value, control box selection, etc.) and save it to a file, as a "configuration" file -- then be able to load it and have all the controls set to the same states as were saved in the file. I was thinking an array would be a way to do this, as I have done that in VB. (Saving it as a text file, then reading lines back into the array when the file is read and point the control(s) values/states to the corresponding array element.
    So how do I create an array of X dimensions without using a shell on the front panel? Or can someone suggest a better way to accomplish what I am after? (Datalogging doesn't allow for saving the status by a filename, so I
    do not want to go that route.)

    Thanks so much m3nth! This definitely looks like what I was wanting... just not really knowing how to get there.
    I'm not sure I follow all the icons. Is that an array (top left with 0 constant) in the top example? And if so, that gets back to part of my original question of how to create an array without using a shell on the FP. Do I follow your diagram correctly?
    If I seem a tad green... well I am.
    I hope you understand the LabVIEW environment and icons are still very new to me.
    Also, I had a response from an NI app. engineer about this problem. He sent me a couple of VI's that he threw together approaching this by using Keys. (I still think you are pointing to the best solution.) I assume he wouldn't mind m
    e posting his reply and the VI's for the sake of a good, thorough, Roundtable discussion. So here are his comments with VI's attached:
    "I was implementing this exact functionality this morning for an application I'm working on. I only have five controls I want to save, but they are all of different data types. I simply wrote a key for each control, and read back that key on initialization. I simply passed in property node values to the save VI at the end, and passed the values out to property nodes at
    the beginning. I've attached my initialize and save VI's for you to view. If you have so many controls that this would not be feasible, you may want to look into clustering the controls and saving the cluster as a datalog file.
    Attachments:
    Initialize_Settings.vi ‏55 KB
    Save_Settings.vi ‏52 KB

  • How to open document from mac when using windows without transferring the file?

    How can i open a document from mac when i am using windows without transferring it?

    depend on the document program more then anything else really
    when ever I open a doc with word it make a history for undo and redo action file in the same dir
    with bootcamp you only have read not write access to the osx partition so it would fail to be able to create that file
    but if you can get word or whatever program you use to open the file not to place a temp file in the same dir
    or use a program which did not make any type of temp file or used a program where the temp file would be located elsewhere where you decide it would work file

  • How can I set up MRP to use QI Stock at the Vendor, for Planned Ind Reqmts

    Hi experts,
    We are running ECC 6.0.
    In one of our plants, we have a lot of components that are available as QI stock in Material Provided to Vendor status.
    We build SKUs (MRP type M3) at the top level in the BOM, and the SKUs use the above components. We mostly enter demand at the SKU level in the plant (LSF).
    We have set up the source list for all the SKUs in this plant with MRP = 1.
    When MRP runs for the components (MRP type PD), system is able to first allocate the QI stock to any of the requirements that are driven by the higher level SKUs. Only then, it creates Planned Orders for the components to account for the shortage.
    Issue : We now enter forecast (LSF) directly at the Component level  (for some Materials). Now, even though we have excess
    component stock to handle all the demand (dependant demand driven from the SKUs + LSF at the Component level), system doesn't allocate the excess QI stock to the LSF demand at the component level. It just creates Planned orders.
    Strategy Group for both the SKU and Component is 10. We don't have MRP Areas implemented.
    I tried setting up the source list at the Component level using the vendor but there is no use.
    Does any one have an idea on how this can be addressed?We want to be able to use up the QI stock first before we create Planned orders.
    Thanks,
    Rao

    How can you create QI stock first before your planed order from MRP run? Do you know this is not standard SAP ?

  • How to have a button to reset a field and not the whole form?

    Hi,
    Can anyone help me with this dilemma please? All tutorials online demonstrates how to have a button to reset the whole form, but i only want the user to clear 1 field in the form.
    I have a form which has a field representing a persons name who has booked out a piece of equipment. I would like the administrator to be able to clear the field quickly without having to select the whole name and then delete it, ready to insert the name of another booker.
    Any help would be very much appreciated. (If it is using dreamweaver features than that is better.)
    Thank you!

    There's nothing in DW that will do this for you.
    This script from the internet seems to do the trick. Add this to the <head> section of your page...
    <script type='text/javascript' src='http://code.jquery.com/jquery-1.7.1.js'></script>
    <script type='text/javascript'>//<![CDATA[
    $(window).load(function(){
    function resetForm() {
      $(this.previousSibling).val(function() {
      return this.defaultValue;
    $( "input[type='button']" ).bind( "click", resetForm );
    });//]]> 
    </script>
    Then add your form in the <body>...
    <form>
      <label for="textfield1">Text Field:</label>
      <input type="text" name="textfield1" id="textfield1"><input type="button" value="reset" /><br />
      <label for="textfield2">Text Field:</label>
      <input type="text" name="textfield2" id="textfield2"><input type="button" value="reset" /><br />
      <label for="textfield3">Text Field:</label>
      <input type="text" name="textfield3" id="textfield3"><input type="button" value="reset" /><br />
      <label for="textfield4">Text Field:</label>
      <input type="text" name="textfield4" id="textfield4"><input type="button" value="reset" /><br />
    </form>
    EDIT: Ha! Same script as you found Nancy, posted originally at the exact same time too (I threw a couple modifications in)...
    Good times, good times.

  • How to have iMessages show up on one device but not the other?

    So I have an iPhone, a MacBook and an iPad that I own and use, this year my school "gave" (we pay for it but it belongs to the school and have to give it back, go private education!) each student an iPad so now i have one from them as well. I use a different Apple ID for my school iPad than I do for my personal devices so that information from my personal devices doesn't end up on the schools iPad which has a massive amount of spyware on it so they can literally see everything we do. I have it set up for iMessage so my 3 personal devices are all synced and use my phone number from my iphone to iMessage, but my school iPad only uses the email from the Apple ID I made specifically for that iPad. I was wondering if there was a way that the iMessages I receive on my school iPad (via the email) can also be received on my other personal devices, but NONE of the messages or other data received on my phone (via my phone number) also be received on the school iPad. So in essence a sort of one way channel. Thanks in advance!
    P.S.- I don't just use the messages to text my friends I use it for professional purposes also as I am on the executive board of several charities and also a high ranking member of my fathers company.

    No, the scenario you describe is not possible. Sorry.

  • How to have projectname_edge.js in a subfolder? (not in the same folder as the project file)

    Hello,
    Is it possible to have the file projectname_edge.js in a subfolder? Not in the same folder with projectname.html.
    It seems that edge.5.0.1.min.js looks for dependencies only in the same place as the main file of the project. Moving projectname_edge.js to other folder (js, script, etc) causes the animation not to run. Can I store it in different folder? I would like to put it into "Content" or "Scripts" folder on the server.
    I am trying to integrate edge animation into ASP.NET MVC application, and I do not have any index.html file. I am inserting the <!--Adobe Edge Runtime--> section into the view  (the .cshtml file stored in subfolder). Having the projectname_edge.js in the main server path require to deal with security settings, so I would like to put it in 'Scripts'.
    I found the video showing the solution for the older API: http://www.edgedocks.com/content/edge-animate-publish-files-and-js-folder but it is no longer valid with Edge 5.0 API
    Any ideas how to achieve this?
    Thank you in advance!
    Eric

    Thank You! This is exactly what I looked for!
    Additionaly having runtime projectname_edge.js in htmlroot in ASP.NET MVC website, is slowing down the animation show up. Now (with subfolder) it working fast and fluid
    Many, many thanks!

Maybe you are looking for

  • F110 Payment processing - Changing Banks

    Hello, I have a customer that wants to be able to process a payment run for a group of 250 vendors or so.  They want to be able to assign  1 million EUROS to Bank A,  250.000 Euros to Bank B, and 750.000 Euros to Bank C.    Last time they ran it, the

  • Problems setting up Mail in Snow Leopard

    Just downloaded Snow Leopard and when I lauch Mail and go through the set-up, it gets to the optimizing part and crashes/closes. Help!!!

  • How do I find @ empty rubbish bin on ipad

    How do I find @ empty rubbish bin on ipad

  • Retrieving Deleted Data

    Hi, I'm looking for some help. I recently sync'd my husbands new iphone on my computer. He had an itouch before and we wanted to transfer that info to the new phone. So I restored his new phone to the old itouch. In the process he loss all the new ph

  • Job Evaluation Group, Job Evaluarion Method,Job Pricing

    hI, Please explain me about 1) Job Evaluation Group 2) Job EValuation Method 3) Job Evaluation Point in HRp1050 IT Also what is job pricing n how it is related with the above three. Thanks