Viewing 15 posts - 1,816 through 1,830 (of 3,489 total)
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
Okay, looks like I got bit by the "Reading Is Fundamental" bug...
The short answer is CALCULATETABLE.
When I actually OPENED Ferrari & Russo's DAX Patterns book, there's a chapter on Surveys...
August 9, 2016 at 2:09 pm
This kind of begs the question... If I had a resume like
SQL Developer 2<24 months>
Company ABC
SSMS, SSRS, SSAS
SQL Developer 1<36 months>
Company XYZ
SMS, SSRS
how would you count my experience? doing...
August 8, 2016 at 4:59 pm
Hmm.. that might explain the defective light saber...
August 8, 2016 at 3:08 pm
Viewing 15 posts - 1,816 through 1,830 (of 3,489 total)