Viewing 15 posts - 1,831 through 1,845 (of 3,507 total)
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...
August 13, 2016 at 1:05 am
SSC is becoming SPAMalot??? Hmm... Anybody have coconuts (or am I mixing up Camelot and Holy Grail?)
August 12, 2016 at 3:46 pm
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.
August 12, 2016 at 2:16 pm
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...
August 11, 2016 at 6:46 pm
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]=...
August 11, 2016 at 6:28 pm
Right here...
) T1
WHERE <filters>
GROUP BY
It goes after the FROM clause and before the GROUP BY clause
August 10, 2016 at 10:55 pm
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...
August 10, 2016 at 5:09 pm
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...
August 10, 2016 at 12:09 am
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....
August 9, 2016 at 11:41 pm
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...
August 9, 2016 at 11:18 pm
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...
August 9, 2016 at 9:55 pm
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...
August 9, 2016 at 9:34 pm
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...
August 9, 2016 at 8:53 pm
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...
August 9, 2016 at 8:17 pm
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)...
August 9, 2016 at 7:59 pm
Viewing 15 posts - 1,831 through 1,845 (of 3,507 total)