Forum Replies Created

Viewing 15 posts - 1,831 through 1,845 (of 3,507 total)

  • RE: Stored Procedure

    Welcome to SSC,

    Since we're not at your computer, you'll have to meet us halfway and provide CREATE TABLE and INSERT scripts to populate them. Please read this article "Forum...

  • RE: Are the posted questions getting worse?

    SSC is becoming SPAMalot??? Hmm... Anybody have coconuts (or am I mixing up Camelot and Holy Grail?)

  • RE: Multi Values with two parameters for one report.

    It's one of those "features" they don't tell you about... Maybe check out Jessica Moss's articles on SSRS to see if there's anything there that's helpful.

  • RE: Tablix assistance please!

    one way is to not use the totals query as the base for your report and to use a Matrix instead of a tablix. You could create a variable to...

  • RE: Multi Values with two parameters for one report.

    Did you check the "Allow Multiple values" in the Parameter properties? If not, it will default to single-select instead of Multi-select. (And then you under FILTERS, have to change [Field]=...

  • RE: Apply Pivot in SQL Server

    Right here...

    ) T1

    WHERE <filters>

    GROUP BY

    It goes after the FROM clause and before the GROUP BY clause

  • RE: Credits and Debits

    Okay... Could you post what the solution looks like given the data you originally posted? (Or did you do that already?)

    So you would apply the new payment to the oldest...

  • RE: Credits and Debits

    Awesome... now I know what the question is! <g>

    You're doing FIFO (a queue), but with money. So the oldest debt gets paid first, and if there's any money...

  • RE: Credits and Debits

    I think I get it... you want to apply amounts to the oldest debt first, and then carry forward any remaining money and apply it to the next oldest debt....

  • RE: Credits and Debits

    Oh wait... I think I get it. You're kind of looking for patterns in when each debt gets paid off... so older debts (which are theoretically accruing interest) are...

  • RE: Credits and Debits

    I give. I don't get it. I see how in theory you should apply debits to credits or whatever, but I'm not sure why it matters. I must be missing...

  • RE: ssrs 2008 default parameter value

    Sorry, my installation of SSRS 2008 and even 2008R2 are both long since gone.

    In 2016 (so this may not work for you), you go to Parameter Properties.

    Check Allow Multiple Values.

    Go...

  • RE: Credits and Debits

    Could you please explain the logic of how you get to the expected result? The running total over the CustomerID is really close, but wrong somehow... but why?

    How is the...

  • RE: Credits and Debits

    Here's my setup so other folks can play along:

    --TransactionIDCustomerTransactionTypeDateAmount

    SELECT CustID

    , TransID

    , TType

    , TDate

    , Amt

    , SUM(Amt) OVER (PARTITION BY CustID

    ORDER BY TransID

    ROWS BETWEEN UNBOUNDED PRECEDING

    AND CURRENT ROW) AS...

  • RE: Credits and Debits

    just wondering... what if you used a windowing function and did a running total of the value (credits are positive, debits are negative). Then it would act like a checkbook

    SUM(value)...

Viewing 15 posts - 1,831 through 1,845 (of 3,507 total)