Positive values in Bex

HI experts
I would like to show the positve values with + sign in BEx ANALYZER adn WAD also .
Is the any option for this.
Regards
Ranganath
Edited by: Ranganath on Jun 30, 2011 1:03 PM

You'll have to add custom programming and formatting to do this. It's easy in Excel, but harder in WAD (and I don't use that, so I cannot answer the question). There's no native option for that in Bex.. mostly because if it does not have a minus in front of it, it can safely be assumed to be positive.
you may want to explain basic math concepts to your user.

Similar Messages

  • Display only positive values for a particular Keyfigure

    Hi..
    (Sorry, I accidentally posted this also in Datawarehousing forum, actually it related to BeX forum).
    For a particular column(keyfigure) in my report, the user wants to display only positive values.
    I used the formula from the one of the forums
    (Keyfig > 0)* Keyfig.
    This displays only positive values in the column as required. But, the result for this column is also affected. As the result is negative, it shows, zero in the result for this column.
    Is there a way in which the result will not be affected by the formula?
    I went into the properties of the particular keyfigure and chose Calculate Result as -> Summation.
    It throws out the following error message
    'Calculating result as...' was not executed
    Message no. BRAIN141
    Diagnosis
    The function 'Calculate Results as ...' could not be used in all
    instances.
    The recalculation of a result cell always occurs based on the set of
    detailed cells subordinated to this cell. This is the most detailed
    level of the drilldown. Therefore it is not posible to recalculate in
    hierarchical lists. The calculation of a results cell is not performed
    if a cell or column with an expand symbol is assigned beneath it.
    Otherwise the newly calculated result is changed every time one of its
    lower-level nodes is expanded. This is not supported for technical
    reasons and would also only confuse users.
    Note, however, that calculating with "Suppress Results" is always
    executed because the restriction described above does not apply in this
    case.
    NOTE:
    The query shows the keyfigure values for a selected title, for profit center and territory hierarchies.
    Any suggestions would be greatly appreciated.
    Thanks,
    Sai.

    Hi Deepu,
    Thanks for the reply. I tried with ur formula.
    LEAF(keyfig) gives all values "zero" for that particular column including the result.
    NOT LEAF(keyfig) gives all values "one" for that particular column including the result.
    So, ur formula gives the same values as of the present column values.
    I tried condition, but it's not working...it says the following errors...
    There is a condit. on Title, results row suppress. active on Profit Center    
    (conditional                                                                               
    Message no. BRAIN144                                                                               
    Diagnosis                                                                               
    Characteristic Title has an output condition and the 'Suppress Results    
        Cells' property is active for Profit Center. This generally leads to an   
        incomprehensible output list.                                                                               
    System response                                                                               
    As soon as an output condition is defined for a characteristic (here      
        Title), the system calculates the corresponding result cells and applies  
        the output condition. If a result cell of this type is later deleted by   
        the condition, all the lower-level detail and result cells in its         
        drilldown are suppressed. Because the result cell is suppressed the       
        Title rows are then omitted from Profit Center.                                                                               
    In extreme cases this can lead to an entirely empty list being            
         displayed, although the single rows or columns would be displayed if the  
         condition were deactivated.                                                                               
    Procedure                                                                               
    Check the query settings, especially results row suppression and the      
         output conditions.                                                                               
    Procedure for System Administration                                                                               
    You can deactivate this message Brain 144 with transaction RSRT1.                                                                               
    There is a condit. on Profit Center, results row suppress. active on        
    Territory as in SPL (conditional                                                                               
    Message no. BRAIN144                                                                               
    Diagnosis                                                                               
    Characteristic Profit Center has an output condition and the 'Suppress  
        Results Cells' property is active for Territory as in SPL. This         
        generally leads to an incomprehensible output list.                                                                               
    System response                                                                               
    As soon as an output condition is defined for a characteristic (here    
        Profit Center), the system calculates the corresponding result cells and
        applies the output condition. If a result cell of this type is later    
        deleted by the condition, all the lower-level detail and result cells in
        its drilldown are suppressed. Because the result cell is suppressed the 
        Profit Center rows are then omitted from Territory as in SPL.                                                                               
    In extreme cases this can lead to an entirely empty list being            
         displayed, although the single rows or columns would be displayed if the  
         condition were deactivated.                                                                               
    Procedure                                                                               
    Check the query settings, especially results row suppression and the      
         output conditions.                                                                               
    Procedure for System Administration                                                                               
    You can deactivate this message Brain 144 with transaction RSRT1.
    Thank you very much.
    Regards,
    Sai.

  • How to make empty values in Bex to zero so that WEbI also has 0

    Hi
    I have a webI report on Bex query, some of the values in the columns are empty in Bex, so even the webI report is showing blank values. But when i want to calculate totals, avg, or alerts on that column in WebI then I need to write a formula for each measure saying
    if(isnull([keyfigure])) then o else [keyfigure]
    It is working in WebI but lot of custom work need to be done, instead is there any setting in Bex or WebI saying that columns with the "blank" values in Bex should be shown as "0" in the webI report column?

    Hi,
    Take a look here:
    Re: Fill empty cell with '0'
    Steps to fill empty cell with '0':-
    1. Select intersection cell in cross tab.
    2. Go to properties tab.
    3. In Text Format section, click on Number Format button.
    4. Select Format type is 'Number' and check the Custom check box.
    5. Enter 0 in all text boxes(Positive, Negative, Equal to zero, and Undefined).
    6. Click ok.
    Now you can see 0 in the Emply cells of cross tab.
    If you want decimal values, enter 0.00 in Positive box.
    Edited by: Swarna K on Mar 12, 2011 9:25 AM

  • Default value of BeX customer Exit variable not Displayed in WeBI??

    Hello Experts,
    We are stuck with a problem where WeBI report is created on top of BeX query and we are not able to see the default value of Bex Customer exit variable in WeBI run. Here is the complete scenario:
    1. One restricted KF is created in BeX, restricted with Customer exit variable on net Due date. And this variable is mandatory, ready for input, and Default value in calculated is user exit as current Week's Monday.
    2. So, by default KF data should be restricted to Monday of current week, if user does not change this value.
    3. Now, WeBI report is created on top of this Bex query, and all is working fine, i.e. we are getting variable as Prompt in WeBI, but Default value is not shown while Running the Webi Report.
    So, need your inputs on the same, if default values from BeX in WeBI is supported or not? If yes, why this is happening, and how to resolve it?
    Please notice, the restrcition is in KF only, it is not a separate restrcition on Net Due date in Filter area or in Defualt area of BeX
    and we are on SAP BW 7.1 and BOXI 3.1 SP4.
    Regards,
    Vipul
    Edited by: VIPUL GOYAL on Nov 23, 2011 9:44 PM

    Hi,
    See 1285993 - Support of Customer Exit Variables from BEx query into WebIntelligence via OLAP universe
    WebI will prompt when executed, but the default values calculated by the user exit  - do not appear.
    Note: If the BEx variable has property 'ready for input' set / enabled, then its WebI prompt shows ok, but no default value appears.
    Cause
    This behaviour expected 'by design' (in the context of the product's current limitations) as explained in the online guide below:
    Please refer to Chapter 7, page 44, document link here: http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_sap_olap_universes_en.pdf
    Characteristic variable > processing type > Customer Exit  is "Supported, without user entry"                                                                               
    -->  This should be understood as meaning "User will not be shown a prompt"
    regards,
    H

  • Get positive values from sql

    I have balance column and i need to pick only positive values from sql query.
    Balance
    200
    -20
    -220
    100
    Expected
    Balance
    200
    100

    Hi Frank,
    Sorry i think i am not clear.
    below is my function get_total.
    one billing_key is nothing but one billing period-each period has 6 programkeys.
    by following function i will get 6 records by passing 6 programkeys and one biling key
    now i need to get over all balance of all periods per program. condition is i need to take only +ve amounts from the below function and sum it up
    expected out. i am just giving an example of output.
    actual
    programkey get_total
    a 100
    a -50
    a -50
    b 200
    c 300
    c -200
    d -100
    d -25
    d 400
    e 500
    e -10
    f 600
    f -200
    we are taking only +ve amounts from the above.
    How can i write a procedure or script to acheive program_key and balance as below.
    programkey balance
    a 100
    b 200
    c 300
    d 400
    e 500
    f 600
    create or replace FUNCTION GET_TOTAL (p_bill_key IN varchar2,
    p_prog_key IN varchar2) RETURN NUMBER AS
    l_total NUMBER;
    l_dum_bill NUMBER;
    p_count NUMBER:=0;
    BEGIN
    BEGIN
    SELECT count(*) into p_count
    FROM billing_adjust b where b.billing_key = p_bill_key ;
    if p_count < 1 then
    SELECT NVL(surch_amount,0) + NVL(adjust_amount,0)
    INTO l_total
    FROM mv_billing a, mv_prog_surch b
    WHERE a.billing_key = b.billing_key and
    a.billing_key = p_bill_key and
    b.program_key = p_prog_key;
    return l_total ;
    end if;
    SELECT NVL(surch_amount,0) + NVL(adjust_amount,0)
    INTO l_total
    FROM billing_adjust b, prog_surch_adjust c
    WHERE b.billing_adjust_key = c.billing_adjust_key and
    b.billing_key = p_bill_key and
    c.program_key = p_prog_key;
    return l_total;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    null;
    End;
    RETURN 0;
    END GET_TOTAL;
    This is what i have started writing to acheive expected output need help on this.
    Create or replace function balance(p_company_id) return number as
    v_total_due number:=0;
    v_total number:=0;
    CURSOR p_idn IS
    SELECT PROGRAM_KEY,PROGRAM_NAME FROM MV_PROGRAM_DICT where CURRENT_YN = 'Y' order by PROGRAM_NAME_ID;
    cursor p_billkey_idn is
    select biling_key from billing where company_id=p_company_id;
    Begin
    for v_idn in p_idn loop
    for v_billkey in p_billkey loop
    SELECT sum(get_total(v_billkey.billing_key,v_idn.program_key)) into balance
    FROM dual
    WHERE get_total(v_billkey.billing_key,v_idn.program_key)>0;
    END LOOP;
    END loop;

  • TDS Amount on Vendor Advance Shows positive value in *QUERY* for TDS Report

    Hi Everybody,
    I have made a query for List of TDS Report with Vendor informations as required by my client. In which the value of TDS on Vendor Advance Payment appears as positive value instaead of negative value. Please suggest how to rectify.
    Thanks,
    Paul

    Dear,
    If you have cleared the advance in F-54, then this will reverse the tax amount. That could be the reason for tax amount in debit.

  • How to Add a New Filter Value in BEx WAD to Display All Result

    Hi experts,
    I want to add a new filter value in BEx WAD to display all data records. The scenario is as follows:
    The status field can have two values: Active ("A) and Inactive ("I").
    But the requirement is to have a third value to display all the data records (Active + Inactive). E.g. the value can be "G". The purpose is to increase the understandability for report users.
    Does anyone have an idea?
    Regards,
    Joon

    Hi Vineet,
    thanks for your reply. The problem is that there are only 2 values available for this Characteristic: "A" or "I".
    The requirement is to have a third value "G" (instead of the default "All Value") due to historical reason, because all future report users have been working with R/3 reports for quite some time and they are accustomed to using "G" for displaying all values.
    Is there any possibility to realize this?
    Thanks,
    Joon

  • Issue with Report to get Position value for each Class ID.

    Hello Experts,
    m working on a report where I want Position values as on date.
    for an entered date report should give position value(Amount for transaction) for each class Id.
    I m trying using the exit variable but could not reach the output.
    For date I created an exit variable which shoud return the latest position for each class Id.
    Now this exit variable is "ready for Input" . when I debug my code it takes i_step =3 and i_vanm= " " after i_step = 1 and i_vnam = "<variablename>"
    how do I go about to get the solution.
    Guide me to come up with desired output.
    Thanks in Adv.
    Bhavna.

    Hello Experts,
    m working on a report where I want Position values as on date.
    for an entered date report should give position value(Amount for transaction) for each class Id.
    I m trying using the exit variable but could not reach the output.
    For date I created an exit variable which shoud return the latest position for each class Id.
    Now this exit variable is "ready for Input" . when I debug my code it takes i_step =3 and i_vanm= " " after i_step = 1 and i_vnam = "<variablename>"
    how do I go about to get the solution.
    Guide me to come up with desired output.
    Thanks in Adv.
    Bhavna.

  • Positive Value with Zero Stock

    hi Experts
    I noticed while doing a stock audit report that I had a positive value of £35.00 for a item code where the stock level was zero.   How can I get the amount down to zero too?  Stock Revaluation won't work because there is no stock and any in/out stock transaction simply result in outstanding amount of £35.00. 
    We are using FIFO for value .   I would also be interested to know how I can query other items with this issue?
    thanks
    Geoff
    Edited by: Geoff Lord on Jul 8, 2011 5:26 PM

    Hi Goeff.......
    If the stock of the item is zero and still it shows the item cost then this means nothing.
    It does not affect anything in system.
    The moment you book GRN the purchase value will be overrite on it. It only shows for display as last price......
    You can try a purchase in demo DB and then run the Audit report you can find the difference.......
    Regards,
    Rahul

  • Negative  values in red and Positive values in black CONDITIONAL FORMATTING

    Hi ... Everyone
    I have to show Negative values in red and Positive values in black in one of my report.
    i tried these conditions
    1. <?if:GAIN<0.00?><?attribute@inlines:color;'red'?><?end if?>
    but it shows negative values only in red ,positive values in black are missing
    2. <?if:GAIN<0.00?><?attribute@incontext:color;'red'?><?end if?><?if:GAIN>0.00?><?attribute@incontext:color;'black'?><?end if?>
    This gives the exact result what i wanted ...but the problem is i have five tables in my report ... so the above condition only allow changes in ONE TABLE ONLY. :(
    Plzzzz anyone who can help me to sort out my problem or else SUGGEST ANOTHER WORKING CONDITION
    Regards
    Subham Mittal

    Subham,
    This should not be difficult and moreover the BI Publisher Desktop installation comes with a set of examples:
    Start -> Programs -> BI Publisher Desktop -> Samples -> RTF Templates -> Advanced -> Conditional
    There you can find two templates with the exact same situation like yours, highlighting either the foreground color or background color.
    regards
    Jorge

  • Sort F4 values in BEX variable screen

    Hi ,
    Does anyone know how to sort F4 value help in BEX variable selection screen. This query has come up time and again in SDn and there seems to be no proper reply to this. If anyone has worked on this do let me know.
    Thanks,
    Vaishnavi

    Hi Nara,
    Kindly have a look at below thread,
    Sort the values in Bex query variable screen
    Hope this helps.
    Regards,
    Mani

  • How to eliminate # for empty date value in BEx Analyser

    Hi Gurus,
    Can any one please let me know how to eliminate # for empty date value in BEx Analyser.
    Thanks in advance
    peter

    Hi
    add the following macro to your workbook (template workbook):
    Sub SAPBexonrefresh(qstring As String, resultArea As Range)
    For Each c In resultArea
    If LCase(c.Value) = "not assigned" Then c.Value = ""
    Next
    End Sub

  • Positive Value only Display or Edit Pattern

    Hello, could someone please explain how I can prevent a negative result in a calculation field? i.e., a result less than zero. In other words, how can I ensure that users only enter positive values in a numeric field, and that the subsequent simple "subtract" calculation will also remain positive?
    Harry

    THANKS NASSIA, this works for disallowing negatives by force, however it gives me script failed alert.
    Would you know how to suppress "Script Failed" alerts, such as this:
    Script failed (language is formcalc; context is
    xfa[0].form[0].form1[0].SF_CalculationTable[0].acview[1])
    script=(ac[1] / tr[1]) * 100
    Error: arithmetic over/underflow.
    . (+ 25 more...)
    These seem to be only happening because the field is not yet populated, (except with zeros). How do I suppress this error, because the form works fine.

  • Restriction of charachteristic value in BEx

    Hi!
    I only know first 2 symbols of charachteristic value.
    How can I restrict charachteristic value in BEx by these symbols?
    For example, restrict by AB*.

    Hi,
    Chech in SDN, create Customer Exit Variable and write code in CMOD.
    Using CP in variable user exit
    Eg:
    When 'ZGLA'.
       IF I_STEP = 2.
         Clear l_s_range.
         l_s_range-LOW = 'AB*'.
         l_s_range-OPT = 'CP'.
         l_s_range-SIGN = 'I'.
         Append l_s_range to e_t_range.
          ENDIF.
    Tahnks
    Reddy

  • Why Illustrator change entered size and position values?

    Hy All!
    Illustrator 5.5 always change my entered size or position values.
    (For example: I type 10mm, hit enter, and 10 changed to 10,231mm.)
    I checked again and again, but I have no any enabled snap function.
    I have Illustrator CS6 too, what works fine (but much slower).
    Checked all my setting about 5 times, still didn't find the solution...
    Thank you for your tips!
    (MBP 17", C2D 2,5GHz, 4Gb RAM, Mac OS X 10.6.8.)

    The measurement you type in defines the frame of your shape. The new measurement you see includes the width of the stroke.
    Under your Illustrator preferences, if you uncheck "use preview bounds", it will leave your measurements as you typed them, but it will not include the width of any stroke that is aligned to center or outside of your box.

Maybe you are looking for

  • How can I turn off time display in Calendar?

    The newest version of the Calendar app seems to always show the time of each event as a separate line at the top of the event listing. While this may be sometimes useful, it is mostly redundant (since the border of the event, in Day or Week view at l

  • IPhone not hanging up on "End Call"

    This occurs frequently, about 1 out of every 5 calls I make. When I hit the red "End Call," at the conclusion of a conversation, my phone hangs with it reading, "call ending..." It does not ever read the normal "call ended" and will stay that way unt

  • Exclamation point and frowning iPod

    I have a ipod 4gb mini that when plugged in to the computer shows the apple logo and then goes to a frowning ipod with an exclamtaion point. After that it shows the battery charging and it is frozen. I tried to use the updater to restore, but it won'

  • FIM Reporting initial sync running long time

    We have installed FIM Reporting last month , afterwards our FIM reporting initial sync powershell script is running from last month to Sync FIM data with SCSM server , but still only half data is synced with SCSM server , we have 4 server 1. Server1

  • Update "no permission"??

    I just did a "software update," of which there were five. But two of them could not be installed, and had exclamation points next to them, with a message saying that they could not be installed because I did not have proper permissions. I've done cou