How to convert a measure value to null when the actual measure value is 0

Hello Gurus,
I have year, products, measure 1, measure 2, measure 3. I am added three products into one category by using bin in the analysis i am getting zeros for some of the measure cells when it should be null values, because the actual measure values are null for indivudual product. How can i convert that 0's to null. Please advise.
Thanks,
RC

To answer your immediate question, you can write this:
CASE WHEN table.column = 0 THEN NULL ELSE table.column END
Remember though, that any aggregations done on a record that is NULL will not yield a sum. That is why the usual case is to convert NULLs to 0s. But that may not be a concern for what you are doing. Good luck!

Similar Messages

  • Operating Unit List Of Values is Null When Entering Transaction Types

    Hi,
    Operating Unit List Of Values is null when entering Transaction Types in Receivables Manager responsibility. I also re-checked MO: Security Profile and MO:Operating Unit Profile options that were set correctly. Please let me know how to troubleshoot the problem and fix accordingly.
    Thanks for the help.
    Regards,
    Sri

    There are some pointers in the below note
    Troubleshooting Transaction Types In Oracle Receivables [ID 1090878.1]
    Mahendra

  • How do I duplicate a sheet while also linking the corresponding cell values?

    How do I duplicate a sheet while also linking the corresponding cell values? 
    I have a page that I want to duplicate, then add to the duplicated spreadsheet, while having the original cells linked so they are updated as I update the original sheet.  I've found tutorials on how to do this on excel, but I'm having trouble doing so on Numbers.

    Hi Millie,
    You wrote:
    "My recipe sheets include two tables. The first calculates the cost per item, the second table takes the original recipe and calculates along with the sales estimates. The latter of these tables are all the same format, so in each one column A lists the ingredient name, column D is the amount needed per week (column E is the unit - oz, pound, etc).    Could I then generate a search for "flour" etc. within column A of each of these tables?  Currently they are all named the "estimated sales" but I could change that."
    Shouldn't need to change the table name, unless the aim is to shorten the formula as written. That's assuming each sheet is named with the item being baked.
    With the same name for all these tables, the cell or range references to cells on these tables will be Recipe (sheet) name::estimated sales::cell or range ref
    With the recipe name used as the Table name (and that name being unique to the document) the sheet name may be omitted from the cell/range address: Recipe name::cell or range ref
    Regards,
    Barry

  • How to catch an event when the user change values in the project information dialog

    hi,
    i would like to know how to catch an event in my C# code when the user change values in the project information dialog?
    taskChange doesn't catch these changes.
    thanks.
    Thanks, Sharon.

    You need to write save button event handler for project information dialog. Link is having same functionality described. 
    http://blogs.msdn.com/b/husainzgh/archive/2011/08/01/hooking-into-the-project-detail-page-ribbon-save-button-without-overriding-out-of-box-functionality-in-project-web-access-for-project-server-2010.aspx
    http://www.projectserver2010blog.com/2010/01/sharepoint-2010-webpart-client-server.html
    kirtesh

  • Raise exception when the user entered value is not present

    Hello Abap experts,
    To raise an exception in the function module when the imported variable value is not presnt in the table.
    import variable: cust_name.
    how to define a exception for this raise it in the code. any examples and suggestions.
    Thanks,
    BWer

    Here is the F1 help on RAISE.
    <i>
    RAISE
    Basic form 1
    RAISE except.
    Effect
    This statement is only effective in function modules and methods.
    It triggers the exception except.
    If the exception is to be handled by the caller of the function module or method ( CALL FUNCTION or CALL METHOD ), the system passes control straight back to the caller. EXPORT parameters of a function module or method are not filled. The EXPORTING, CHANGING, and RETURNING parameters of a function module or method are only filled with the current values if they were defined to be passed by reference. reference).If they are defined to be passed by value, they are not filled.
    If the exception is not handled by the caller, the program terminates with an appropriate error message.
    Example
    Let there be a function module STRING_SPLIT containing the following code (see also the example in the documentation of the CALL FUNCTION statement):</i>
    <b>FUNCTION-POOL CSTR.
    FUNCTION STRING_SPLIT.
      IF STRING NA DELIMITER.
        RAISE NOT_FOUND.
      ENDIF.
    ENDFUNCTION.</b>
    The calling program might then contain the following:
    <b>PROGRAM EXAMPLE.
    CALL FUNCTION 'STRING_SPLIT'
         EXCEPTIONS
              NOT_FOUND = 7.
    IF SY-SUBRC = 7.
      WRITE / 'There is a problem.'.
    ELSE.
    ENDIF.</b>
    <i>
    If the NOT_FOUND exception is raised in a RAISE statement in the function module STRING_SPLIT, the system exits the function module and returns control to the calling program. The return code, which you should evaluate directly after the CALL FUNCTION statement, now contains the value 7.
    Note
    Runtime errors:
    RAISE_EXCEPTION: The caller did not handle the exception that was triggered.
    Related
    MESSAGE ... RAISING
    Additional help
    Creating Function Modules
    </i>
    Regards,
    Rich Heilman

  • Fields don't recognize their value has changed when a copy/paste value in inputed

    I'm having a minor hiccup with my copy and paste buttons.
    I have check boxes that, when checked, make other fields visible.  The copy/paste actions recognize when the check box value is 1 and paste accordingly in the new instance of the subform, however, the invisible fields do not become visible, despite the check box value being 1 in the new instance.  I feel like I'm missing something simple....possibly something that forces the scripting within the check box field to run since it is not recognizing that it's value has changed?  If I manually click the check box in the new instance, the scripting works and the invisible fields become visible so I know its not an issue with creating new instances.
    Any suggestions will be appreciated...I am new to this...
    Scott

    Still interested in solving this issue....anyone? please?

  • How to get backed up data in iphone3gs when the phone is disabled

    how to get backed up data in iphone3gs when the phone is disabled

    can someone help? this is shaking my trust in icloud backups.
    i am on iOS 6.1.

  • How do you turn your ipod touch on when the screen says connect to itunes?

    How do you turn your ipod touch on when the screen says connect to itunes?

    You connect the iPod to your computer with iTunes and restore via iTunes.  If iTunes does not see the iPod try:
    iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X
    or
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    If iTunes asks for the passcode and you can't enter it or if iTunes does not see the iPod, manually placing the iPod in recovery mode and then restore. For recovery mode:
    iPhone and iPod touch: Unable to update or restore

  • How to delay or stop get quote email and to send later when the actual shipping cost is work out.

    How can I delay or stop get quote email from being automatically sent. I want to send manually later when the actual shipping cost is work out. Thanks

    No problems, I've had the same type of customers, I build shipping systems that had different shipping options for different countries. If you selected Australia it used BC Aussie post system upto a certain size then switched to a local shipper if it was too big and also if you choose say the UK it would use a custom DHL price table. Even can tie it directly to the API's of the shipping companies to get real time prices and fuel charges if you need it.

  • How can I create a scrolling effect where when the user scrolls down the image will blur out?

    How can I create a scrolling effect where when the user scrolls down the image will blur out?

    Hi there,
    You can create a scroll motion where the image will fade out on scrolling, you need to use the Opacity tab under Scroll Effects Panel.
    If you particularly need the image to be blur out, then you need to edit that image in any image editing program and make one copy of that image as blurred, then place both images (actual and blurred) on that page and use scroll motion or fade option to replace images.

  • [svn:osmf:] 11359: Fixing MetadataWatcher not invoking a value change callback when the parent facet of the target value is added or removed .

    Revision: 11359
    Author:   [email protected]
    Date:     2009-11-02 05:20:01 -0800 (Mon, 02 Nov 2009)
    Log Message:
    Fixing MetadataWatcher not invoking a value change callback when the parent facet of the target value is added or removed.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/metadata/MetadataWatcher.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/metadata/TestMetadataUtils.as

    mikeporter wrote:
    I'm sorry I'm not aware of any "cumbersome" subpanels - unless of course you don't know what you're doing. There is this wonderful invention called a "subVI" that can be used to organize and simplify your code, or are they too "cumbersome" as well? You should really learn a bit about what you are pontificating over before you start running off at the mouth.
    Mike...
    I didn't want to step on your toes. No need to get personal.
    Subpanels make some additional code necessary that hasn't got to do anything with the actual program. And I AM using subIVs as I wrote in my first post, which is exactly the root of the problem.
    Nevertheless I now solved it in a way that comes close to what I wanted. I don't know if some of you meant your suggestions to be understood that way (at least I didn't ). The subVIs will now "insert" themselves (via invoke node) into a subpanel on the main vi, which they are given a reference of at call. This adds minimal aditional code, especially on the main VI which I want to keep as clean as possible. By clustering the panel reference into the parameters the subVIs are already given (not used in the example I attached below), there isn't even a change on the terminals of the subVIs.
    I got to check now if this works well with event structures within the subVIs or if it can create the same problems like multiple event structures within a single VI.
    So no global variables anymore and no writing values by property node. I don't know if this just wasn't possible in previous Labview versions I had a try at that (I guess it was 8.6 and/or 2009) or I just didn't come up with the idea back then.
    And if the text wasn't that helpful, here are two screens:
    Parent VI:
    SubVI:
    Attachments:
    main.png ‏2 KB
    subvi.png ‏5 KB

  • How to convert a String("yyyy-mm-dd") to the same but in Date format ?

    Hi,
    can anyone plz tell me how to convert a String to a date format.I'm using MSACCESS database.I want to store this string in the database.So i need to convert it to a date format since the table is designed such a way with date/time type for date field.I used SimpleDateFormat ,but i can't able to convert.The code is given below:
    coding:
    public String dateconvertion(String strDate)
    try
    SimpleDateFormat sdfSource = new SimpleDateFormat("yyyy-MM-dd");
    Date date = sdfSource.parse(strDate);
    SimpleDateFormat sdfDestination = new SimpleDateFormat("yyyy-MM-dd ");
    strDate = sdfDestination.format(date);
    catch(ParseException pe)
    System.out.println("Parse Exception : " + pe);
    return(strDate);
    }

    i used prepared statement even now i am getting error like this.....
    i have included the prepared statement package also...
    my coding:
    ResultSet rsdatetemp = null;
    PreparedStatement ps = null;
    String query ="select distinct itemcode from sales where bill date between ? and ?";
    ps = precon.prepareStatement(query);
    ps.setDate(1,d1);//d1 and d2 are in date format
    ps.setDate(2,d2);
    rsdatetemp = ps.executeQuery();
    error :
    symbol : method setDate(int,java.util.Date)
    location: interface java.sql.PreparedStatement
    ps.setDate(1,d1);
    symbol : method setDate(int,java.util.Date)
    location: interface java.sql.PreparedStatement
    ps.setDate(2,d2);

  • How to get a note to carry over to the next measure?

    I want to know how to "slide" into the one beat from the 15/16 beat of the previous measure. In other words, how can I get a note to cross over from one measure to the next?
    Thanks-

    Thanks for bearing with me.
    I created a region (up in the track timeline) which spans two measures. When I pencil in a note in the grid below (in Piano Roll) near the end of measure one, I cannot extend it or drag it into measure two (even though they both reside in the same region). Even stranger, whatever note I write into the grid in measure one gets "ghost" duplicated in measure two.

  • How to call a method defined in AM when I select any value in LOV

    Lets say there is a LOV. The scenario is as soon as I select any value in LOV, a method needs to be called which I have written in the AM. And the output of the method is displayed in a output text box.
    I am not able to understand how to call a method when the user selects any value in LOV.
    This is wht I did. I had created the binding for the method. Changed the autosubmit property of the LOV to True, and in the properties of the output box, in the partial submit trigger property, passed the ID of the LOV. But I didnt get any place where I need to call the method. I am also not able to drop an action listener on the LOV

    Hi,
    +"its showing an error(underlined in orange)."+
    Any reason you don't share this error with us? Anyway, here is how it goes
    1. LOV, set autosubmit="true" and configure a value change listener
    2. Expose the AM method as a method binding in the PageDef file
    3. In the value change listener:
    BindingContext bctx = BindingContxt().getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    OperationBinding method = (OperationBinding) bindings.get("name of method binding in PageDef");
    method.getParamsMap().put("argument name1", value1);
    method.getParamsMap().put("argument name2", value2);
    Object retVal = method.execute();
    if(!method.getErrors().isEmpty()){
      //handle errors
    else{
      //write retVal to the managed bean variable that is referenced by the outputText value property
      //PPR output text component
      ADFFacesContext.getCurrentInstance().addPartialTarget(outputTextRef);
    }Note that you may have to set clientComponent = "true" on the output text component
    Frank

  • How do you include the actual CLOB value as ASCII when writing XML?

    When using the XDK for PL/SQL ( creating XML from query ) and the table that you query has a CLOB column the value in the resulting XML document is
    written as:
    <column>(CLOB)</column>
    how do you get the api to write the actual CLOB data?

    That article is talking about choosing HOW to STORE an XML document.
    I want to know how to write the contents of a CLOB column along with the other columns in a table in a single XML document.
    I know how to store an XML doc as a clob I know how to store an XML doc object relationally.
    I I have a table with 5 varchar2 columns 5 number columns and 1 clob column and I create an xml document as a clob from a select * on that table. I then write that clob to the file system. What is the clob columns data going to look like?
    its gonna be <column>(CLOB)</column> THATS NOT WHAT I WANT. I want the actual data that was in that CLOB column.
    Thank you for all responses.

Maybe you are looking for