Highlight a key figure based on a characteristic value

I have a query set-up with the following information fields:
Project_Phase (characteristic), Phase1_ForecastFinishDate (key figure), Phase2_ForecastFinishDate (key figure), Phase3_ForecastFinishDate (key figure), Phase4_ForecastFinishDate (key figure), Phase5_ForecastFinishDate (key figure)
As you can see from the above, the first field is a characteristics and the others are key figures.
I want to set the query up so that if for example, Project_Phase = u201CPhase 2u201D, then the corresponding ForecastFinishDate would highlight green u2013 in this case it would be Phase2_ForecastFinishDate.
Is this possible using an exception, or any other method for that matter. We are using version 3.5.
Cheers.

Simon,
The best way to create it is using exceptions and conditions.
Follow the link to the conditions:
http://help.sap.com/saphelp_nw70/helpdata/EN/1e/7875a998bc44409f6002e28552685a/frameset.htm
I hope it helps.
Thanks,
Daniel

Similar Messages

  • Can a Calculated key figure be derived from characteristic value?

    Hi,
    I would like to know whether BW allows to derive a calculated key figure based on a characteristic value. Let us say we have a row like
    PLANT-DAY-INVENTORYQTY
    and based on my plant value, I want to have another column 'CALCULATEDSCRAP' which is derived from 'PLANT' and INVENTORYQTY (I know this is a crude example, but will do for my need)
    Is there any way in BW to get this logic implemented?
    Thanks,
    Ajay Das

    Hi Tom,
    I have a very similar problem. In my if logic i compare to dates  but I don´t understand what you meen by
    "Therefore I suggested to add an attribute to convert the characteristic in a number and use this number for the if logic."
    For the moment, the condition calculates each field individualy correctly but doesn´t treat them as numbers when aggregating.
    Thanks in advance,
    Victor.

  • Calculated Key Figures based on Attributes

    Hi
    In one of our queries we need to create a calculated key figure based on an attribute. Any suggestions on the best way to do this?
    I have looked at a Virtual Key Figure, but because our Cube name contains underscores (_) it shortdumps. Is there a way around this?
    Thanks in advance.
    Chami Herath

    Hi,
    what do you mean with calculated key figure based on an attribute? Is your attribute a characteristic in the cube or is it just a attribute of a characteristic? Let me know more details.
    regards
    Siggi

  • Using Key figure attribute of a characteristic in a query

    Hi All,
    I have the following scenario. I have defined a key figure attribute for a characteristic Infoobject. I have included this characteristic infoobject in an Infocube. I now want to use the key figure attribute as a regular key figure when I create a report based on the Infocube. Is it possible and if so how is it possible?
    Thanks
    Sundar

    Hi Saundar,
       There's another way.Set the characteristic with key figure attributes as a data target under your info area. Create a MultiProvider and include your Cube and this characteristic. Here you can set the key figure as your MultiProvider key figure.
       Don't forget to take care of the identification of MultiProvider.
       Hope this helps.
    Regards,
    Aaron

  • Use of key figure based on period

    Hello All,
    I have 2 key figures in my multiprovider, e.g. Actual Amount and Budget Amount.  I need to display one of the key figure based on period.  Reports have January to December columns.  Now, if current period is October, I have to display Actual Amount from January to October.  For future periods i.e. November & December, I need to show Budget Amount. 
    Can anoybody please provide a solution for this?  How should I proceed?
    Thanks and Kind regards,
    Ajay

    HI Ajay
    Looks like you are creating a Capital Forecasting report. In order to show amounts period by period what you need to do is
    - Create one key figure for actual amount which might be based on 0Amount key figure with Debit/Credit indicator as S. (If this is not the case then please do so according to your requirement)
    - Create one key figure for Budget amount (according to your requirement)
    - Create one customer exit "Formula" variable called actual indicator. This variable will be populated with a number of 1 to 12 for each record in your cube based on the user entered month. i.e. if user enters October. assume your cube has 12 records one for each month the first 10 records will be populated with 1 and the records for Nov and Dec will be populated with a 0.
    - Create one customer exit "Formula" variable called Forecast indicator. This variable will be populated with a number of 1 to 12 for each record in your cube based on the user entered month. i.e. if user enters October. assume your cube has 12 records one for each month the first 10 records will be populated with 0 and the records for Nov and Dec will be populated with a 1.
    - Create a calculated key figure that is defined as (Actual Amount)Actual indicator + (Forecast Amount)Forecast Indicator.
    - Create twelve restricted key figures with the CKF created in the previous step restricted with the month (Jan to Dec)
    - Add the above created twelve RKFs in the query.
    Regards,

  • Key Figure based on condition between characterisics

    Hello Guys
    I have a key figure which needs to be displayed based on condition between 2 characteristics.
    Scenario:
    I have 2 fiscal periods : FP1 and FP2. and a Key Figure KF.
    Condition:
    Show KF only when FP1 not equals FP2.
    EX: If FP1 = May and FP2 = May dont show KF.
          If FP1 = May and FP2 = June then show KF.
    How do i display a key figure based on a condition between 2 characteristics?
    Please advise.
    Thanks.

    Create two formula variables based on replacement path that get the FP1 and FP2 (numeric values).
    Let us say these are ckf1 and ckf2.
    Create another CKF3 which is = "ckf1==ckf2"
    Now, CKF3 will be 0 if these two are not equal, and 1 otherwise.
    Create a condition on CKF3 so as to show only the records with a 0 value.
    Finally hide CKF3.
    That should be it.

  • Fixed value Statistical key Figures based on Profit Centers - 9KE5

    Hi all,
    We have a Statistical Key Figure that is of Fixed Value category, based on Profit Centers. We are manually entering it in 9KE5.
    Since it is of fixed value category, am I right to say that: once we enter in one period,  it will automatically be updated in subsequent periods? But the current situation is, it does not update in subsequent periods, only the period which we enter.
    Does anyone know how to correct this? So that once it is updated in 1 period, it will be automatically be updated in subsequent periods.
    Thanks in advance!

    Hi,
    Yes, I saw the field and chose 1- Equal distribution.
    I then select period 1, enter the quantities and save. Go back to 9KE5 and choose period 2, I expect the quantities entered in period 1 to be reflected in period 2. But this is not the case- there is no value for period 2.
    I also managed to change the selection screen to have Period as select-options. If I choose Periods 1 to 12, the quantity I entered in 1 period is divided into 12, and it will only show that divided quantity. However, if I choose another Period, Period 3 for example, no value is shown.
    Is this the correct behaviour? I am expecting the quantity entered in period 1 will also be shown in any other period.
    Thanks!

  • Calculated Key-Figure based on Cumulated Key-Figure

    Hi BW-Community,
    I have problems defining a ckf based on a key-figure wich are marked as cumulated. I know this topic was discussed before
    but I did not find a acceptable solution yet.
    Here is my example (as it should be)
    *** KF1     KF2   CKF3 (KF1 % KF2)
    2            2           100%      
    4            2           200%
    6            2           300%
    And this is the Output from BW
    *** KF1    KF2   CKF3 (KF1 % KF2)
    2            2           100%      
    4            2           100%
    6            2           100%
    BW uses the not cumulated keyfigure-value instead of the cumulated value,
    I tried several things:
    1.) Use the class CL_RSR_WWW_MODIFY_TAB and redefine the method data_cell to do a manual calculation on the results. This works but
    it is very inflexible and restricted on WEb Template also the Excel Integration do not work properly.
    2.) Mark the CKF also as cumulated but this don't work either.
    My customer uses such calculation on almost every Query and Report so I need a practicable solution.
    I think the best way to solve this is in the staginf prozess, but i did not find a solution yet.
    Does anybody know a workaround, solution? We will put to NW2004s soon is there any chance that this will work
    in this release?
    Thank you in advance
    Greetings
    Timo

    Hi
    Thank you for the replies.
    I create a new CKF without percentage funktion but it didn't work. Same result as described in the first post.
    Even if i put only KF1 in a new CKF (e.g.CKF2  =KF1) the uncumuated value is shouwm
    Example:
    *** KF1    CKF2
    2           2 
    4           2
    6           2
    @ Structure
    I know that using structure is possible. But we cannot use structures, because we have a dynamic amount of characteristic-values (e.g. 0calday)

  • Webtemplates - Disply Group Of Key Figures based on the selection criteria

    Hello,
    I have a requirement of displaying Kefigures based on the selection criteria in the browser.
    Assume that I have Query with the following set of key figures.
    Plan_KF in units CSE
    Actual_KF in units  CSE
    Difference in units CSE
    Plan_KF in units T3
    Actual_KF in units T3
    Difference in units T3
    Plan_KF in units PAK
    Actual_KF in units PAK
    Difference in units PAK
    1) I should have drop down box with values
    CSE
    T3
    PAK
    2) If user selects PAK then query should display only the key figures with units in PAK
    i.e.
    Plan_KF in units PAK
    Actual_KF in units PAK
    Difference in units PAK
    If user selects CSE the query should display only key figures
    Plan_KF in units CSE
    Actual_KF in units  CSE
    Difference in units CSE
    I tried using the DropDown Box - (not much usefull to select more than one Key Figure)
    and CheckBox web items - I have to do multiple selections (Not very much suitable if the Key figures are too many).
    I appreciate your timely help.
    system specifications:
    SAP_BW - 310
    Front-End - 6.20
    Advanced Thanks,
    Ramana

    Hi,
    One alternative would be to save two additional copies of the query (each with different units) and code your dropdown box with the RESET_DATA_PROVIDER command.
    So if your queries were:
    Z_QUERY_CSE
    Z_QUERY_T3
    Z_QUERY_PAK
    You would define the default unit (I'll assume CSE) in yoru web template, and code your dropdown box entries to switch the Data Provider (I'll asume DP1) to the appropriate query.
    The code behind "T3" in your dropdown box would be:
    <SAP_BW_URL DATA_PROVIDER='DP1' CMD='RESET_DATA_PROVIDER' INFOCUBE='Z_CUBE1' QUERY='Z_QUERY_T3'>
    http://help.sap.com/saphelp_nw04/helpdata/en/bd/43143c1ab8ff1ae10000000a11405a/frameset.htm
    Two things to look out for in this work-around:
    1) Number of queries increases by a factor of 3
    2) Performance implication in replacing the data provider with a new query.

  • Key Figure based on selection criteria

    Hi SDNers,
    I have Key figures which  i would like to display based on multiple selection criteria... for this we donot have master data data restricted at the query level it should be at the key figure leve...
    Eg:
    Sales which i would like to display based on SORG,DIV,MATERIal Etc.. Kindly can anyone will help...
    Thanks
    Sonu

    You can create restricted key figures if you want to use the same selection criteria in multiple queries.  In which you can get value for key figure for selcted filters on that perticular key figure.
    If you need it for just one query  you can create a structure and in that structure you can create a new selection which has your restrictions on that key figures.
    Search on help you will get to know hot to create structures and restricted key figures.

  • How to controle the output of a key figure based on an attribute

    As part of following up on a select range of materials during their launch period a report is needed, where the key figures are controlled by a specific attribute.
    The attribute is called End Launch Control Date and it holds the specific day where the product goes from launch to replenishment. When the product goes into repleneshment it is no longer relevant to follow up on.
    The follow up list contains around 80 materials (SKU's) and the challenge is that they have different End Launch Control Dates.
    So, I would like to design a report that does the following:
    1) When drill on material, the key figures only show values before the End Launch Control Date for the specific material. After this date, the key figure should state either zero or blank cells.
    2) The key figures should not be controlled by a specific date in the prompt, because the End Launch Control date is different for each material.
    Does anyone have experience in constructing this functionality?

    Hi,
    you could maybe do this with using formula variables and and IF statement in the keyfigure you want to be blank after a certain date
    basically you want/need to compare a date (which date would that be, one in the columns or smth?) with the end launch control date and if this date is bigger then this leave KF 0.
    so you need to create a formula using two formula variables (of type replacement path and being replaced by the 2 dates) and compare these two in the formula. Then you use the outcome of this (which should be 0 or 1) in a new formula with the keyfigure (statement true * KF ) + (statement false * KF). This will give a value when comparison is ok and 0 when it is not ok.
    This description might be not complete and bit short but I dont have the time to fully look it up, please let me know if you didnt understand the idea behind it.
    Regards
    C.

  • Restricting key figure based on - INPUT value or value in TRANSACTION data

    Hi fellow BWers, hope you can help with this report requirement.
    Manual input variable : 0CALMONTH.
    <b>Is it possible to restrict a key figure (0amount) like this on-the-fly: </b>
    If 0calmonth in input variable > 0calmonth in transaction data
       then restrict 0amount with 0calmonth from input variable
    else restrict 0amount with 0calmonth from transaction data
    It's a must-have requirement to do it 'on the fly', not in the ETL.
    Thanks very much,
    AG

    Thanks a lot, I get the idea
    In order to get the 0calmonth from the transaction data, i need to :
    1. display the lowest granularity in the rows (so that calmonth is unique)
    2. then use formula variable with replacement path on the infoobject 0CALMONTH to get the value from transaction data?
    Is this correct?
    If yes...since the user does not want the lowest granularity in the report, he wants result pr. profit center, this will happen if I take 'No display' on the characteristics :
    Profit center A ||  20
    Profit center A ||  30
    Profit center A ||  10
    Profit center B ||  15
    <b>Question</b> How do I get the total pr. profit center, despite having all the other characteristics (hidden) in the row?
    Thanks
    AG

  • Displaying Restricted Key Figure Based on Fiscal Year

    I'll try and explain my problem.
    We have created a query using the CCA cube. We created 3 restricted key figures each with a different budget plan version. They are called 'AB' ,'PB' and 'RB'. When the user runs the query it will show planned values out for 5 years. So for example right now we are in Fiscal year 2006.
    The problem is that 'AB' is only valid for year 2006, 'RB' may only me valid for 2007 and 'RB' may only be valid for 2008 - 2010. They use a different plan version for different years, If I place all three columns on the report I get zeros when the plans are not valid. Here is what I would like: When the fiscal year changes somehow select the correct restricted key figure to show and also adjust the text to reflect the fiscal year.
    Its like my variables are dependent on the fiscal year displayed.
    Any help would be great.
    Rick

    Hi Richard,
    Have you tried out the Suppressing Zeros options in query properties...if the whole column is blank for a particular year, you should be able to suppress it. Click here for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/1e/99ea3bd7896f58e10000000a11402f/content.htm
    You can use text variables in the RKF description to reflect the year for which the data is being displayed.
    Hope this helps...

  • Virtual key figure BADI - does not change value

    I wrote a badi for virtual key figure according to guidelines from an SDN doc on how to create virtual chars and kf's.
    However, the value of the key figure is not changed at all. Below is my code. Please see what I'm doing wrong
    method IF_EX_RSR_OLAP_BADI~DEFINE.
       APPEND 'ZRANKS' TO c_t_kyfnm.
    endmethod.
    method IF_EX_RSR_OLAP_BADI~COMPUTE.
      if P_KYF_ZRANKS > 0.
        assign component p_kyf_zranks of structure c_s_data
        to <fs_ranks>.
        <fs_ranks> = '1.0'.
      endif.
    endmethod.

    There is something you need to do which I have not seen described in any of the documention here.
    You need to copy the source code for the INITIALIZE method directly from the code given in the example class CL_EXM_IM_RSR_OLAP_BAPI. That is where the P_KYF<object> and P_CHA<object> attributes are assigned their values. If you do not copy this code into your own implementation, these attributes have no value in the COMPUTE method and your code will probably not work.
    Bryan

  • Pricing based on the characteristic value of the variant

    Dear experts ,
    I have a material that has source inspection active .
    Its inspection characteristics are P1 & P2  depending on the value of which the net price changes.
    When a PO is created , quality inspection lot is generated , result recording is done where the value of P1 & P2 are entered .
    GR is done .
    Now based on the value of P1& P2 correct price shud be picked at the time of GR.
    Is this possible ?
    Regards
    Anis

    Dear Anis,
    This is very much possible. In fact dairy industry works on the same principle. The pricing takes place only after Inspection lot characteristics are posted.
    This is long exercise, wherein you need to maintain certian special condition types and access sequences. You can get more information at buidling block library Link: [http://help.sap.com/bp_bblibrary/600/BBLibrary_Start.htm]
    Check G95: Dairy procurement.
    Hope this helps.
    Amit

Maybe you are looking for

  • Error message when installing Photoshop CS2 in Windows 8

    I just upgraded to a computer with Windows 8.  I use Photoshop CS2.  I am getting the error message below when starting photoshop after installation.  I changed program folders, but that did not work.  Please advise.  Error: an error has been detecte

  • Export to PDF in landscape orientation

    Some of our discoverer reports have too many row headings so when exporting to PDF the user gets an error message basically saying that at least one data column must be printable on a page. We have turned on the Printable Page link and if the user se

  • No WIFI when connected to External Display

    When I connect MBA to a Dell 2405FPW monitor, wifi gets a "connection timeout". When I disconnect external display, wifi works - all this with the same wifi point. I took MBA to the apple store, they connected the MBA to their displays and it works.

  • Building database applications with business catalyst

    If i have a small project when i want to upload some data (hosting a database on business catalyst)  daily via excel sheet and wanted to run reports against that data. and i also want my site visitors/paid users should also able to run some self serv

  • Open an applet inside a JFrame?

    Hi all! I know this subject is kind of covered in previous topics, but my situation here is a little different. I have a TRENDnet TV-IP100 Internet Camera that uses a Java-Applet to show in a browser window the video it captures, using an xview.class