Supress Key figure if no data

I'm needing to supress a KF on a workbook or from within the query if no data is found for that key figure.
Any help will be awarded.
Thanks

Hi,
The last option: VBA in workbook:
Re: Display ' - ' instead of empty cell
Best regards,
Eugene

Similar Messages

  • Key Figures in Joined Data Source

    Hello,
    I have created some Key Figures for the Data Source "Sales Order Item". Reports based on this Data Source are working fine and also my Key Figures are displaying the right results.
    Now I want to create a Joined Data Source (Left Outer Join) with the Sales Order Item and Outbound Delivery Detail Line Items. The problem I have here is, that my own Key Figures based on Sales Order Item are not showing up in the list and I cannot select them.
    Does anyone know why? Do I have to create the same Key Figures again and again as soon as I want to join the Sales Order Item Data Source with any other Data Source?
    Thanks for any feedback.

    Key figure are not available in joining Data Sources, Characteristics of same type from different Data Source data element available in joining scenario.
    Regards
    Naveen

  • Restricted key figure not populating data

    Hi Guru's,
    I am facing problem with restricted keyfigure. I have restricted amount with cal year which is not populating data.
    This key figure is having data in provider.
    Could you let me know how to overcome this .
    Thanks in advance.
    Thanks,
    Vijay.

    Hi,
    The quesry is on Multiprovider? or infoset? it matters first..... or directly on cube? check it and apply relevent infoprovider properties for logic check.
    Check the global filters are there any infoprovider  restrications etc...
    And also while checking the datafor the KF in infoprovide " use ALL the restrictions that are in query and impact the data"
    also try removing the restiction and look for data...
    Hope this helps.'

  • Maintain key figure in master data attribute

    Hi,
    For some special requirement I have maintained  key figure in master data attribute but I am unable to use key figure attribute in infocube.  Please help.
    Thanks & regards,
    Goutam

    Hi,
    See in the below URL...under "Customer Exit Variables in BW/BI Reports", you can have all examples about Cust Exits and Replacement Path.
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Thanks
    Reddy

  • Suppress cumulated key figures for actual data

    Hello all,
    I have build a query which display monthly actual and forecast order income for an ficsal year. The fiscal year starts in July and end in June
    The forecast data were loaded in BW over an flat file for the whole fiscal year. The actual data gets loaded daily from R/3.
    When I run the query and select the whole fiscal year and displayed the key figures as "cumulated" in the query properties, I can see all the cumulated forecast values (for 12 months) but the actual order income data just cumulated till the current month (December). For the next months (until June) always the last value from December remains.
    I want to provide a line diagram in a Web Application, which shows the forecast and the actual data. Right now the line for the actual data stops to raise at the current period and gets continued as a horizontal line till the end of the fiscal year.
    Therefore my question is: Is it possible to suppress values for actual data for the next periods in order to end the actual order income data line in the diagram at the current month.
    Any ideas would be great.
    Best regards from Munich,
    Stefan

    The one thing I can think of would require a very messy way of doing things, but it would probably work.
    If you created a set of calculated/restricted key figures for each period of the fiscal year (non-cumulated), you could also have a set that cumulates up to each period. Then, in the calculation, you can set the stipulation that if period x is not > 0, then don't sum that particular colum. Then, supress columns that don't have any data in the structure properties. I think you'd end up with 24 columns, 12 hidden, and some that won't display depending on which values exist.

  • Addition of key figure in master data attributes.

    Hi All,
    I have a scenario to DPO (Days payable outstanding) amount in FI.
    I need to calculate purchases amount From 2LIS_O3_BF Based on the given input dates from customer .The Company code wise ACCOUNT PAYABLE amount  to be calculated from OFI_AP_4.
    There is no key link between this.
    So i want to add one key figure in Company code attributes to calculate and store account payable amount using Routine. Then i will give this attribute as navigational  in ODS of 2LIS_03_BF .
    Can i have key figure in attributes of masterdata. I need to load this daily to calculate amount.
    Is there any other solution, how performance will be effected with this solution.
    Thanks,
    JO

    Hi Joseph;
    Yes, you can add a KF as one attribute of master data.
    The other solution that I see is you create a DSO as a target of 2LIS_03_BF and then a transformation with company code. Direct link between DS and IO is not advise because one is delta and the other is full (you could have some problems).
    But if it's my choice... enhance the 0COMP_CODE_ATTR.
    Regards;
    Ricardo

  • How to fill date key figure with system date?

    Dear All,
    We would like to set on specific action (button press) to assign current system date top a date key figure within our infocube.
    Any idea how to achieve this?many thanks in advance for any idea!
    Kind Regards
    Olivier DESFOUR

    Dear Khaja,
    I'm not exactly using an update rule, i'm using Integrated Planning component.
    Customer would like to set this key figure on user action; ie for example
    user validate a step within planning process by pressing a button on workbook.
    then system is stamping system date within cube.
    Hope it helps
    Kind regards
    Olivier

  • Key figures are of date type

    Hi,
    I am working with a standard business content IC that has the key figure InfoObjects defined as type date. When I double click on the InfoObject to review the detail from tab 'Type/unit', I see that it is defined with the radio button 'Date', but the 'Data type' is 'DEC - Counter or amount field with comma and sign'. When I loaded the data to this IO, I would get a 732,163 for the value, for example.
    Has anyone come across this issue before? Can I change the standrad IC to have these in the Time characteristics instead of the Key Figures? I am expecting a date value, what should I do?
    Thanks
    "<i>When dealing with people, let us remember we are not dealing with creatures of logic. We are dealing with creatures of emotion, creatures bustling with prejudices and motivated by pride and vanity.</i>" ~ Dale Carnegie
    "<i>The truth may be out there, but the lies are inside your head.</i>" ~ Terry Pratchett, 
    "<i>Confrontation lacks elegance and dignity, but most prefer to tell others how hateful they are toward another rather than maintaining that elegance and dignity</i>." ~ Anonymous
    "<i>Educate yourself and get the story straight before you get confrontational, vulgar, immature, and prematurely jump into conclusion and into someone else's throat.</i>" ~ Anonymous

    Hello ,
           This actually depends on ur requirment. if you want some calculation like processing time,difference.. etc.. with this Date infoObject then u have to use the Key Fig InfoObject.
          The difference between DAT and DEC is that in DEC..if the date is 13/04/2007 then it will give u number of days from 1.1.0001 that means somthing around 732,688 (current day of month =13 + April = 120 days+2007*365).
         and your DAT will take exactly with it recives yyyymmdd (20070413)
                     -- Enjoy SAP
    Anil Raparthi
    Pls: award credits if you are satisfied with the above reply!

  • Key figure in Master data

    Hello
    I have a key figure defined in the master data info object.
    Now the values of the key figure are not getting updated in the info object after running the DTP.any suggestions as to why this could be happening.
    One thing i noticed is that the length of the key figure is 9 digits and in the source field it is 15 digits. Does that make a difference at all.

    Hi,
    Even you can maintain key figure as an attribute for master data, it wont be a problme. Define your keyfigure as an attribute for master data info object and load the master data again.
    Regarding the length of the field between source and BW, it should get atleast 9 digits (I guesss).

  • Summing up key figure in Cube - data load from ODS

    Hello Gurus,
    I am doing a data load from ODS to cube.
    The records in ODS are at line-item level, and all needs to be summed up at header level. There is only one key-figure. ODS has header and line-item fields.
    I am loading only header field data ( and not the item-field data) from ODS to Cube.
    I am expecting only-one record in cube ( for all the item-level records) with all the key-figures summed up. But couldn't see that.
    Can anyone please explain how to achieve it.
    I promise to reward points.
    =====
    Example to elaborate my point.
    In ODS
    Header-field  item-field   quantity
    123                301          10
    123                302           20
    123                303           30
    Expected record in Cube
    Header-field       Quantity
       123                    60  
    ====================
    Regards,
    Pramod.

    Hello Oscar and Paolo.
    Thanks for the reply. I am using BW 7.0
    Paolo suggested:
    >>If you don't add item number to cube and put quantity as adition in update rules >>from ODS to cube it works.
    I did that still I get 3 records in cube.
    Oscar Suggested:
    >>What kind of aggregate do you have for your key figure in update rules (update >>or no change)?
    It is "summation". And it cannot be changed. (Or at least I do not know how to change it.)
    There are other dimensions in the cube - which corresponds to the field(s) in ODS.
    But, I just mentioned these two (i.e. header and item-level) for simplicity.
    Can you please help?
    Thank you.
    Pramod.

  • Conditions: Variables on date key figures

    Dear Sirs,
    I am trying to create a condition on a key figure of type date (subtype: dats). I want the user to select a date interval for this condition, using variables.
    The problems seems to be that the variable input screen thinks the user should enter an amount and not a date. If I enter a date in the variable then no data is beeing displayed.
    So how can I get the variable to understand that the input is a date ?
    Has anyone done what I try to do sucessfully.

    Hello Rakesh,
    thanks for your input. However, I am not able to get it to work.
    I create a condition on the key figure "date". I use e.g greater than. Then create a variable with replacement path to 0CALDAY, and transfer the condition.
    When I run the report I get the following error.
    Termination message sent
    ABEND BRAIN (418): Variable VAR_20080128112329 (D2LEOFV2P3JFW0YWPGXBKJ53A) does not exist or is incorrectly used 4 D2LENS95OIB2G5DTW28S323D2
      MSGV1: VAR_20080128112329
      MSGV2: D2LEOFV2P3JFW0YWPGXBKJ53A
      MSGV3: 4
      MSGV4: D2LENS95OIB2G5DTW28S323D2
    Have you managed to solve the excact same requirement?
    regards,
    Jørgen

  • How to use exception for a Date Key Figure

    Hello All,
                    I have the following requirement.
    1. I have a Key Figure which is Date Type.
    2. I need to color the cell to green if the it is filled with date otherwise leave it as it is.
    Please suggest how to overcome it.
    Thanks & Regards,
    Rajib

    hi,
    Your requirement is not clear, you have the below setup
    I have the following requirement.
    1. I have a Key Figure which is Date Type.
    How can a KF be of date type, or is it the value of a date characteristic that you have extracted in KF using formula variable. If yes you just need to define exception for the value greater than 0.
    regards,
    Arvind.

  • Adding key figures using commands in Web Application Designer?

    Hello, all.
    I have a query the contains several key figures.  From that query, I created a query view in which only one of the key figures is displayed.  I'm using this query view for one of the data providers in a web template.  In Web Applicaiton Designer, I would like to be able to hide the key figure from the data provider and show a different one.  How can I accomplish this using the built-in commands?
    I know I can hide all key figures using the CLEAR_SELECTION_STATE command, but I can't figure out how to use a command such as SET_SELECTION_STATE_SIMPLE to show a different key figure.  Any help would be great!  Thanks.

    I've tried that using the GUI to configure the command, but WAD crashes when I try to open the window where I choose the member name.  The error says:
    "4A6DM1A4LTXPJKA1BA3LD9TTD is not a valid characteristic for InfoProvider MQM_M01."
    I also tried entering the commands as you suggested in the XHTML editor, but that resulted in an error when I tried to execute the command.
    Maybe I can do what I'm trying to do using some method other than changing key figures.  Basically all I want do is change the date range of the data shown using offsets.
    The key figures that I'm trying to add and remove are restricted in Query Designer to different date ranges.  These date ranges use offsets to set the restriction.  For example, one key figure is restricted to display values for only the last 7 days and I'm trying to replace it with a key figure that's restricted to the last 14 days.
    If I knew how to set a filter with offsets using commands in WAD, then I'd use that method, instead.  Any suggestions would be appreciated.

  • Key figure routine in update rules

    I have a Cube (X) that gets data from a ODS (A) but one of the key figures gets the data from another ODS (B) with a routine in update rules and I want to change it to ODS (C)
    A (All objects except one) - X (All objects except one)
    B (0DEB_CRE_LC) - X (0DEB_CRE_LC)
    select sum( DEB_CRE_LC )
             into RESULT
             from /BIC/AZDOC_SUB00
             where OI_EBELN EQ COMM_STRUCTURE-OI_EBELN
              and OI_EBELP EQ COMM_STRUCTURE-OI_EBELP
              and /BIC/ZCLASC_ID EQ COMM_STRUCTURE-/BIC/ZCLASC_ID
              and PSTNG_DATE LE l_datafim
              and PSTNG_DATE GE l_datainicio
              and /BIC/ZTPOPER = '9'.
    My problem is that my ODS (C) doesn't have 0DEB_CRE_LC and the values are divided in 2 key figures (D) & (E), I want to sum both key figures into 0DEB_CRE_LC of the cube.
    I tried a tip from a friend but didn't work, I'm lost (newbie), and apreciated some tips, it doesn't seem to sum anything
    data: result1 type /BIC/AZPUR_S0100-/BIC/ZSLIQ_VAL,
          result2 type /BIC/AZPUR_S0100-/BIC/ZSIVA_VAL.
    select sum( /BIC/ZSLIQ_VAL ) sum( /BIC/ZSIVA_VAL )
             into (RESULT1, RESULT2)
              from /BIC/AZPUR_S0100
               where OI_EBELN EQ COMM_STRUCTURE-OI_EBELN
                and OI_EBELP EQ COMM_STRUCTURE-OI_EBELP
                and /BIC/ZCLASC_ID EQ COMM_STRUCTURE-/BIC/ZCLASC_ID
                and PSTNG_DATE LE l_datafim
                and PSTNG_DATE GE l_datainicio.
      write result1.
      write result2.
    Many thankx

    data: result1 type /BIC/AZPUR_S0100-/BIC/ZSLIQ_VAL,
    result2 type /BIC/AZPUR_S0100-/BIC/ZSIVA_VAL.
    select sum( /BIC/ZSLIQ_VAL ) sum( /BIC/ZSIVA_VAL )
    into (RESULT1, RESULT2)
    from /BIC/AZPUR_S0100
    where OI_EBELN EQ COMM_STRUCTURE-OI_EBELN
    and OI_EBELP EQ COMM_STRUCTURE-OI_EBELP
    and /BIC/ZCLASC_ID EQ COMM_STRUCTURE-/BIC/ZCLASC_ID
    and PSTNG_DATE LE l_datafim
    and PSTNG_DATE GE l_datainicio.
    write result1.
    write result2.
    <u>RESULT = result1 + result2</u>
    I still have to test it, first i was getting syntax errors because I didn't put spaces right sorry

  • How to get the key Figure values.!.......?

    Hi friends...
          I have a scenerio , where I have loaded the data from 3 different data sources say A  , B and C in to 2 different DSO s and in to 2 different Info Cubes. And I have built Multi Provider from this 2 Info cubes.
    In the data source B , I have BELNR (Parked document number ).WRBTR (for Amount). In the report I have to show a field called Nr of Documents Parked and Value of Documents Parked. Same thing for Data Source C,  for Blocked Documents. Now My question is there is no Key Figure in My Data Model to Count the Nr of Parked / Blocked Docs....So in the Reporting how can I show this ? Do I need to use Customer Exits ? Do I need to have CKF /RKF ? if so , from what Key figures ? or Can I get the Count from the Backend (Modelling itself by using a Keyfigure with any Code)?...not only this 2 , I have lot many custom things to do in my Model...If any one can get me some idea on this , remaining will be very easier for me as they all are similar things to do....
    Please let me know if you have any questions or I need to elabarate it more to get an Idea on this....
    Thanks in advance

    THANKS GUYS ,
         I wrote the transformation routiene to count all the parked documents as
      IMPORTING
        request     type rsrequest
        datapackid  type rsdatapid
        SOURCE_FIELDS-/BIC/ZPARKBEF TYPE /BIC/OIZPARKBEF
       EXPORTING
         RESULT type tys_TG_1-RSTT_IPTDA
    DATA TMP TYPE tys_TG_1-RSTT_IPTDA.
    IF SOURCE_FIELDS-/BIC/ZPARKBEF = 'Y'.
    TMP = TMP + 1.
    ENDIF.
         RESULT = TMP .
             But when I see the Infocube data its showing only 0 for Parked Before value 'N' and 1 for Parked Before vale 'Y'. But I want to calculate total number of parked documents ..How can I do this?
    Thanks

