SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSRS Chart help


SSRS Chart help

Author
Message
PSB
PSB
SSCrazy
SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)

Group: General Forum Members
Points: 2433 Visits: 1565
Hi,

I have to create a chart based on server performance as shown in the attachment.

CREATE TABLE #SSRSChart ( Status VARCHAR(10),ServerName VARCHAR(10),HOUR INT)
INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'ERROR', 'Server A',0)
INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'ERROR', 'Server A',1)

INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'ERROR', 'Server A',2)
INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'ERROR', 'Server A',3)
INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'ERROR', 'Server A',4)

INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'ERROR', 'Server A',5)
INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'ERROR', 'Server A',6)
INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'ERROR', 'Server A',7)

INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'SUCCESS', 'Server B',0)
INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'ERROR', 'Server B',1)

INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'WARNING', 'Server B',2)
INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'ERROR', 'Server B',3)
INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'ERROR', 'Server A',4)

INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'SUCCESS', 'Server B',5)
INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'SUCCESS', 'Server B',6)
INSERT INTO #SSRSChart
( Status, ServerName, HOUR )
VALUES ( 'ERROR', 'Server B',7)


SELECT * FROM #SSRSChart ORDER BY 2
DROP TABLE #SSRSChart


Please help.
Attachments
ServerPerformance.PNG (15 views, 25.00 KB)
Rob Taylor
Rob Taylor
Hall of Fame
Hall of Fame (3.8K reputation)Hall of Fame (3.8K reputation)Hall of Fame (3.8K reputation)Hall of Fame (3.8K reputation)Hall of Fame (3.8K reputation)Hall of Fame (3.8K reputation)Hall of Fame (3.8K reputation)Hall of Fame (3.8K reputation)

Group: General Forum Members
Points: 3760 Visits: 1616
Why not just create a report? When I look at your attached picture, it looks like a straight-forward report to me.

Rob
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search