Key Figure values based on characteristic Drill-downs

Hello All,
I have Issue with my drilldown options in the report. The values of Sales qty need to change at particular drilldown.
I have Sales Revenue and Sales QTY key figures in my DSO with  plant, factory, customer and Business type (Values A, B, C and D) characteristics.
IN the report requirement I want to show the SALES QTY for only Business Type  "A" at Plant , factory and customer level, but when I am at the Business code level, then I am to show all the quantities by that level.
THe sales revenue should always show values for all Business code irrespective of the drilldowns.
please provide suggestions and code on how to go about the issue.
thanks,
pra.

Hello Guys,
Thanks for your response.
Let me explain clearly...with an example.
We have DSO which has 5 chars and 2 KFs.
Chars - Company Code, Plant, Customer, Material and Business Code (which has values A, B and T).
KFs - Sales Qty and Sales Revenue.
Report output ---
Customer
Company Code
Plant
Material
Business Code
Sales Qty and Sales Rev
Requirement is a follows -
When the report is run.... the report will display on Customer with KFs.
then if user wants to pull company code he can do so...as will other chars (Plant, Material and Business Code)
but the condition is that when the user is seeing the report at customer with KFs ,....the KFs should only show values where business code = "A"
so is the same with other chars - Company code, Plant and Material.
But when user drags and drops the Business Code char in the report against the KFs .then the report should include all Business Codes ( A, B and T) with corresponding sales qty and sales rev for all business codes.
Solution - Partially working--
What I have done..is restricted the sales qty and rev with Business code = A, its working fine for all drill downs except that, when I am at business code level its showing as
Business Code QTY REV
A             300          3000
B                0              00
T                0               00 .
Hope you got the issue. Please let me ,,if you need any information.
Thanks,
Pra

