Viewing 15 posts - 2,191 through 2,205 (of 3,489 total)
Mario,
I hope your math is wrong, because mine doesn't match what you're getting. For the moment, I'll pretend it does.
I think the whole hierarchy bit is a red herring....
November 20, 2015 at 11:06 pm
Where's the ProductID in your dataset? Either my psychic powers or my eyesight must be failing.
How did my solution not work?
November 18, 2015 at 11:23 am
maybe...
SELECT P1, MAX(P2) AS MP2, MAX(P3) AS MP3
FROM
(SELECT 35 AS P1,NULL AS P2,NULL AS P3
UNION ALL SELECT 35,NULL,290
UNION ALL SELECT 35, 659,NULL
UNION ALL SELECT 14,NULL,NULL
UNION ALL SELECT 14,NULL,296
UNION ALL SELECT...
November 18, 2015 at 10:41 am
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
Viewing 15 posts - 2,191 through 2,205 (of 3,489 total)