Maybe you are looking for

  • How come in Finder, when I search "This Mac", there's fewer results than when searching somewhere more specific? Shouldn't it be the opposite?

    I have my preferences set so that New Finder windows show Macintosh HD. So when I open a Finder window, five folders are shown: Applications, Library, System, User Information, and User. As an example of the subject of my question, I opened a Finder

  • Trouble with Titles - Help!

    I am a little bit familiar with iMovie b/c I'm using it for a technology class I'm taking in grad school. I am working on a project now and I'm having no luck inserting a title over a video clip. When I try to move it to the timeline, it just adds an

  • ICloud Lion $29.99 MS Office 2004 not supported $$$

    Holy Crap!  I joined iCloud feeling the clock ticking.  Then I learn I need the $29.99 OS upgrade to Lion to support iCloud and I oblige.  NOW, I learn MS Office 2004 is not supported!  Feeling a little baited here.  Can't open any of my .doc's!  Any

  • Archiving of table records

    Hi, Oracle9.2 Windows I have created a cursor to copy the records from table T1 to another table T2 which are 30 days old and those copied records need to be deleted from table T1. Now, before deleting the records from table T1, I want to put some ve

  • Use of Customer Exit - IP Wad Input ready Query

    Hi All, Can anyone confirm if we can use a customer exit variable(populates a SEQ number) be used in a input layout on IP>>WAD application. In my case it displays the seq number in the header area,but displays the "No rows or cols displayed because t