Forum Replies Created

Viewing 15 posts - 136 through 150 (of 541 total)

  • RE: Multi-value parameter in SSRS shows blank

    Jack Corbett (7/3/2014)


    Looking at the SP it looks like you were on the right track to fixing the issue with the dbo.Split() function. When passing multi-value parameters...

  • RE: Running total error

    J Livingston SQL (7/2/2014)


    try this....based on your sample data (I think)

    WITH rt_cte as (

    SELECT a.[WK NO],

    AC= MAX(AC),

    comp= MAX(COMP),

    AUSD= SUM(CASE WHEN SOA_TYPE = 'Agent' THEN USD_AMOUNT ELSE 0 END),

    FUSD=...

  • RE: Running total error

    ChrisM@Work (7/2/2014)


    pwalter83 (7/2/2014)


    ChrisM@Work (7/2/2014)


    pwalter83 (7/2/2014)


    ... it does not calculate the ratio for the first row...

    If your calculation depends upon a value from a previous row, what should the result of...

  • RE: SSIS inserts NULL into new column in destination table

    Koen Verbeeck (7/2/2014)


    Did you map the column in the destination component?

    Yes, the column is mapped in the destination component (screenshot s1). Also, the source column has data in it (screenshot...

  • RE: Running total error

    ChrisM@Work (7/2/2014)


    pwalter83 (7/2/2014)


    ... it does not calculate the ratio for the first row...

    If your calculation depends upon a value from a previous row, what should the result of the calculation...

  • RE: Running total error

    Lynn Pettis (7/1/2014)


    First, you haven't detailed what exactly is wrong.

    Second, what have you done to try and resolve the problem?

    Third, how does the running total part of all this fit...

  • RE: Running total error

    Can somebody please help on this ?

  • RE: Running total error

    Lynn Pettis (6/25/2014)


    EDIT: Looks like Chris found the issue with the part I did. Now to try and figure out the rest.

    I found the problem, try the following:

    IF OBJECT_ID...

  • RE: Running total error

    Lynn Pettis (6/25/2014)


    pwalter83 (6/25/2014)


    Jeff Moden (6/25/2014)


    pwalter83 (6/25/2014)


    Lynn Pettis (6/25/2014)


    EDIT: Looks like Chris found the issue with the part I did. Now to try and figure out the rest.

    I found...

  • RE: Running total error

    Jeff Moden (6/25/2014)


    pwalter83 (6/25/2014)


    Lynn Pettis (6/25/2014)


    EDIT: Looks like Chris found the issue with the part I did. Now to try and figure out the rest.

    I found the problem, try...

  • RE: Running total error

    ChrisM@Work (6/25/2014)


    The issue is a lack of clarity.

    Don't give up. Have a look at the result of this:

    IF OBJECT_ID ('tempdb..#GLT') IS NOT NULL DROP TABLE #GLT

    CREATE TABLE #GLT (

    [Sequence] [int]...

  • RE: Running total error

    Lynn Pettis (6/25/2014)


    EDIT: Looks like Chris found the issue with the part I did. Now to try and figure out the rest.

    I found the problem, try the following:

    IF OBJECT_ID...

  • RE: Running total error

    Lynn Pettis (6/25/2014)


    Please explain what it is you are trying to accomplish? Is case 2 trying to show current running totals for the weeks 18 to 23 but include...

  • RE: Running total error

    Lynn Pettis (6/25/2014)


    pwalter83 (6/25/2014)


    ChrisM@Work (6/25/2014)


    The issue is a lack of clarity.

    Don't give up. Have a look at the result of this:

    IF OBJECT_ID ('tempdb..#GLT') IS NOT NULL DROP TABLE #GLT

    CREATE TABLE...

  • RE: Running total error

    ChrisM@Work (6/25/2014)


    The issue is a lack of clarity.

    Don't give up. Have a look at the result of this:

    IF OBJECT_ID ('tempdb..#GLT') IS NOT NULL DROP TABLE #GLT

    CREATE TABLE #GLT (

    [Sequence] [int]...

Viewing 15 posts - 136 through 150 (of 541 total)