Similar Messages

  • Key figure value based on user input.

    Dear Friends,
    We are using BI7.00 and NW2004S. In one of our report to monitor the number of notification closed and the number of notification open upto the user selected month. For this i have created a Query which has selection screen value as month. I have created a condition which will fetch the difference in days (notification completion - notification creation date) based on user entered value.  For example if user enters 10 in the selection screen, report will fetch the notifications which have diffrence in days as 10.
    The condition is okay for the above. What user actually wants is the number of notifications completed and that pending based on the value he enters in the screen. For example he enters 10 in the screen, system should show the values as shown below
                    > 10 days    
    Completed                Pending
              3                           2 
    I tried various options but could not achieve this.
    Experts help expected. Kindly provide solution.
    Regards,
    M.M

    Hi,
    As per my understanding 1 firstly u have to find out
    the no of days (diff between dates notification completion, notification creation date .)
    then u have to create condition on no of days which u
    have find.there u have to create one user entry
    variable for the user can enter his own parametrs.
    Right?????
    If It is right..
    here are the steps..
    1st:in the query designer at key figure coloumn create
    one local formula.in that local formula create formula
    variable with replacement path.in that take reference character
    notification completion.in the next tab take replace ment
    as key.in the last tab select "date".
    2nd: do the same thing for the notification creation date.
    3 rd : create 3 rd local formula and do the substraction
    for the first 2 local formulas.
    4th:create codition on the difference which u have find with
    on that condition u can create one user entry varibale.
    5th:while u defining the query put these 2 dates,i,e
    notification completion, notification creation date in the character block.
    If not system will ignore the formula variable which u created in
    above steps.
    Hope this wil help u.
    regards....KP

  • Change Key Figure Value based on Characteristics

    Hi,
        I have a report where based on characteristics value I have to change the value of the key figure either to + (Positive) or -(Negative).
    Is it possible through virtual keyfigure?
    Can anyone give me details of the same.
    If anybody can send me complex reporting document, please send it to
    [email protected]
    Thanks,
    Moon

    Hi.. Do u want to implement this only in the report or store the sign back into the cube ?
    If u just want to use the value of the masterdata as a key figure for calculation (i.e. u can read the value of the masterdata or attribute and write a formula variable that uses this value and returns a sign), use a formula variable with replacement path and u've got ur results.. in case u want to store this in the cube, the transformations would help..
    let me know if this helps and it would help further if u explain the exact scenario...
    Cheers,
    - Aditya

  • Calculation of KFs at query run-time based on Characteritics Drill-down

    Hello All,
    I have an Important Issue which I need to solve but got stuck.
    The report requirement is that we need calculate the KF values based on the drill-down selection in the report at run-time.
    Say for eg: if the user is drilling-down the report by customer, plant or company code or any thing else other than material group...we need to calculate / Include KF values for only Materail Group  = "A" and if we are at the materail group level we need to calculate all the material groups which includes A, B, T and so on.
    Please suggest what are the avialable options for me like using virtual key figures. please provide me with some sample codes.
    your help will be highly appricated.
    thanks,
    Pra

    any toughts....Pra

  • How to create a variable for key figure (value will be entered by the user

    I want to create one query, where the user has to entered a max value when the query is started, so that only the query rows will be listed, where the key figure value (integer) of the row is smaller than the max value given.
    How can i define that variable which has to start at the begin of the query; and also the restricted key figure iin consideration of the KF variable.
    Thanks for helping
    Ar.

    Hi Arnaud,
                Go to Conditions-> Right click -> New Condition -> Edit -> NEw -> Selct the KEy figures from the dropdown( the KFs that are used in the rows/columns) -> Select Less than from the operator drop down (less than is for you case) -> Values, there is an option to create a variable -> Select the variable -> transfer. It will appear on the top.
    Save & Execute, you will find it in your selction criteria.
    Regards
    Sunil

  • Need help for report Variable to restrict the key figure value...

    Hai gurus,
    Now i have data in the cube as follows...
    Reuisition     HR INTW date     LM INTW DATE     TEL INTW DATE     HR Count     LM Count     TEL Count
    a1              01.01.2010     02.01.2010             01.04.2010                 1                1                 1
    a2              02.02.2010     03.02.2010             02.02.2010                 1                1               1
    a3              03.03.2010     04.03.2010             03.03.2010                 1                1               1
    when i execute the report it shd ask the prompts with Date interval as in the below...
    HR INTW date
    LM INTW DATE
    TEL INTW DATE
    if i dont give any interval in the variable prompt it should display all the recors as follows
    Reuisition     HR Count     LM Count     TEL Count
    a1               1                  1               1
    a2               1                  1                     1
    a3               1                   1             1
    If i give LM INTW DATE interval as    01.01.2010 to 31.02.2010
    then it should display all the other counts as in the output_1 , but for LM count for a3 it should show 0.
    Reuisition     HR Count     LM Count     TEL Count
    a1               1                  1               1
    a2               1                  1                     1
    a3               1                 0                  1
    that means wherever i restrict the data depending on the variable that only that interval key figure value shd be in the report..
    for this scenario, which variable i need to use... and how i need to restict the KFig value in the report...
    Right now i am getting like this but it is restricting the records,,, where it should not restrict the records...in the report..
    Please guide me for the same...
    If any concerns about the scenario please let me know...
    Regards,
    VJ

    hi chowdary ,
    could you tell me the var. creation in detail and  with which reference object i need to create ...
    whether i need to take LM_DATE / 0DATE while creating variable...
    and i kept this variables it in filter section, based on the LM_DATE Object.
    i have tried both.. y'day when i take 0DATE it giving me some results...
    But at the same time it is restricting the records..
    i think it could be a problem with var.. properties?
    need more inputs pls.
    Regards,
    VJ

  • 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

  • Error in key figure value at Reporting level

    Hi Experts,
    I had problem of Key figure value which displays wrong data in reporting.
    The Process is :
    I had added the key figure SALK3 to the generic data source (xxx). The Extractor is Table/View, Table is MBEW.I had replicated to BW side.
    In BW, The process is Data Source(Generic) to 0MAT_PLANT(Infoobject (Added SALK3 to the infoobject of Attributes tab) ) loads to Multiprovider.I can see data  in the multi provider for that particular field after loading.
    Now the problem is, In Query designer i had added the key figure in Columns and ran the report.The output of the field is, If the value is 100 it displays 100 ERROR, if it 200 it displays 200 ERROR.Could you please help me on this,where i went wrong.
    Regards,
    Kishan.

    Hello,
    Please check with the follwing screen shots:
    Right click on the key fgure you created----select edit
    Once the screen opens select the NODIM from Data Functions before the key figure (as highlighted).
    Finally click on OK.
    Regards
    NS

  • Key figure value in a level

    Hi is it possible to identify which key figures values has introduce a user ? and which CVC has the user uses for inserting the key figure value?
    REgards.
    PS :We have APO DP 5.0

    Javier,
    It is possible to identify and track the inputs of specific users contribution to that Key figure using the following method, Provided you follow certain prerequisites first.
    Its should be known before the certain people are responsible for certain data selections, like if there is a change in certain Sales org, we should ideally know who is the assinged planner to that Sales Org. or that sales org has been assinged to which Planner
    Next, Develop to Lag reports in BI using the regular snapshots of the the data extracted out of DP before and after the changes have been made for that particular KF.
    Compare the changes using the versions of snapshot before changes and after changes, or perhaps create another calucalted KF showing the different between two versions. The BI team should be able to create reports that enable you to run this report on all levels for that Key figure.
    Hari V

  • Key Figure value in Cube showing with extra zeros

    Loaded data into the cube. When I display the result
    Key figure values are showing with 2 extra zeroes and Quantity value shaowing with 3 extra zeroes.
    Original value
    Price, Quantity, Sales Rev
    2     1     2
    3     2     6
    When display value from cube
    Price, Quantity, Sales Rev
    2,00     1,000     2,00
    3,00     2,000     6,00
    Why zero is showing? How can I display the original value? In PSA, values are showing correctly.
    Thanks,

    Hi,
    These are the zeroes after the decimal places. this is the property of the key figure.
    In your report you can change the display value. In the display properties of the Key figure under the number of decimal places make it as 0. This will remove the zeroes.
    Hope it helps.
    Regards,
    Gaurav
    Edited by: Gaurav Kothari on Oct 16, 2008 10:35 AM

  • BEx query: count unique key figure values

    Hi
    I need a little help with a query. I need to count the number of unique key figure values. Se example;
    Data:
    Employee1 - 2
    Employee2 - 3
    Employee3 - 2
    Employee4 - 1
    Employee5 - 2
    Employee6 - 1
    Employee7 - 2
    Wanted output:
    1 - 2
    2 - 4
    3 - 1
    What kind of options do I have?
    Thanks
    Mike

    I would create a new characterstic for the same key figure and placed in rows and count in columns.
    and second approach would be , create condition with customer exit and write the logic to count the unique values.
    This is just a direction to move forward with the assumption that you are good in using variables and wirting logic in ABAP.
    Thanks,
    Sukhi

  • Code to sum up multiple record key figure values from one ODS to another OD

    We've got two ODSs: ODS1 and ODS2 and ODS1 feeds data to ODS2 through update rule.  In ODS1, multiple records could contain one same doc records and we would like to sum up a key figure value for these multip records with the same doc number in the update rule and populate a key figure (a sum-up value or total value) in ODS2 for this doc number.  We wonder how the code would look like.
    Welcome the valuable input!
    Thanks

    Hello Kevin,
    In this case there is no need of a code. As in ODS2, contract number is a key and PO is not a part of key, you can have update type for the key figure as "Addition". Value for that particular key figure will be added for all the recordes with same contract number irrespective of PO number.
    Hope it helps.
    Regards,
    Praveen

  • 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.

  • Dynamic Description for Key figure values

    Hi Experts,
    I got a requirement for change the description in  query analyzer.
                  Month    200901                                         200902                            200903
                     qty        value   Past PRICE                qty    value    future price  qty    value    future price
    Material      10         50          5                              7       70           10          7       77           11        
    My requirement is price heading  we need to show current date to previous months header is Past price  and current date to future months we need to Future price.
    Already I tried with two restricted key figures with current montthless than one key figure and currentmonthgreater than one keyfigure. When I using in query both key figure displayed in both sides.
    I want to show past price heading for Less than current month  and future price heading for greater than current month.
    Please let me know any possibilities to show the description dynamically.
    Thanks,
    Chandra

    Hi,
    Here I'm giving sample code this will give the Date and Date-1 and Date-2 based on your Input date ZCDAY.Create 'ZT_DAY' 'ZT_DAY1'  and  'ZT_DAY2'  Text varaibles and use the code.
    In the same way change the code for your requirement.
    TO get the Date (TEXT VAR) based on ZCDAY Input variable***********
        WHEN 'ZT_DAY' .
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZCDAY'.
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              l_s_range-low+0(2) = loc_var_range-low+6(2).
              l_s_range-low+2(1) = '.'.
              l_s_range-low+3(2) = loc_var_range-low+4(2).
              l_s_range-low+5(1) ='.'.
              l_s_range-low+6(4) = loc_var_range-low+0(4).
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
          ENDLOOP.
    TO get the Date-1(TEXT VAR) based on ZCDAY Input variable***********
        WHEN 'ZT_DAY1' .
        DATA: ZT_DT1 TYPE SY-DATUM,
              ZT_DT2 TYPE SY-DATUM,
              ZT_SDT TYPE SY-DATUM,
              ZT_YR(4) TYPE N,
              ZT_DY(2) TYPE N,
              ZT_MT(2) TYPE N,
              ZE_TT(2) TYPE N.
              ZT_SDT = SY-DATUM.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZCDAY'.
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              ZT_DY = loc_var_range-low+6(2).
              ZT_MT = loc_var_range-low+4(2).
              ZT_YR = loc_var_range-low+0(4).
          CONCATENATE ZT_YR ZT_MT ZT_DY INTO ZT_DT1.  "YYYYMMDD
          CALL FUNCTION 'DATE_CREATE_2'
            EXPORTING
             i_datum_ein                   = ZT_DT1
             I_KZ_INCL_AUS                 = '1'
             I_KZ_INCL_EIN                 = '0'
             I_KZ_ULT_AUS                  = 'X'
             I_KZ_ULT_EIN                  = 'X'
             I_STGMETH                     = '0'
             I_SZBMETH                     = '0'
             I_TAGE                        =  0
           IMPORTING
             E_DATUM_AUS                   = ZT_DT2.
              l_s_range-low+0(2) = ZT_DT2+6(2).
              l_s_range-low+2(1) = '.'.
              l_s_range-low+3(2) = ZT_DT2+4(2).
              l_s_range-low+5(1) ='.'.
              l_s_range-low+6(4) = ZT_DT2+0(4).
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
          ENDLOOP.
    ***TO get the Date-2 based on ZCDAY Input variable***********
        WHEN 'ZT_DAY2' .
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZCDAY'.
            IF sy-subrc = 0.
              CLEAR: l_s_range.
              ZT_DY = loc_var_range-low+6(2).
              ZT_MT = loc_var_range-low+4(2).
              ZT_YR = loc_var_range-low+0(4).
          CONCATENATE ZT_YR ZT_MT ZT_DY INTO ZT_DT1.  "YYYYMMDD
          CALL FUNCTION 'DATE_CREATE_2'
            EXPORTING
             i_datum_ein                   = ZT_DT1
             I_KZ_INCL_AUS                 = '2'
             I_KZ_INCL_EIN                 = '0'
             I_KZ_ULT_AUS                  = 'X'
             I_KZ_ULT_EIN                  = 'X'
             I_STGMETH                     = '0'
             I_SZBMETH                     = '0'
             I_TAGE                        =  0
           IMPORTING
             E_DATUM_AUS                   = ZT_DT2.
              l_s_range-low+0(2) = ZT_DT2+6(2).
              l_s_range-low+2(1) = '.'.
              l_s_range-low+3(2) = ZT_DT2+4(2).
              l_s_range-low+5(1) ='.'.
              l_s_range-low+6(4) = ZT_DT2+0(4).
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
            ENDIF.
          ENDLOOP.
    Thanks
    Reddy

  • Change Column Value based on Characteristic in Rows

    I am not sure it is possible.
    We have product prices at different levels of customer hierarchy.
    Channel > Division > Region > Market
    One Region can have multiple Markets.  Each market can have different Rates.  But the Region will have a different Rate which many not be the average rate of all market (assigned as part of master data)
    I have a column for Product Price.  So when a Report is run at Market Level it should use Market Rate.  If Market is Removed and Region is dragged into the report it should use Region Rate for Product Price.
    Product Price is Restricted by Rate Type value to determine which Rate is used.
    Is there a way to dynamically determine the define the column value based on the characteristic value in the ROWS.
    Thanks

    Hi,
    For every CHAR like Market/Region there will be some key. For example Maket1 = 11 and Market2 = 22. If that key is a number then you may create replacement path variable on that and convert the same in numbers then you may create various CKF (for various rate type) and put "If" condtion and check for those replacement path CKF and use the apprpriate one.
    You need to write some tricky formula at CKF levels. This is one of the way to achieve that.
    I hope it will help.
    Thanks,
    S

Maybe you are looking for

  • GP60 2pe 024XCN ---------a notebook

    Hi Svet : How can I used the MSI beta BIOS in the new MSI Forum HQ USB flashing tool ? Mainboard:  MS-16GH PCB Version:  REV:1.0 BIOS Version: E16GHIMS.105 BIOS Date:  2014/3/18 EC-FW Version:  *********************************

  • Printing pictures using Quarkxpress 4 on OS 9

    I'm new to using Quark. I have created a document in Quark 4 with pictures, everything prints out ok except the picture. I've overheard a guy who works in a printers talk about embedding pictures, do I need to do this and how?

  • What is the fundamental diff between physical standby and logical standby ?

    What is the fundamental difference between logical standby and physical standby ? What if I create a physical standby , now I would like to ask that is it possible to open it on read only mode ? If not , then why not ? hare krishna Alok

  • Java to idl compiler

    Hi, Can somebody tell me the link for javatoidl compiler? I have tried the following (I missed the complete URL) but its not there. developer earlyAccess jdk12 idltojava.html Zulfi.

  • Upgrade or fresh install??

    Got my snow leopard upgrade dvd and wondering if there is any advantage to doing a fresh install as opposed to an upgrade... obviously making a backup first.