Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SSRS Chart help Expand / Collapse
Author
Message
Posted Friday, December 27, 2013 8:22 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, July 14, 2014 12:13 PM
Points: 291, Visits: 1,036
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.



  Post Attachments 
ServerPerformance.PNG (11 views, 25.39 KB)
Post #1526162
Posted Friday, January 3, 2014 10:04 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Today @ 1:01 PM
Points: 1,166, Visits: 1,191
Why not just create a report? When I look at your attached picture, it looks like a straight-forward report to me.

Rob
Post #1527637
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse