How to display 0 Percentage in BEx Query Designer

The BEx queries which I'm doing are ported to EP & client views all charts & data in portal only.
I have a small requirement. My client requires to display 0% in the data output.
Sample data is like
Mon/Grade     A | B | C | D | E | F             " These are headings
April                |     |    | 3  | 5 | 4 |  |           " These are data I got in BEx
Required O/p
Mon/Grade     A | B | C | D | E | F                  " These are headings
April                |   0  | 0   | 3  | 5 | 4 | 0 |           " These are data I got in BEx
My current formula is like
> NODIV0( ( TEST1 * 12) %A TEST2 )
What changes must I make so that 0% is displayed in the O/p? Please let me know earliest.
P.S . The values TEST1 and TEST2 are 'Selections', which holds no data for those displaying values.

Hi Kavitha,
The problem  is I'm viewing the data in Web based BEX & not in BEX Analyser. So only.
>            GROUP E GROUP D2 GROUP D1 GROUP C2
>APR              6.0      46.0
>MAY %           14.3      48.0      11.4      16.9
>JUN %             11.6      16.2
As you can see there's no data for the months-grade (Apr-GroupD1 etc).. Now, how to view it in portal with 0s for all the ones with no data?

Similar Messages

  • How to write a condition in BEX Query Designer

    Hi
    How can i write a condition in Query Designer
    Scenario
    An employee can purchase any no of policies in a day or month.each policy will have start date and expiry date.
    My requirment
    Count all the policies(valid) by employee on a ranges basis exception reporting
    (0-10;10-20;20-30;30-40) and then able to drill down by policy start date and expiry date.
    As per the requirment is to show policies which are not yet expired (active) i need to write a condition that will count only policies whose Expiry date is > Current calender day
    As Policy Expiry Date is a char i am converting it to KF using fourmala variable so that i can write a condition on it using current cal day formula variable sap exit
    But i char assigment of a condition i find 4 option
    How can i achieve this
    Thanks

    Hi Aurun,
    Thanks for the help,Really appreciated
    As this is my first enhancement using ABAP & CMOD
    What type of key (either Access or developer ) do i require to perform the following  enhancement......so that i can raise request with basis team
    I shall be great ful if u can asnwer below question
    First, you need to create a variable for expiry date with processing type as customer exit, and then give the necessary info.
    In details tab, unchk ready for input as we wont be taking the value from the prompt.
    Now go to CMOD transaction.
    Open the correcsponding project which has the exit code
    (How can i identify the project which has exit code)
    and go to ZXRSRU001 module inside taht.
    Go to the module where u write the exit.
    (How to locate the required module)
    Then, under i step 1, write the code:
    IF I_STEP = 1.
    CASE V_NAME  (What is 'V_NAME',Is it my variable technical name)
    WHEN 'X' " X is the variable u created for the exit
    l_s_range-low = SY-DATUM.
    l_s_range-opt = 'I'.
    l_s_range-sign = 'GT'.
    APPEND l_s_range TO e_t_range.
    END CASE.

  • How to create a variable in Bex Query Designer

    Hi guys,
    I am writing a query for a travel management report using the SAP Standard cube. I would like to restrict the query so it only shows me the last two months excluding the current month. I have checked BI content in RSA1, but I canu2019t find a relevant SAP standard variable that I can use.
    Can anyone please tell me if I can create my own? And if so, how I can do this.
    Many Thanks
    Forhad.

    lets say u want to display following picture:
    sept$-----august$
    City
    -chicago123$--
    44$
    so in Query designer go to Default values section.
    Bring in Calendar month
    right click calendar month
    and hit Restrict
    now select variable
    use standard sap variable Current Month.
    hit okey
    now select Variable and hit Red button
    Result u restricted current month.
    in columns bring in keyfigure $
    right click and hit edit
    bring in time field calendar month
    right click and hit restrict
    bring in Current month
    right click and select - SET OFFSET FOR VARIABLE
    select -1
    hit okey
    repeat the above process
    and this time select offset = -2
    this way u restricted current month
    but displayed last 2 months for keyfigure values.

  • How to filter hierarchy node in BEX query designer

    Dear experts
    We are working on FI balance sheet with hierarchy infoobject 0GLACCEXT. Example of our balance sheet is as follow:
    Parent Node A = 20
         Sub-parent Node A1 = 10
             Leaf A11 = 5
                 Leaf A12 = 5
    Parent Node B = 20
         Sub-parent Node B1 = 10
                   Leaf B11 = 5
                   Leaf B12 = 5
    We require only:
        Sub-parent Node A1 = 10
        Leaf B12 = 5
    So I filter those out in BEX restriction;  however, after we examine the report in tcode RSRT, "Sub-parent Node A1" is not shown in BEX Report, and the result is as follow:
    Parent Node B = 5
         Sub-parent Node B1 = 5
                 Leaf B12 = 5
    Are there solutions for us to show merely A1 and B12 ?

    Hi Chu
    Try the following steps.
    Initial Output
    In this example I will restrict the query for only displaying Node 8603 and leaf 9000
    Proceed to restrict the Characteristic. Please be aware of the difference between hierarchy nodes and leaf characteristic values. Also set the Hierarchy display properties to expand up to level 1.
    Execute the query again:
    Please be aware that users will still be able to expand node 8603 and see the lower level nodes/leaf. In order to restrict users from doing this set up users authorizations.
    Regards,
    Carlos

  • How can i achieve tis in Bex Query Designer

    Hi Experts,
    Please advise on how can i achieve this in Query.
    I got Location,Material_ID,Price and Change_Date.
    (Change_Date is defined as both CHAR & KF in cube)
    (Change date is on monthly basis they execute a programe in non sap source system to update the prices of material)
    The Price of material tends to change or may not change ...
    Every month we get a record from source system on material price
    My requirment is to bulid a report that show
    LocationMaterial_IDCurrent Price  and Previous Price
    Please advise how can i develop this report

    While loading into cube, normally you map  price field coming from datasaource to
    infobject  ZPRICE_CURRENT   in your infocube.
    So in transformation you map like this
    price  -
    > ZPRICE_CURRENT
    Now, Maintain another keyfigure in cube  ZPRICE_PREVIOUS.
    That is not mapped with anything.But is assigned a value in the Start routine
    which just runs before, the transformation.
    In the start routine write code something like this :
    Read current value of price from cube for that Material.
    (Select  ZPRICE_CURRENT into price_curr  from cube where material = DATA-PACKAGE- Material   )
    if  DATA_PACKAGE-price <> price_curr   ( if new_price <> old_price)
    ZPRICE_PREVIOUS = price_curr. (storign present value of price in the cube )
    endif.
    Now save the Start routine. When mapping the fields in the transformation
    dont map anythign to  ZPRICE_PREVIOUS as it is already filled in teh start routine from the above  code.Leave it unmapped.
    The below mapping is normally maintained without change..
    price  -
    > ZPRICE_CURRENT
    If you find this to be useful ..please do the needful (points)

  • How to create Text Variables in BEx Query Designer

    How  can i create Text Variables in Bex Q.D.
    I am able to create characteristic variables
    but i can't find option to create text variables.
    What's the requirement to create Text variables in Bex Q.D.
    When i try to create Text variable for 0calDay.. the variable type is characteristic by Default and disabled.
    How can i create text variables related to 0CalDay with which i need to work in Customer Exit.

    Hi,
    You have to create characteristic variable processing by Customer Exit by considering 0CalDay as a Reference Characteristic
    After creation of the above variable, you restrict your KF with the above created variable.
    Now you can create a Text variable for the description of your KF. This way it works...........
    Regards,
    Suman

  • How to work with sap bw bex query structure

    Dear Friends,
    How can we use SAP BW bex query structure in crystal reports.
    Thanks with regards.
    Malik

    i have two structure in my query.
    and structure is comming in my Crystal report.
    i have 10 memebers in that structure and i make display off for some of members .
    but in crystal all of members are comming either its property is hidden or not.
    any help higly appricated.
    Regards
    Malik

  • How to display a percentage sign ( % ) after a text box in a screen

    hi experts,
    Can anybody tell me how to display a percentage sign ( % ) after a text box in a screen.

    Hi Ajay,
    Try to use the  [Position|http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dba7e235c111d1829f0000e829fbfe/frameset.htm] option of selection screen.
    By using this you can place the text as a comment at a desired position on the selection screen.
    The syntax would be like this :
    SELECTION-SCREEN POSITION <pos>.
    Regards,
    Swapna.

  • How to Display the Percentage (%) Sign in Planning Form..???

    Hi All,
    How to display the percentage sign in the planning form in an account..?? I've an account that already set as the percentage for the data type.
    What I want is, when I type 50 in my cell, then in my form will be show 50%
    Now, I can't see the % sign on my form.
    Any Idea..??
    Thanks.
    Regards,
    VieN

    I know it's an obvious one but has caught me once or twice before when I've changed many properties numerous times in one day: Make sure you've deployed since you last set the properties!

  • BEX - Query Designer - Query Execution - IE "The page cannot be displayed'

    Hi ALL,
    Trying to execute a query from BEx Query Designer, result needs to be displayed on Internet Explorer.
    However, when IE pops up to show the result, it says 'The page cannot be displayed'.
    It seems the PORT Number is wrong.
    When I execute the RSPLAN the port number is 52300 (23 ASCS)  (and it works!!).
    For this web query the port in URL is 55300 (53 SCS).
    Could you help to configure the right port?
    Something needs to be done on Basis side configurations?
    Thank you,
    Nivia

    Hi,
    This especific problem was solved na SM30 programa RSPOR_T_PORTAL.
    But I still have problem:
    The PORTAL logon is displayed and after input the user and pass shows the 500 Internal Error.
    Caused by: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed
    Connect_PM  TYPE=B MSHOST=calsaps011.net.bradesco.com.br GROUP=PUBLIC R3NAME=BWH MSSERV=sapmsBWH PCS=1
    ERROR       partner 'calsaps011.net.bradesco.com.br:sapmsBWH' not reached
    I have looked the services and hosts and the files has the sapgw<> and sapms<> right configured.
    The important detail is that The PORTAL works if it doesn't come from BEx.
    COULD SOMEONE HELP ME?
    Tks,
    Nivia

  • Message in BEx Query Designer Formula

    Hi Experts,
    I need to display message based on the value of the formula result. For Example:
    If K.F1 =<2.5 Then <Message: ODD>
    ElseIF K.F1 >2.5 Then <Message: Even>
    Else
    <Message: Determine the value>
    EndIF
    Thease above messages would be build in the formula column of BEx query designer
    Thanks and really appreciate your response.
    Regards,
    Waseem

    Hello,
    I have done the same funtionality with the help of workbook.
    May be experts can guide us how to display  messages in the formula column of BEx query designer.
    Thanks.
    With regards,
    Anand Kumar

  • % Calculactions in Bex Query Designer

    Hi Experts,
    Could you please on how can i perform the below % Calculactions in Bex Query Designer.
        Vendor No line item Not = L category =A  status =RFQ :for items
    Example : I have 8 items for vendorNo 200274 and only 4 as above condition and 5 items as not L(delete)
    requament: % RFQ Without Response:
    Percentage of Quotation response ={(No. of RFQReponses Received/ No. of RFQ items sent)*100},
                                                                   ( 4/5 * 100= 80%)
    Percentage RFQ without response= 100 -  Percentage of Quotation response
                                                                  =  100-80 = 20%
    How can i perform the % Calculations in Bex Query Designer.
    Vendor
    Purchasing document
    Indicator: Line Item
    Purch. doc. category
    Purch. doc. status
    Item
    Number of Records
    category A item L
    200274
    V-LINE EUROPE EXPORT MARKETING
    6000003778
    L
    A
    Not assigned
    10
    1
    20
    1
    30
    1
    6000003779
    Not assigned
    A
    Not assigned
    40
    1
    9000000046
    Not assigned
    A
    RFQ
    10
    1
    1
    20
    1
    1
    30
    1
    1
    40
    1
    1
    Result
    8
    4
    thank you

    Hope you have done some groundwork you have done on this requirement. Have you tried to create New Formula and put the required formula in it to calculate Percentage of Quotation response ?
    Your formulas seems to be straight forward.
    Keep in Filter: item Not = L category =A  status =RFQ
    You may start working on it and get back with if you are struck.

  • Results based on From and To value in Bex query designer.

    Dear all,
    We are using BI7.00. In one of our report which pertains to PM user wants to get the details of number of breakdowns which falls in the value range 0 to 1 hours.
    I created a condition which has 2 variables, one is From value and the other is for the To value (since user wants to enter both the limits). I have written a condition that if the breakdown hour is greater than or equal to variable1 and less than or equal to variable2.
    Using the above condition if the query is run, i am not getting the desired output. The values avaialble in the report are 0.65,0.78,1.30,7.38,0 etc., when i give 0 to 1 i should get the values 0.65,0.78 and 0 but instead report displays "No valid results".
    I changed the condition and selected "Between" variable 1 and variable 2 - yet no change in the query.
    To my knowledge i foresee that system is not able to recognize the decimal and hence provides details only based on the whole numbers.
    How to get my requirement achieved in the Bex query designer.
    Experts suggestion with steps will be very useful to solve my problem.
    Regards,
    M.M
    Edited by: Magesh Magesh on Dec 26, 2008 11:28 AM

    Hi Magesh,
    I think you could try one more way.
    Create a formula inserting your two formula variables for limits .(FV -  are ready for input ) .
    The formula would return the result as 1 or 0 because it would have boolean condition in it.
    You could then place a condition in the query designer to only show all records where the value of the formula key fig is 1.
    You formula A would look like
    ( KF > FV1) AND (KF < FV2) * 1.
    And in the condition put A EQ 1.
    You could scale the key figures as well and multiply the limits mentioned by the users in FV1 and FV2 if decimals are still not recognized by SAP.(scaling)
    Regards,
    Sunmit.

  • IF...ELSE.. STATEMENT in BEx Query Designer

    Hi,
    Why there is no IF, ELSE function in BEx Query Designer?
    Assuming I need to write the following logic, how can it be accomplished?
    IF (A=0 OR B=0)
        THEN 0
    ELSE IF ( B/A <0)
        THEN '       *'
    ELSE
        B/A * 100
    i.e.
    if A or B is equal to 0, then display the value of 0
    else if B is negative (as A is either 0 or positive), then display the following text: '         *'
    otherwise, display the value of  B/A * 100
    Thanks!

    Hi,
    You can achieve this by creating a new formula.
    You have to use the boolean operations and mathematical functions. But we cannot display *. u have to display some value for that.
    Khaja

  • How to get the standard Menu of Query Designer into Web Template

    Hi Experts,
    is there a way on how to put the standard menu within Bex Query Designer (after executing a Query with the Query Designer you get into ad-hoc reporting with a menu including several functions like print, show as..., properties, etc) into an individual Bex Web Template?
    Copy & Paste source code will not work I guess because of several javascript functions I don't have access to.
    Thanks & Best regards
    Tobias

    BEx queries are displayed on the web using standard web template 0ANALYSIS_PATTERN or some customized version base don your implementation.
    You can either include the 0ANALYSIS_Pattern web template in your custom template or use Save as to create a new template with 0ANALYSIS_Pattern  AS THE STARTING POINT.

Maybe you are looking for