Viewing 15 posts - 2,206 through 2,220 (of 3,501 total)
If you have Enterprise, you can use Data Driven Subscriptions. If not, I think you can use Jason Selburg's solution.
http://www.sqlservercentral.com/scripts/Miscellaneous/31733/
November 17, 2015 at 1:13 pm
You could use RANK/DENSE RANK in your query and then create a calculated expression in SSRS.
IIf(PersonRank>5.6,PersonRank)
then just group on [PersonRank]
November 17, 2015 at 1:11 pm
Here is okay. Could you post the data as a UNION query, or CREATE TABLE query with INSERTS to make it easier for us to help? It sounds like...
November 16, 2015 at 1:37 pm
Something like this should work:
Value:
=DateDiff(DateInterval.Hour,Today(),Now())
Then you could just choose your ranges for red/yellow/green, as long as the ranges don't overlap and there's only one red/yellow/green value range per day.
November 14, 2015 at 5:16 pm
I am assuming you have a table of dates in your database or a Calendar table (basically a contiguous list of dates). Because dates are continuous, you could just...
November 14, 2015 at 5:02 pm
Instead of using this:
Month(Now() -1
you could use DateAdd() and subtract a month from some date, and then return all dates between the first of the month and the last.
November 14, 2015 at 3:10 pm
Something like this? (You'd have to import the report into your project. It's using a connection to my dummy database, but you'd have to change it to point...
November 13, 2015 at 9:21 pm
Use DelimitedSplit8K and toss all the non-numeric data? Then multiply?
November 12, 2015 at 5:38 pm
I hope he's patient... osmosis takes a LONG time.
November 12, 2015 at 3:14 pm
I'm so s-m-r-t!!! Good point, Scott... DelimitedSplit8K is perfect... (How could I miss something so blindingly obvious?)
November 12, 2015 at 3:13 pm
I kinda hope he has to explain his answers....
November 12, 2015 at 1:08 pm
CREATE TABLE MyData (
VID INT,
PID CHAR(3),
AID INT,
AMT SMALLMONEY,
VNO INT
);
GO
INSERT INTO MyData(VID,PID,AID,AMT,VNO) VALUES
(123,'XYZ',000,100.00,2),
(123,'XYZ',000,103.00,324),
(123,'XYZ',011,102.00,324),
(123,'XYZ',012,325.00,324),
(123,'XYZ',011,416.00,324),
(123,'XYZ',013,155.00,324);
Here's the create table and insert statements... now, what is the output report supposed to look like? That part...
November 12, 2015 at 9:35 am
Grasshopper,
If you post your expected result and the create table and enough insert statements to replicate your setup, it's a lot easier to help. See Jeff Moden's article[/url] Forum...
November 12, 2015 at 9:03 am
look up windowing functions in BOL. Maybe read Itzik Ben-Gan's book on it. He has a bunch of examples, and explains how to go about doing things...
November 12, 2015 at 9:00 am
What version of SQL Server are you using? You can create a running sum using a windowing function ... something like this:
SELECT Protocol
, [Year]
, Weekno
, [Weekly Count]
, SUM([Weekly Count]) OVER...
November 11, 2015 at 10:29 pm
Viewing 15 posts - 2,206 through 2,220 (of 3,501 total)