If Condition for missing value or zero

Hi There,
I have formula like this
IF (("ActualTax" ==0 ) and @ISMBR("Budget") )
"BudgetTax" = "Revenue" * 0.37;
But ActualTax in case could also be blank or missing value, how do I say it in the script
I try IF (("ActualTax"=='#MI') and ..., it gave me error
Thanks

Mehmet,
Thanks. == missing works. On my elseif, I also want to say ActualTax < 0, do something else, but it seems the condition not getting picked up. Or how do I say ActualTax has value, then BudgetTax = 0 or no value
IF (("ActualTax" ==0 ) and @ISMBR("Budget") )
"BudgetTax" = "Revenue" * 0.37;
ELSEIF("ActualTax" <0)
Thanks
Edited by: Donny on Feb 6, 2012 9:34 AM

Similar Messages

  • Result Type Condition for Multi value Manage Property not working

    Hi All,
    I have created one template & I wanted to show this template on particular condition. So I created the result type. The Managed property (MP) that I used, I have verified its attributes all attributes are selected and its type is Multi value. I am trying
    to apply the "Show fewer conditions" and some how the value not matched.
    I have checked MP ; it has all the values but some how the template not called. When I removed this condition it working and when choose other MP other then Multi valued. It is working as expected.
     Please let me know if i miss something here. 
    PS: I have checked each option from the Query drop down like "Equals any of" and "Contains any of" not working in case of multi value attribute. Please help.
    I have explain this issue more details in this post : http://sharepointfordeveloper.blogspot.com/2015/02/sharepoint-search-2013-result-type-with.html
    Regards,
    Basant Pandey
    http://sharepointfordeveloper.blogspot.com

    Update on above mentioned issue.
    I have verified the same at my end. So I come to this conclusion this is product issue. Either need to raise the ticket to Microsoft related to this issue.
    Regards,
    Basant Pandey
    http://sharepointfordeveloper.blogspot.com

  • Predict / fill in values for missing values

    Hi,
    We have some readings taken for each patient for every month for the complete year. If there are any points missing for a patient for certain month, is there any function or something that Oracle provides to fill in for this point. We know that SAS has such function. Could you please let me know if Oracle has such facility? Thanks,
    Lakshmi

    Hi Lakshmi,
    Oracle offers a number of linear regression methods. (I think as of version 9i)
    Maybe you should have a look at them :
    REGR_SLOPE     returns the slope of the line. The return value is a number and can be null. After the elimination of null (expr1, expr2) pairs, it makes the following computation:
    COVAR_POP(expr1, expr2) / VAR_POP(expr2)
    REGR_INTERCEPT     returns the y-intercept of the regression line. The return value is a number and can be null. After the elimination of null (expr1, expr2) pairs, it makes the following computation:
    AVG(expr1) - REGR_SLOPE(expr1, expr2) * AVG(expr2)
    REGR_COUNT     returns an integer that is the number of non-null number pairs used to fit the regression line.
    REGR_R2     returns the coefficient of determination (also called "R-squared" or "goodness of fit") for the regression. The return value is a number and can be null.
    REGR_AVGX     evaluates the average of the independent variable (expr2) of the regression line. It makes the following computation after the elimination of null (expr1, expr2) pairs:
    AVG(expr2)
    REGR_AVGY     evaluates the average of the dependent variable (expr1) of the regression line. It makes the following computation after the elimination of null (expr1, expr2) pairs:
    AVG(expr1)
    REGR_SXX     makes the following computation after the elimination of null (expr1, expr2) pairs:
    REGR_COUNT(expr1, expr2) * VAR_POP(expr2)
    REGR_SYY     makes the following computation after the elimination of null (expr1, expr2) pairs:
    REGR_COUNT(expr1, expr2) * VAR_POP(expr1)
    REGR_SXY     makes the following computation after the elimination of null (expr1, expr2) pairs:
    REGR_COUNT(expr1, expr2) * COVAR_POP(expr1, expr2)
    REGR_SXY, REGR_SXX, REGR_SYY are auxiliary functions that are used to compute various diagnostic statistics.
    Best Regards,
    Kris

  • Set CrossTab Background for missing values

    I am using CR XI (ver 11.0.0.895) and I have several crosstabs that I would like to add formatting to alternate background color for either columns or rows to increase the readability of the crosstab.
    I have had relatively good success by inserting the following code in the background property of the summary field and either the row or column.
    if remainder(GridRowColumnValue('groupid'),3)=0 then crsilver else crnocolor
    I am having difficulties with areas of a few cross-tabs where no data exists leaving blank placeholders in the cross tab where the conditional formatting does not apply.
    I have tried the following code in the display string property of the summary field but it had no effect:
    If IsNull(CurrentFieldValue) = True then '!' else CurrentFieldValue
    Is there any way to force the placeholder to become a valid target for the conditional formatting that I have enabled?

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly

  • And condition for a value within same column

    Hi,
    I would like to select the rows from table which matches key='DKJ' and key='BK5'
    Is it possible to use exists condition here...to get the result only when it contains both the keys. Please could you suggest me alternative query for the below..
    SELECT a.or_no,b.key
    FROM v_sp a,
    v_off b
    WHERE a.or_no = '27422739'
    AND a.key_code = b.key_code
    AND(b.mod = '00K'
    AND(b.key = 'DKJ' OR b.keystroke = 'BK5'))
    Many Thanks,
    Hari

    Hi,
    I would like to select the rows from table which
    matches key='DKJ' and key='BK5'
    Is it possible to use exists condition here...to get
    the result only when it contains both the keys.
    Please could you suggest me alternative query for the
    below..
    SELECT a.or_no,b.key
    FROM v_sp a,
    v_off b
    a.or_no = '27422739'
    AND a.key_code = b.key_code
    AND(b.mod = '00K'
    AND(b.key = 'DKJ' OR b.keystroke = 'BK5'))
    What you say and what you do aren't the same. Please clarify.

  • How to set condition for Characteristic values in report

    Hi Experts,
    I have a report where the service order will have 1or more part and its corresponding part status.
    I want to highlight or give some indication to those service orders where all the parts status are Part Received.
    The service order with different part status can be ignored.
    FYI: I don't have any keyfigure in my report.
    Can anyone please advice me on this.
    Thanks

    Hi Ahmed,
    You cannot achieve this using this Conditions, as the condition can be defined on a characteristic but u cannot say that for a service orders all the parts status are PART RECEIVED.
    For this kind of requirements, you need to add an Flag (Characteristic) and check in the Transformation if all the Part Status are PART RECEIVED for a Service Order and mark the Flag as 'X'.
    In the report jst filter on the flag as 'X'. It should resolve.
    Regards,
    Chathia.

  • Clearing up accounts with zero / #missing values

    Hi all,
    Compliments of the season to everyone.
    I'm looking at cleaing up my cubes (created from Planning), I want to delete all the accounts that don't have any values in them for the last 5 years. Besides running a smartview extract, is there an easier way to check for accounts that contain either #Missing or Zero?
    Regards,
    Fraser

    Hi,
    For #missing values it's quite easy and efficient to use a smartview report, you only need to look at the top level of every aggregating dimension/hierarchy for each of the 5 years.
    Other possibility is to export every single data of the last 5 years into a SQL table, have another table contain the complete list of accounts, and use a SQL join to look for accounts with no data. Obviously the most precise method. Even if you have a big database, you will always have some dimensions that aggregate for sure so exporting the top level of those dimension should prevent you from obtaining billions and billions of SQL records.
    For zero values it could be a bit more tricky if you have accounts that are supposed for example amounts to be eliminated at higher levels, in that case they may equal 0 yet you need to preserve them, but that's application dependent.
    Thanks,
    JM

  • Web Analysis: Percent Function & Missing values

    Hi All,
    Our users have made some complaints after we upgraded to Web Analysis (from Analyzer) where they're seeing 'Evaluation Error' on columns in reports. It was an easy fix for Sum'd columns where we treated #Missings as '0', however we're having a difficulty with the Percent columns/calculations.
    The main problem is users do not want to see a great big Evaluation Error in the middle of a report. Ideally we'd have something like N/A which was small and unobtrusive.
    I dont' think we can change the options for Missing Values in the Calc Def because each option presents a different problem: Exclude means divide by nothing, treat as 0 means divide by 0, include means divide by missing. All result in an evaluation error.
    Has anyone got any suggestions? The simplest sounding solution would be to somehow change the appearance of Evaluation Error but I don't know if that is possible.

    Gotcha. Ok. Have you thought about creating a new hidden calculated ColumnB whereby you multiply the values in ColumnA by -1 and then set your formatting based on the result in ColumnB. If the value in B is positive then you know A was a negative number so you can go from there, in a round about way? I don't have time at the moment to think it all the way out but something to think about. If your formatting involves just colors you could use Traffic Lighting to set the color on ColumnA based on result in ColumnB. Traffic Lighting out of the box is limited but it's a start until you have time to build your own.
    -Karen

  • Eror message FF805 when mwst based condition value is zero

    Good morning,
    I got the FF805 (Tax statement item missing for tax code L1) error when i am trying release a billing document to accounting.
    I have three pricing conditions to the item: z001, mwst and z002. The tax condition is based on z001. Sometimes the z001 value is zero and z002 has always value. When the z001 is zero i get that error message.
    The tax value (mwst condition) only is required if the z001 has value.
    The z001 condition may have a value or may be 0. When the z001 has value there is no problem.
    There is a way that i can have this without getting this error?
    Thanks in advance.

    Hi Sandrina,
    Please Go thru the threads below,
    Error : Tax statement item missing for tax code
    FF805 Tax statement item missing for tax code
    FF805 Tax statement item missing for tax code O0
    Tax code error
    Thanks,
    Swamy H P

  • No Incompletion Log for Sales Order with net value as zero

    Hi all,
    There is an Inbound IDOC which creates a Sales Order.
    When we check the IDOC, we find that it has got 4 line items (E1EDP01). However, for all the items except the third one (for example), the segment E1EDP05 is filled. In the segment E1EDP05 the field KRATE contains the corresponding net value for the respective line items.
    Then when we check Sales Order which is created, we find that the third line item (for example) has the net value as zero. In this case, ideally there should have been an entry in the Incompletion Log. However, it does not happen so.
    I suppose the issue is with the third line item in the IDOC for which the segment E1EDP05 is not present. I have debugged the corresponding FM is IDOC_INPUT_ORDERS, but was unable to find any clue.
    Please let me know the reason for this.
    Thanks and regards,
    Anishur

    In routine interpret_idoc_orders the item conditions are filled by calling
    WHEN 'E1EDP05'.
           MOVE IDOC_DATA-SDATA TO E1EDP05.
           PERFORM ZUORDNEN_ORDERS_E1EDP05.
    In case KRATE is empty no values are transferred to the order
        IF NOT E1EDP05-KRATE IS INITIAL.
          PERFORM IDOC_CUR_MOVE USING E1EDP05-KRATE XKOMV-CURRDEC
                                      XKOMV-KOEIN
                                      XKOMV-KBETR D_FLAG_P-PKON.
        ENDIF.
    If that is a valid scenario, you need to adjust your incompletion procedure in customizing to include the net value on item level so any missing value is reported.
    If this is not supposed to happen you might want to hook into one of the user exits in the idoc and in case KRATE is missing let the idoc fail.
    Hope that helps,
    Michael

  • Account determination for customer account with ZERO value

    Hi Friends,
    My clint requirement is to sell product free of cost to customer but per accounting purpose taxes need to be calculated.Any possible solution guide us per acheving this challenge.
    Accounting needs to be trigger like below
    DR.customer     $0.00
    DR Free of charge account      $100.00
    CR. output vat 18%                   $18
    CR EXCISE DUTY  12%(IF APPLICABLE)  0.00
    CR un relized revenue                         $82.00
    Thanks in advance
    Srinivasa

    Hi,
    If your configuration is correct, an accounting document will get created during invoice creation even if the value is zero. Acct doc is created not based on the value, but based on the account key to which the condition type is linked.
    Generally in free goods, there will be net price (gross price- discounts). You can link this netprice condition type to an account key. The netprice will anyway be nullified by NB00 condition type which is applicable for free goods pricing. You can also link NB00 to another account key.
    Now the values will nullify each other in invoice. Similarly the values will be nullified in accountnig doc also and they can be posted to any GL account you wish.

  • BAPI_PO_CHANGE taking default values for zaro value Condition update

    Hi,
    I am using std BAPI_PO_CHANGE for line item condition type value update.
    I want to update the condition value with zero, however it is picking some default value 10 $.
    I want to know from where it is picking that value.
          wa_item-po_item   = ls_po_detail-line_item_number.
                  wa_item-final_inv = c_x.
                  APPEND wa_item TO lt_item.
                  wa_itemx-po_item      = ls_po_detail-line_item_number.
                  wa_itemx-po_itemx     = c_x.
                  wa_itemx-final_inv    = c_x.
                  APPEND wa_itemx TO lt_itemx.
                wa_cond-itm_number = ls_po_detail-line_item_number.
                wa_cond-cond_type  = ls_po_detail-condition_type.
                wa_cond-cond_value = ls_po_detail-unit_price .
                wa_cond-currency   = c_curr.
                wa_cond-change_id  = c_insert.       
                APPEND wa_cond TO lt_cond.
                wa_condx-itm_number   = ls_po_detail-line_item_number.
                wa_condx-itm_numberx  = c_x.
                wa_condx-cond_type    = c_x.
                wa_condx-cond_value   = c_x.
                wa_condx-currency     = c_x.
                wa_condx-change_id    = c_x.
                APPEND wa_condx TO lt_condx.
       CALL FUNCTION 'BAPI_PO_CHANGE'
                EXPORTING
                  purchaseorder = wa_po_no-ebeln
                TABLES
                  return        = lt_return
                  poitem        = lt_item
                  poitemx       = lt_itemx
                  pocond        = lt_cond
                  pocondx       = lt_condx.

    Hi,
    Did you check what is there in  ls_po_detail-unit_price ??
    Check this links might help you.
    Re: BAPI_PO_CHANGE not updating Condition Price
    http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
    Regards and Best wishes.

  • PO : Condition type ZB00/RB00 (Value) and NETPR NETWR value printing Zero

    Hi Experts,
    I have created a Purchase Order line Item having the condition type ZB00(Value)
    the values of NETPR and NETWR are reflecting in the screen and in the table EKPO
    but when click on Print Priview the values of NETPR and NETWR are printing Zero.
    Std Driver prog (SAPFM06P) and Std Form (MEDRUCK) is used .
    But when condition types like ZA00 (Discount) the NETPR and NETWR values are populating in the tables and the values are
    printing in the Form.
    Plz let me know why NETPR and NETWR values are printing Zero for condition types ZB00(value).
    Thanks
    and Regards

    Dear Divya ,
    If the values are coming in tables and not in the print, then it will be issue with the fetch used in the smartform.
    Take the help of ABAPer and check whether the field taken for print is the same.
    Check and revert back.
    Thanks & Regards,
    Hegal K Charles

  • Multiplot graph with missing values fills them with zero instead of NaN

    I have a waveform graph with multiple arrays (2D) which has different numbers of points in each array.  LabVIEW finds the array with the most points and then plots all arrays with that many points.  It assigns the missing points a value of zero and displays those zero values.  This means arrays with fewer points than the maximum will have values of zero appear in their plots.  This can be avoided by filling in missing points with NaN.  I am acquiring data in a loop and displaying it which requires continuous determination of the number of actual points and filling in of missing points with NaN.  Not difficult, but this could be avoided if LabVIEW would fill missing points with NaN instead of with zero.  Any way to have this happen automatically ?
    Steve
    Attachments:
    Graph MultiPlot Missing Data.vi ‏18 KB

    You can also consider using an XY graph so you don't have to do additional data manipulation. See attached for comparison.
    Attachments:
    Graph MultiPlot Missing Data mod.vi ‏22 KB

  • Condition for excluding Sales value less than or equal to 0

    Hello Experts,
    I have to create condition in the query designer to exclude Sales Value <=0, and that should be applied to all the column values and result values when we put active.
    Can anyone help ?
    Thanks in advance,
    Venky
    Duplicate Post
    Condition for excluding Sales value less than or equal to 0
    Edited by: Arun Varadarajan on Apr 13, 2010 8:57 PM

    Hello Naveen,
    Thanks for quick reply. I have created condition greater than zero and executed report, i can able to eliminate rows with sales value <=0, but we have other columns in the report say Quantity, Backlog... when we run the report without condition the values which showed are same when we put it in active aslo.
    After eliminating few rows which having some quantity value, that value should be deducted from the result of the quantity. I tried with applying apply to results opton, then also there is no change in the result value of the quantity.
    Our requirement is to apply condition to eliminate rows which are sales value <=0 and same the result values of the columns should effect.
    Is it possible in anyway, if yes please specify solution.
    Thanks,
    Venky

Maybe you are looking for

  • I need serial number for my elements 4.0 disc provided with my Leica camera?

    i need serial number for my elements 4.0 disc provided with my Leica camera please?

  • Confused on Sync, Explanations Needed

    Hi. On iTunes you have the option to prevent iPhones, iPad from syncing automatically (in the preferences), then you have that in the App tab when you click your iOS device on the left, in there you can click or unclick automatically sync apps which

  • Magnetic Lasso pse8

    I like this tool except that I never know when the screen will suddenly change.  The frame turns blue (instead of grey), then the screen turns white.  The only way I get back to my workspace is to hit esc, but then I lose all my work.  (I don't have

  • I cant find my ipod 5 and its dead

    I cant find my ipod 5 and its out of battery and i dont have an app that can help me find it what shud i do? F

  • How to print from XSJS to Console

    Hello Experts, I have some code in XSJS to populate/Update my Hana DB based on some conditions. I am looking for a mechanism where I can print few comments to console or to some log file. I know i can use console.log(); for normal javascript on web b