Show the different key figures

Hi,
Can we define a query, and show the different key figures, base on the different value of the characteristic?
Let's say, in the query, it contains a characteristic called "store", and if the store = A1,i want to only show key figure K1, K2, and a formular =K3/K2;
and if store = A2,then i want to show key figure K1,K2,and a formular = K4/K2; otherwise(for other store <>A1, or A2), i want to only show K1, K2 and a formular =K1/K2.
Is it a way fo rme to do that, pls advice.
Thank you,
Ping

Hi Anil,
I read through the link you given, but still not sure exactly what i should do to get my report done ¡V I am sorryƒ¼
What I need is: for store S034 and S035, they has a ¡§store
Open date¡¨ last year which are as below:
S034          09/4/2004
S035          09/18/2004
And for other stores, their ¡§store open date¡¨ are all in 2003.
So in the query, I have two key figures: MTD (sales value month to date this year), and MTDL (sales value month to date last year). If I run the query today, which is 21 of Sep 2005, then the date range for MTD will be from 09.01.2005 ¡V 09.21.2005; and the MTDL will be base on the range from 09.01.2004 ¡V 21.09.2004; and I have another formula key figure ¡§percentage¡¨, which compare ¡§this year¡¦s sale month to date ¡§ with  ¡§last year sale month to date¡¨, eg: ¡§percentage¡¨ = MTD/MTDL
But since for store S034 and S035, the store only open on 09.04.2004 and 09.18.2004 respectively (that means there is no sale value existing before their store open date last year). So for store S034 and S035, we will only use the MTD partially to calculate the ¡§percentage¡¨.  Eg: the date range used for calculation for this year¡¦s Partial sales will be from 09.04.2005 ¡V 21.09.2005 for S034 (K3); and 09.18.2005 - 21.09.2005 for S035 (K4). I have already created key figures for K1, K2, K3, K4, based on the different date range above.
So the report will look like below (of course, K3,  k4 will be hidden once the calculation of ¡§Percentage¡¨ is done)
Store     K1(MTD)    K2(MTDL)   Percentage    K3(Partial MTD for S034)   K4(Partial MTD for S035) 
S031     10            20                10/20   
S032     15            21                15/21 
S034     30            35                28/35                   28
S035     40            39                36/39                                                                        36
So my main concern is how is formula ¡§Percentage¡¨  can be done based on the different value of store.  Eg, if store is S034, it will take K3/K2; and if it s S035, it will take K4/K2; otherwise, it will take K1/K2.
I looking forward for your advice please,
Ping

