Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)

  • RE: Strange result using SUM with ISNULL(NULLIF...

    drew.allen (10/31/2016)


    david.jack (10/31/2016)


    drew.allen (10/28/2016)


    david.jack (10/28/2016)


    ScottPletcher (10/27/2016)


    Seems more confusing than the natural CASE statement to me:

    SUM(CASE WHEN VAL1 <> 0 THEN VAL1 ELSE VAL2 END)

    VAL1 can return NULL unfortunately so using...

  • RE: Strange result using SUM with ISNULL(NULLIF...

    ScottPletcher (10/28/2016)


    david.jack (10/28/2016)


    ScottPletcher (10/27/2016)


    Seems more confusing than the natural CASE statement to me:

    SUM(CASE WHEN VAL1 <> 0 THEN VAL1 ELSE VAL2 END)

    VAL1 can return NULL unfortunately so using a comparison...

  • RE: Strange result using SUM with ISNULL(NULLIF...

    drew.allen (10/28/2016)


    david.jack (10/28/2016)


    ScottPletcher (10/27/2016)


    Seems more confusing than the natural CASE statement to me:

    SUM(CASE WHEN VAL1 <> 0 THEN VAL1 ELSE VAL2 END)

    VAL1 can return NULL unfortunately so using a comparison...

  • RE: Strange result using SUM with ISNULL(NULLIF...

    ScottPletcher (10/27/2016)


    Seems more confusing than the natural CASE statement to me:

    SUM(CASE WHEN VAL1 <> 0 THEN VAL1 ELSE VAL2 END)

    VAL1 can return NULL unfortunately so using a comparison operator won't...

  • RE: Strange result using SUM with ISNULL(NULLIF...

    Hmmmm... it doesn't work in my scenario but, as per your assessment, the formula does seem to be correct, so my results must be the product of joins/grouping I guess....

  • RE: convert and format

    coool_sweet (10/20/2016)


    hi

    i have table from where data is coming like this

    price

    12.345

    345.6789

    23.56

    now i am taking this into tem table nd what i need is remove decimal and round the number...

  • RE: Report Errors for a view employees on Report Server, Not in VS2008

    Hi Grasshopper,

    I'm having this issue having moved a report from SSRS 2005 to SSRS2012. I have 2 options to edit this report. One being the Report Builder 3.0 - running...

Viewing 7 posts - 1 through 7 (of 7 total)