Viewing 15 posts - 1,531 through 1,545 (of 3,489 total)
Got it to work... probably a kludge, but ...Summarized in T-SQL first:SELECT SalesRep
, SUM(Sales2016) AS Total2016
, SUM(Sales2017) AS Total2017
, SUM(Sales2017) - SUM(Sales2016) AS Delta
May 25, 2017 at 9:48 pm
In a t-sql 2012 database, I am suppose to count the number of times...
May 25, 2017 at 8:48 pm
That's a drilldown report. It's covered in Brian Larson's book... and probably all over the place. Here's a super quick video on YouTube.
May 25, 2017 at 3:18 pm
Okay, just tried it with my own dataset. Turns out, I can't find a way to sort on an aggregated column in a matrix.
So if you base your...
May 25, 2017 at 3:01 pm
Don't think you need a new dataset. What you're describing sounds like you need a Matrix on your report.
Group on [Diagnosis Code], then at the intersection, do COUNT().
You...
May 23, 2017 at 12:28 pm
Got Google?
May 20, 2017 at 9:15 pm
Did you look up the differences between DECIMAL, MONEY, and SMALLMONEY?
May 20, 2017 at 7:05 pm
Did you look up the difference between SMALLMONEY and MONEY datatypes? MONEY should work fine.
May 20, 2017 at 5:10 pm
Don't use BETWEEN with Times. use <. >
SELECT *
FROM MyTable
WHERE EventDate < @SomeTime AND EventDate>=DATEADD(minute,-10,@SomeTime)
May 20, 2017 at 6:18 am
What do you consider "unique messages"? Do you mean something like "common sentences"? I would probably use Jeff's splitter function and write the results to at least a temporary table...
May 19, 2017 at 4:19 pm
SELECT TabA.Col1, TablA.Col2, TabA.Col3, TabB.X, TabB.Y
FROM TabA CROSS JOIN TabB
May 18, 2017 at 12:24 am
Explain the logic of how to do it. I don't think it can be done definitively. Say you have a total for two invoices on the same date one is...
May 13, 2017 at 12:18 am
Did you update stats after the upgrade?
May 12, 2017 at 9:39 pm
Viewing 15 posts - 1,531 through 1,545 (of 3,489 total)