Quantcast
Channel: THWACK: All Content - Network Performance Monitor
Viewing all articles
Browse latest Browse all 21870

Graphing a custom query

$
0
0

I am trying to create a custom SQL web-based report that graphs the number of UDT ports in use over time (I'm posting this in the NPM forum because this is a question about web reports)

 

 

SELECT         month        ,Sum(apc) MaxPortCount
FROM   (SELECT DATEADD(month, DATEDIFF(month, 0, DateTime), 0) AS Month                  ,upd.nodeid                ,max(avgactiveportcount) mpc         FROM   [dbo].[udt_portusage_daily] UPD                INNER JOIN nodes N                        ON N.nodeid = UPD.nodeid         WHERE  Datetime >= '2013-01-01'         GROUP  BY DATEADD(month, DATEDIFF(month, 0, DateTime), 0)                  ,upd.nodeid) X 
GROUP  BY month 
ORDER  BY month  

 

I cannot get the report writer to display a graph of this data -- am i missing something?

 

it displays the information as a table, but I can't figure out why it will not draw a graph if the data.


Viewing all articles
Browse latest Browse all 21870

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>