Similar Messages

  • Different  disaggregation rules within the same key figure

    Hello All,
    We need to apply different disaggregation rules within the different levels of the same key figure.
    As an Example:
    Key Figure: SALES VOLUME
    Level1: Market
    Level2: Segment
    Level3: Model
    We want to define such rules:
    1- Disaggregate from Market Level to Segment Level using Historical Data
    2- Disaggregate from Segment Level to Model Level using APODPNDANT (a key figure in which the input is supplied from business)
    Does anybody know if this (defining two different rules within the different levels of the same key figure) is posssible?
    Thanks in advance...

    Hi Ergul
    Ideally its better to have APODPDANT to be the disaggregation KF at all levels
    you can choose to manipulate the APODPDANT instead by making it an Editable Kf in the Planning book
    To start with all levels can be based on the proportional KF calculation
    By Loading the selections at the Segment to model level you can manually enter the values based on business input
    you might need some macors to fix the totals and maybe to make sure the Sales volume is redisaggregated
    i think its something that can be solved by a god business process and simple functionality in the way you see the data

  • Customer Ext Variable is NOT working correctly in the Restricted Key Figure

    Hi all,
       I have created a variable ZVCBLMTH (Period from 01/1996 to Last Month) with reference to
        0CALMONTH  and it will be populated through  Customer Exit and it works fine.
        In the selection for 0CALMONTH, I gave the range as '05/2008' to '08/2008' and this new
        variable  passed the value of  range as '01/1996' to '04/2008' in RSRT.
        The properties of the variable are:
              Type of Variable -  Characteristic, Processing by - Customer Exit, Variable Represents - Interval
              and Variable is - Optional.
              No change in the result after changing the 'Variable is' from Optional to 'Mandatory'.
      This variable is used in Restricted Key Figure to calculate the number of matching records between
       01/1996 & 04/2008 and somehow it is not recognizing this variable and NOT passing the results correctly.
       But, there are records with 0CALMONTH between 01/1996 & 04/2008.   
       How could I test that which value is passed into the Restricted Key Figure for this variable, PLEASE ?
       Thanks in advance.
    Regards,
    Venkat.

    Hi Clemens Li
    I agreed on your point. When we define the Internal table the type for element EQUNR & QUMNR , we are referring the SAP data element for EQUNR, QMNUM field.
    Our doubt is even though we refer the standard data element, in the ALV display, it shows with leading zeros and also it creates problems in the filtering and in the filter window all values instead of unique nos.
    Hi Abhii
    I have given below the fieldcat coding.
    Friends, can you kindly clarify the above said problems. Since we use SAP ECC 6.0 any notes or patches apply is required. ( this is the basic functionality in ALV, that is my doubt).
        wls_fieldcat-col_pos   = wpv_pos.
        wls_fieldcat-fieldname = wpv_champ.
        wls_fieldcat-tabname   = wlc_tabname.
      wls_fieldcat-seltext_s = wls_fieldcat-seltext_m
        wls_fieldcat-seltext_l = wpv_libelle.
        wls_fieldcat-ddictxt   = 'L'.
        wls_fieldcat-no_out    = wv_no_out.
        APPEND wls_fieldcat TO gt_fieldcat.
    Kind regards,
    Jegathees P.

  • Planning Book Macro which can read different key figures from data views

    Hi Experts,
    I am looking for help to create a Planning book level macro which is having capabilities to read different Key Figure across the different Data Views. For example DataView 1 has Sales Orders and Data view 2 has Forecast and I want put in Data view 3 the netted numbers from SO and Forecast.
    Please provide me some quick pointers.
    Regards,
    Rahul Mohnot

    Hi,
    Not only is it the easiest way, it is the only way to do it as Laurence has put it. As you can see, macro workbooks are created for a Planning Book/Dataview combination.
    Thanks
    Mani

  • Calculated Key figures using different key figures

    Hi All,
    I want to create a calculated key figure based on Actual and Plan.Actual values are coming from InfoCube,Plan values are loaded from Excel sheet into different key figure in another infocube.I've created a MultiProvider for these Cubes.Now I want to find the difference between plan and actual.So I created a calculated keyfigures based on the key figures.But the Query is giving error ..
    Then the connection terminated..
    Let me know how to do..
    Raji

    What is the error you are getting?
    First do this.
    In the query, filter on only 1 infoprovider. Check the KF's and see if correct and if you get the error. Then, do the same thing, for the other infoproviders. Once you get no errors that way. Remove the filter. See if the KF's are ok and no errors. Then do your calculation.
    Also, make sure in the definition of the KF's, you are filtering each on the right infoprovider. (For instance, KF1 has a filter on infoprovider1 and KF2 has a filter on infoprovider2.)
    hope this helps!
    /smw

  • HOWTO: get JDev to show the foreign keys in Conn Nav & struct window

    Hi,
    I have SQL tables with foreign keys but the JDev connections navigator and table editor dont show them. They just look like primary keys in the "PK" column. The structure window shows a bunch of constraints with names like "SYS_C00143114" which is not very meaningful to me. Surely JDeveloper knows what these magic numbers mean and can trace the foreign keys for me.
    How can I get JDeveloper to show the foreign keys, and which table is referenced by that foreign key? Can I make it navigate from a table's foreign key value to the the correct tuple in the referenced table?
    Maybe this is an ER if JDev doesn't do this already. Navigating a schema, or drawing it showing all the foreign key references would be very handy. Navigating through actual table data would be nice too.
    Cheers,
    Simon.

    I found "new->Database Diagram" that does a lot of what I wanted, at least in mapping out the foreign key references. Now if I can just figure out how to print a .png file...
    It would still be nice for the connection navigator to trace them also.

  • [svn:osmf:] 10124: Add a few variations of HelloWorld, showing the different ways of adding the DisplayObject to the Sprite.

    Revision: 10124
    Author:   [email protected]
    Date:     2009-09-10 10:40:10 -0700 (Thu, 10 Sep 2009)
    Log Message:
    Add a few variations of HelloWorld, showing the different ways of adding the DisplayObject to the Sprite.
    Modified Paths:
        osmf/trunk/apps/samples/framework/HelloWorld/.actionScriptProperties
    Added Paths:
        osmf/trunk/apps/samples/framework/HelloWorld/HelloWorld4.as
        osmf/trunk/apps/samples/framework/HelloWorld/HelloWorld5.as
        osmf/trunk/apps/samples/framework/HelloWorld/HelloWorld6.as

    The connections which you have done are right, Here are some settings which you can set on your computer and check if this solves your problem or not.
    Win XP: Click on the Start button >>> go to RUN>> type in "ncpa.cpl"- hit OK >>Here(Network Connections) right click on the ""Local Area Connection"" icon and select properties-Here click on the "Configure"   jaspal button- Click on the "Advanced" tab- In the "Property" box highlight Link speed and duplex/Connection type/Network or Media type- And in the "Value" box select 10 Mbps half duplex/ 10 base T/10 base half mode and click on OK.
    If still you face the same problem, then i feel it might be the problem with the Switch itself. 

  • Why the FCP 7 is show the different clip view which is not there?

    I am using FCP7 for about 5 years now but never faced this type problem before. I am using footage from 3 different cameras as usual. When I view the clip or export the files it shows the different clips which are not there. Could anyone help me to solve the issue please. I already trashed the FCP preferences.
    Thanks in advance.

    This sometime occurs when you are using source that is not friendly to FCP-7, such as material that is in the H.264 or other mpg format.
    Is your source material all converted to an edit friendly format?
    MtD

  • How to search in BI 7.1 query designer for the required key figures & chars

    Hi All,
         Can anyone plz tell me how to search in BI 7.1 query designer for the required key figures & characteristics. I have the query being built on a multiprovider which has many cubes.
    So, i have a huge list of key figures and characteristics. I am not able to search for the required one by the name or the technical name.
    How can we search and pick the required object from the enormous list of the Mutliprovider in the Bex Query Designer??
    Thanks
    Phani

    There is not a search feature available. You have to do an educated guess under what dimension your infoobject could be and select.

  • How to find the basic key figure for a calculate key figure?

    Hi,
    We know one Calculated Key figure available in a query for a Info Provider. How can we find the Key figure which has been used for that CKF or from the Calculated key figure? Please help.
    Advance Thanks,

    Hi,
    1. To check the definition of the CKF you need to go to the query designer.
    2. Once into the query desiger switch on the technical names in the query. THis option is available in the Icons displayed on the top of query designer
    3. Then right click on the CKF and click display. You will find the necessary details.
    4. If you are not able to see the definition of the CKF, then you may need to go in the change mode and then . Try this in development environment.
    Regards,
    Adarsh

  • My msgs in inbox shows the different received time

    whenever i get a msg and i open it .it shows the different received time.it is far behind the original time been set in the mobile. is there any settings that i could change it.the mobile model is nokia 2700 classic and i bought it just two days before. it is happening for all the msg by different people.is there any  solution for this? is there any settings i could change to get the right timing?. i highly depend on the received timing since i could not get when exactly the people sent msg to me.help me with this?

    The time stamp in received msg is actually the time on which that msg was sent. so it won't be current time on phone. For example, a person sends you a text on 5:00PM and you u receive that on 6:00PM, now the time on ur phone is 6:00PM but the time in received text would be 5:00PM.
    Hope this helps.
    Previous Phones: 6600, 7610, 6230, 6230i, 1100, 1112, N70, N73, N95, N95 8GB, 5800XM, 5230, C5, iPhone 3GS, SE Xperia X10, N900, N8, SE Xperia Arc
    Current Phones: Nokia N9, iPhone 4

  • How can i display all the Coloumns (Key Figures) in the Report's same page

    Hi All,
    I am currently working on the BI 7.0 reporting. In the BEx Query Designer report, I am having 13 coloumns (7 Key figures and 6 Formulas) in the report. It is now displaying 10 coloumns in the First page of report. The other 3 coloumns can be seen by clicking on the next page. But the requirement is to see coloumns in the SAME PAGE.
    Are there any settings OR any other thing in the Query Designer, which can enable me to see all the coloumns on SAME page. The users are not interested in scrolling next page for 3 coloumns.
    Appreciates the Quick help/Response, please.
    Regards
    Ramana

    In Web Application Designer, for the properties of your analysis webitem under the Paging category, change parameter 'Number of Data Columns Displayed at Once' (BLOCK_COLUMNS_SIZE) to 0.  This will make all columns show instead of paginating as it is doing now.

  • How to copy two different key figures in third key figure in different time bucket.

    Hello,
    I require to copy one key figure-A for 2 months (M+1 and M+2) in other Key figure C. At the same time, I need to copy key figure-B from 3rd month onwards (M+3 onwards) to same key figure C. Is there any way to do this, please suggest.
    Regards
    Rajeev

    Check the following thread
    Defaulting to a KF from 2 KFs, based on different periods
    Thanks,
    Pramod

  • Assigning variable values in the virtual key figures Badi

    Hi,
    I'm currently using the virtual chars and key figures RSR_OLAP_BADI to calculate days late as 0NETDUEDATE - sy-datum. This works fine, but the query actually uses variable 0P_KEYDT to determine the key date (set in restricted key figures so not directly).
    I want to use this key date variable value rather than the system date to calculate Days Late in the CALCULATE method of the Badi. In the old user exits I could have retrieved the value from internal table i_t_var_range in the variables user exit ZXRSRU01 and stored it globally.
    Does anyone know how to get a query variable value within the RSR_OLAP_BADI Badi? I've tried using BAPI_REPPROV_GETVARIABLES but don't know how to pick up the session id to make it work. Is there a BADI equivalent of EXIT_SAPLRRS0_001?
    I'm sure one of you out there has the answer!
    Thanks,
    Stuart

    Hi József
    Yes I have, I think using SAP's white paper on virtual characteristics and key figures.
    My only outstanding question would be: is there a replacement BADI for the variables user exit and if not why not, since BADIs are supposed to be the preferred way now?

  • Basics about the forecast key figure

    Hello
    There are lot of Key figures in use -
    Statistical Forecast
    Ex-Post forecast
    Corrected forecast
    Adjusted Sales history
    Any idea what each stand for ?
    Thank you in advance
    KK

    Hi
    Statistical Forecast : This is system generated FCST based on FCST Technique used
    Ex-Post forecast:   Ex-Post Forecast is just calculating the forecast in the history horizon .This is calculated through the forecasting technique adopted by you .
    Corrected forecast : After system has created Stat FCST, we can manipulate as per our requirement and this is called as correct FCST. 
    Adjusted Sales history :- It regarding the clearing the sales history, In case of some business extreme condition we have some peaks and down in sales history. We require to correct them , to get appropriate Statistical Forecast. This corrected sales history which is also called as adjusted sales history get used for Forecasting.
    Thanks
    Amol

Maybe you are looking for