How to filter Key Figure according of "Counter"

I am on BI7 now, I need to set a filter in query, according the counter, means that there are 37 lines in the query, but user only want to show the buttom of 20%, means after sort according the key figure, only show the record from buttom, means number 37 record to 37*0.2 = 7.4, means only show 8 lines from buttom after sort, I can not find any condition fit this, can any one help?

Hi,
You have the option of selecting Top N hits in your query May be you can try something out there.
Regards,
Pramod

Similar Messages

  • How to filter Key Figures - not using the GUIDs

    An example How to filter Key Figures may look like this:
    http://XXX.com:8000/sap/bw/BEx?sap-language=DE&bsplanguage=DE&CMD=LDOC&TEMPLATE_ID=XXX&FILTER_IOBJNM=41F68RV4ZB5VYSARODYU70CAQ&FILTER_VALUE=41F68SAI18DB01DO023IR49QA
    The GUIDs consume the space in the URl. Is there a way to work with an alias.
    To use the technical name of a Key Figure defined in the Query does not work.

    Hi Cherie,
    This is exactly the type of problem that I'm currently trying to figure out. I'm trying to following your solution but I'm not clear on how you actually achieved this in you last note. I want to dynamically select actuals/budget column fields based on what period I enter. I thought about creating 12 separate RKF fields for actuals and 12 separate RKF fields for the budget reforecast and outputting these all and then doing some VBA to hide the fields not required based on which period was selected... how is your variable ZFYAPER7 defined and calculated?
    Cheers

  • How to Filter Key Figures in Columns Based on a Selection

    Hello,
    I am trying to get my columns to dynamically filter based on some selection and would like to know what is the easiest way to make this happen.  My scenario involves displaying 12 months of data for an actual / budget view.  So we may need 8 months of actuals and 4 months of plan, 9 months of actuals and 3 months of plan, 10 months of actuals and 2 months of plan, etc.  The row is cost element and my columns are restricted key figures.  I want the user to be able to easily select an 8/4 look and the dynamically remove the unnecessary columns.  Same with a 9/3 or a 10/2.  Besides these 12 months of Act / Bud, I have 12 months of plan, 12 months of actuals for other years, so I have lots of key figures.  Just doing the basic filter can be too cumbersome.
    Thanks,
    Cherie

    Hi Cherie,
    This is exactly the type of problem that I'm currently trying to figure out. I'm trying to following your solution but I'm not clear on how you actually achieved this in you last note. I want to dynamically select actuals/budget column fields based on what period I enter. I thought about creating 12 separate RKF fields for actuals and 12 separate RKF fields for the budget reforecast and outputting these all and then doing some VBA to hide the fields not required based on which period was selected... how is your variable ZFYAPER7 defined and calculated?
    Cheers

  • How to find key figures not created in a Structure.

    After using Where Used on a selection variable Z_FISCPER3_M_SV a list of Key Figures appear. I wish to amended these Key Figures as the selection variable used is incorrect. However, I cannot find these Key Figures in the Structure?  Does anyone know how to find Key Figures not created in a Structure.

    Thanks for such a quick response.
    I am assuming the following about the table :
    -     Column u201CCALDAYu201D contains a date value for each day the Index is active.
    -     Column u201CBIA_USEDu201D contains a value that is iterated for the given day each time the Index is used.
    -     Column u201CBIA_NOTPOSSIBLEu201D contains a value representing how many times a query could not access this Index.
    -     Column u201CNO_BIAu201D tells if a BWA Index exists at all on any of my BWA Blades
    -     Column u201CBIA_TECHINAu201D ????????
    -     Column u201CBIA_INAu201D ???????
    -     Column u201CDB_FALLBACKu201D ???????
    I am not sure if my understanding of the column is correct.  Can you tell me they are?  The columns with u201C???????u201D mean I have no solid understanding of how to use these columns at all.
    Thanks

  • How to sort key figures

    Hi Gurus,
    Thanks in Advance...........
    How to sort key figures & Way to find out customers with 0 sales.
    Thanks,
    Venkat.

    Hi Rakesh,
    Thanks for your info, i assigned point to you.
    any idea on Way to find out customers with 0 sales....
    Thanks,
    Venkat.

  • How to cumulate key figure for whole fiscal year with one time variable?

    Hello everybody!
    I have a problem creating a query that allows to get cumulated key figure for <b>whole fiscal year</b> (FY), when I actualy type <b>only last period</b> for the FY.
    The query itself is very simple:
    - I have "Organization" characteristic in "Rows" section
    - I have one key figure "Number of invoices" in "Columns"
    - I have "Fiscal year variant" 0FISCVARNT defined in "Filter" that has 12 periods within Fiscal year
    and then
    - in section "Free Characteristics" I have "Fiscal year/period" 0FISCPER.
    I want to be able to provide ONE single value when run query, which is last period of a FY (like 012/2003), but then in report see cummulated number of invoices for WHOLE fiscal year.
    Will appreciate any help!
    Vitaliy

    Please see the white paper entitled "How to... Derive a Variable value from another variable 2.x (pdf)".
    Regards,
    Troy

  • How achieve "cumulated" key figure in a webi report

    Hi all,
    In a bex query we can mark "cumulated" in properties of characteristic, then when we run this query  our key figures for this characteristic will be cumulated but for rest of characteristics will be non cumulated values. Please how can I get  this cumulated valued in a webi report ?? because in spite of mark this flag in our bex query  when I run  this characteristic in my webi report  it doesnt work.  Perphaps there is a function in webi or there is a proporty to modify in my universe??
    Thanks for your help in advance
    Santi

    Hi David,
    Try using RunningSum(), RunningAverage() etc.. function in Web-I.
    Regards,
    Rohit

  • How to block key figure value input in DP?

    Hello everyone!!
    I need to create a way to block the input of value in some key figures in some planning books in DP.
    I tried to create a macro to block cell input - CELL_INPUT(XXX) = 0 - , but unfortunately it doens´t work, because I have another macro (default) that keeps one cell of the entire row opened to the user insert the values.
    I can not put the "closing" macro as an interactive macro in the planning book, because, only one user is able to execute the macros, not all of them. And I also can not take off the other macro from the default event or change in the design mode of the planning book.
    Does anybody know´s another way to do it?
    Thanks a lot!!
    Regards
    Angela

    Hello Visu
    It´s not possible to create another planning book. They will have to use the same. But I have another solution. I´ll create this macro to block the values input in the determined row to be executed only for one user. This user will be the administrator, and only he would be able to execute this macro to block the other users.
    But I have one doubt,  how can I set the macro to be execute only by this user using the USER( ) function? The way I did it´s locking only this user, and it has to block all the others. The function user will be used only for the administrator.
    The macro is like this:
    IF
        USER ( 'AAA') = 1
        Line XXX (Attributes) =
            ROW_INPUT( 0 )
    ENDIF
    Best Regards
    Angela
    Edited by: Angela Christina Martelli on Mar 26, 2009 4:49 PM

  • How To Change Key Figure Name

    Hi Gurus,
    Is it possible to change the name of a Key Figure in Demand Planning? For example, in DP, i have a Key Figure name 'Sales Forecast'. The 'Sales Forecast' currently appears in every Planning book it was set.
    Now, for alignment of understanding, I need to change the name from 'Sales Forecast' to 'Sales Demand' . Basically, i just need to change the text that appear in the Planning book and in the extracted BI reports.
    Logic of Key Figure will remain the same. Is this possible? How do I go about this? I only know of how to add a Key Figure but never thought of how to change the Key Figure name/description.
    Thanks in advance!
    Nap

    Hi,
    You can change it in 2 ways.
    1] Go to each Planning Book in Edit mode.
        In that go to a Tab called Key Figure Attributes.
        Select your Sales Forecast Key figure from the dropdown   against Key Figure.
       Then in Description click the radio button Free Text and give your new name which is Sales Demand.
    This you have to do for all the PB in which this KF is used.
    2] Go to RSA1 : Admin Workbench
    Under Modeling section go to InfoObject.
    Select your KF. Double Click on it. Or right click and go to Change mode.
    Then change the Long and Short Description of the KF as desired.
    Save & Activate the KF.
    This will change your KF description for all the PB in which you have used the same PA.
    Hope this helps.
    Thanks,
    Pushkar

  • How to reference Key figure in (BAdI) IF_EX_RSR_OLAP_BADI~COMPUTE method?

    Hi,
    I am a new bee to the ABAP world.
    I am writing a BAdI implementation (Definition name: RSR_OLAP_BADI) for a 'Virtual KeyFigure' named D_TAX1.
    I dont know how to set the value for key figure D_TAX1 in BADI implementation COMPUTE method (IF_EX_RSR_OLAP_BADI~COMPUTE).
    D_TAX1 is a virttual key figure I had added in DSO.
    I want to populate the value in BADI compute method (IF_EX_RSR_OLAP_BADI~COMPUTE).
    I haven't written any method implementation for IF_EX_RSR_OLAP_BADI~DEFINE.
    Is it mandatory that I need to write some thing there? I haven't declared any attributes either.
    I want to set tax amount to the D_TAX1 virtual key figure based on the amount (another key figure in DSO).
    I don't know if I need to write this, but the class name in BAdI is: : ZCL_IM_VAL_IMPL.
    I really appreciate your help in this matter.
    Thank you.
    Sekhar

    Thank you for your answers.
    I have added the following code to the methods DEFINE, INITIALIZE & COMPUTE methods.
    method IF_EX_RSR_OLAP_BADI~DEFINE.
      DATA: l_s_chanm TYPE rrke_s_chanm,
          l_kyfnm TYPE rsd_kyfnm.
      FIELD-SYMBOLS:
          <l_s_chanm> TYPE rrke_s_chanm.
    Insert Code
    CASE i_s_rkb1d-infocube.
      WHEN 'D_DSOIC1'.                                "DSO name
        l_s_chanm-chanm = 'D_CST1'.              "Characteristic
        l_s_chanm-mode = rrke_c_mode-read.
        APPEND l_s_chanm TO c_t_chanm.
        APPEND 'D_TAX1' TO c_t_kyfnm.          "D_TAX1 is a newly added Virtual KeyFigure
    ENDCASE.
    ENDMETHOD. "if_ex_rsr_olap_badi~define
    [In the following INITIALIZE method, I didn't change any thing. I used the INITIALIZE method from the CL_EXM_IM_RSR_OLAP_BADI as is]
    method IF_EX_RSR_OLAP_BADI~INITIALIZE.
      DATA: l_global_name TYPE string.
      FIELD-SYMBOLS:
            <l_global>    TYPE i,
            <l_s_sfc>     TYPE rrkg_s_sfc,
            <l_s_sfk>     TYPE rrkg_s_sfk.
    there's no need to change this method
    Just create attributes for each charactersitic
    with name P_CHA_<characteristic> TYPE i.
    and constants for each key figure with name
    P_KYF_<key figure> TYPE i.
      CLASS cl_exm_im_rsr_olap_badi DEFINITION LOAD.
    get field postions for characteristics in structure
      LOOP AT i_th_sfc ASSIGNING <l_s_sfc>
           WHERE user_exit NE rrke_c_mode-none.
    field name in structure is keyreturnnm
    name of the global variable
        CONCATENATE 'P_CHA' <l_s_sfc>-chanm
            INTO l_global_name
            SEPARATED BY '_'.
    fill the global variable
        UNASSIGN <l_global>.
        ASSIGN (l_global_name) TO <l_global>.
        CHECK <l_global> IS ASSIGNED.
        <l_global> = cl_exm_im_rsr_olap_badi=>get_field_position_d(
                                           i_fieldnm = <l_s_sfc>-keyreturnnm
                                           i_s_data  = i_s_data ).
      ENDLOOP.
    get field positions for key figures in structure
      LOOP AT i_th_sfk ASSIGNING <l_s_sfk>
           WHERE value_returnnm IS NOT INITIAL.
    name of the global variable
        CONCATENATE 'P_KYF' <l_s_sfk>-kyfnm
            INTO l_global_name
            SEPARATED BY '_'.
    fill the global variable
        UNASSIGN <l_global>.
        ASSIGN (l_global_name) TO <l_global>.
        CHECK <l_global> IS ASSIGNED.
        <l_global> = cl_exm_im_rsr_olap_badi=>get_field_position_d(
                                           i_fieldnm = <l_s_sfk>-value_returnnm
                                           i_s_data  = i_s_data ).
      ENDLOOP.
    endmethod.
    METHOD if_ex_rsr_olap_badi~compute.
      FIELD-SYMBOLS <fs_d_tax1> TYPE ANY.
      FIELD-SYMBOLS <fs_d_cst1> TYPE ANY.
      ASSIGN COMPONENT p_kyf_d_tax1 OF STRUCTURE c_s_data TO <fs_d_tax1>.
      ASSIGN COMPONENT p_cha_d_cst1 OF STRUCTURE c_s_data TO <fs_d_cst1>.
      <fs_d_tax1> = 10.
    ENDMETHOD.
    When I display the virtual key figure D_TAX1 in the query, it is not populated with value 10.
    Can you guys please tell me what I need to change?
    I haven't written any code in GET_FIELD_POSITION_D (in the example class CL_EXM_IM_RSR_OLAP_BADI, this method is implemented).
    I appreciate your suggestions and help.
    Thank you,
    Sekhar

  • How to rearrange key figures for every row in a report

    Hi gurus,
    I need help in rearranging the key figures values( product sales for A, B, and C ) in the columns for each sales division row D1,D2,D3 displaying keyfigures in the order of descending sales volume for each division. The order of key figures has to change for each row.
    Is it possible through some user exits? Your help is appreciated.
    Thanks

    Hi,
    I am extremely sorry for my earlier post. I am not too sure about that. I heard that we can do RRI on Infoobject.
    Please look for other experts inputs. I apologise for that.
    Regards,
    Suman

  • How to calculate key figure before aggregation for complex formular?

    Hi, buddies
    <b>Here's the simplified senario</b>:
    I have a cube, in which the characteristics are 'Calendar Day' and 'Hour' (values are 01~24), and the key figures are stored by day and by hour.
    What I need is very simple, a query to display calculated key figures only by Calendar Day. I don't need Hour information.
    So I create a query: column charact is Calendar Day, rows are several calculated key figures.
    <b>Now the problem is that</b>:
    if I don't put 'Hour' as row in the query, I'll get WRONG result. But if I put 'Hour' as row in the query, I'll get CORRECT result, but all the 'Hour' details will display, which should be hided.
    <b>I know the reason is that</b>:
    the calculated key figure that I create should be calucated before aggregation, not after. But since the formular is pretty complex, I can't change the 'Time of Aggregation Calculation' in key figure's property. (It's greyed out.) So I have to put 'Hour' as row in the query to force calcuation 'before aggregation' in query and set the property 'Calculate Result As...' as 'Summary'.
    <b>My question</b> is:
    whether there's any other way to force calcuation 'before aggregation', so I don't have to put 'Hour' in the query.
    If no, is there a simple way to hide the 'Hour' details and only display summary result ON THE QUERY LEVEL? (
    <i>I can hide detail lines by using web template, or maybe using VB in excel. But I can't use either of them. I want to hide the details on the QUERY LEVEL. So I can use the query directly in any other reporting tools, like Visual Composer.</i>)
    Any idea?
    Wei

    Hi, Sudeepta
    Thanks for your reply.
    I did try to set 'No display' for 'Hour'. The result is that the Characteristics 'Hour' doesn't appear on the query result, but the detailed line of key figures still display on the result. It looks like the followings: (I put summaries on the top/right)
    Date  1/1  1/2  Overall result
    KPI1    10        11   22  (sum line)
    KPI2    20        21   41  (sum line)
    KPI1    12        13   25  (detailed line)
    KPI2    13        13   26  (detailed line)
    KPI1    11        12   23  (detailed line)
    KPI2    12        12   24  (detailed line)
    I want to suppress all the detailed lines and leave sum lines on the result.

  • How does restricted Key Figure Works

    Hi Gurus,
    I am psoting a very common question but its very important for me right now.
    My understanding about RKF is that it restricte the Key figure values with Characteristic.
    I have a cube where I have materil, qty and stock type. I need only those material which has stock Type 'D & E' SO I picked Qty and restricted that with stock type.
    In the report it shows me only those materials which has stock type D & E.
    Now someone is telling me that it should show those material also which has other stock types but with '0' values.
    Is that true?
    Regards

    try with
    material -
    place it in row
    stock type D, E , or something else  ---place it in row
    qty with stock type D and E...place it in colum restricted by stock type D and E
    Make the setting do not supress 0 in query properties.

  • How to filter a report based on count?

    Here is my scenario: We would like to report activities on a server if there are multiple date in a month. Here is an example:
    Server Date Activity
    Server1 7/1/09 Hardware maintenance
    Server2 7/1/09 Hardware maintenance
    Server2 7/14/09 Software patching
    Server2 7/14/09 Server reboot
    Server3 7/5/09 Hardware maintenance
    Server3 7/5/09 Server reboot
    The report will show the following
    Server2 7/1/09 Hardware maintenance
    Server2 7/14/09 Software patching
    Server2 7/14/09 Server reboot
    Server1 and Server3 will not show up since there is only one date in July (even though there are two activities for Server3).
    I thought of using a report as a filter to a second report. In the first report, find a way to determine which server to report on. But how would I finter the 1st report based on count as the logic stated above?

    Hi Max
    Our requirement is to see all the activities for a server in a month ONLY IF there are activities on DIFFERENT dates. So using my example, server2 has activties on 7/1 and 7/14. Then we want to see all the activities for server2 in that month. Server3 has two activities but both activities are on the same date. So we don't want to see server3.
    Counting by server will not work because that will include server3 in my example.
    What I really want is to be able to count unique occurrences of dates per server in a month. And if this count is > 1, then this server will be in the report.
    I used a pivot table to count the unique occurrences of dates by server by month. So using my example, I have this result:
    Server1-July: 1
    Server2-July: 2
    Server3-July 1
    What I really want (conceptually) is to be able to filter this pivot table by the matrix column which is the count. I just couldn't figure out how to do that :). Then I thought I could use this report (with pivot table result) as a filter into another report.
    Hope you have some idea....:)
    Thanks

  • How to filter a table according to column values in CRM2007 WebUI ie ICWC.

    Hi,
    I am working in CRM 2007 ICWC.
    My question is I need to filter the sales items table according to quantity entered in the sales order.How do I do it.I cannot use Filter = 'server' as it is obsolete in CHTMLB:Tableview tag.
    Please suggest a solution.
    Thanks,
    Ashish.

    Hi Ashish,
    I think you have to manually iterate the collection and filter them according to the value of quantity in each line.
    Regards, Sudeep..

Maybe you are looking for

  • Shared secret's missing in Android app

    Hi support team, I meet an issue regarding the purchases in Android DPS apps. When users tap on issue to purchase i, it says : Shared secret is missing in DPS Admin... BUT I filled in DPS account Admin the field Sared secret from Google dev console.

  • My ifaBook G4 will not type fast and makes errors all the time, why?

    The error in tht stsi title to this que.  This mat ess is what I getg all the time when I want to type anything on my iBook.  Do I need a new key  board or what? Often the entire page disapears, the cursor will not follow the flow of script ever and

  • Lync 2011 for MAC searching contacts

    Hi, I have problem to search contacts in lync 2011 for MAC at more than one company, however Lync 2013 for Windows can searching contacts with the first letter. Do you know about Microsoft Lync 2011 for Mac Bug? Diego Riera | Linkedin | Twitter | die

  • Problem with new-line-character and java.io.LineNumberReader under AIX

    Hi folks, I got the following problem: I wrote a little parser that reads in a plain-text, tabulator-separated, line-formatted logfile (and later on safes the data to a 2-dimensional Vector). This logfile was originally generated by an AIX ksh script

  • In sequence events - error?

    I am trying to make a sequence of events happen one after another. I have a background image that I want to fade in, blur, and then a panel slides in. Flash is giving me 2 errors when I test: Description: 1119: Access of possibly undefined property M