Hello,
I am having issues with figuring out how to use the Custom Chart report functionality, specifically when trying to populate the chart using data taken from a SQL query. Here is the query I am using as a data source:
SELECT [SolarWindsOrion].[dbo].[CustomPollerStatistics_Detail].[DateTime], 'AP Name' = CASE WHEN Right([SolarWindsOrion].[dbo].[CustomPollerStatistics_Detail].[RowID],'1') = '0' THEN ([SolarWindsOrion].[dbo].[CustomPollerStatus].[Status] + ' 0') ELSE ([SolarWindsOrion].[dbo].[CustomPollerStatus].[Status] + ' 1') END, [SolarWindsOrion].[dbo].[CustomPollerStatistics_Detail].[Status] FROM [SolarWindsOrion].[dbo].[CustomPollerStatistics_Detail] INNER JOIN [SolarWindsOrion].[dbo].[CustomPollerStatus] ON Left([SolarWindsOrion].[dbo].[CustomPollerStatistics_Detail].[RowID],Len([SolarWindsOrion].[dbo].[CustomPollerStatistics_Detail].[RowID]) - 2) = [SolarWindsOrion].[dbo].[CustomPollerStatus].[RowID] WHERE [SolarWindsOrion].[dbo].[CustomPollerStatistics_Detail].[CustomPollerAssignmentID] = '6C4E621B-A7D3-439C-8402-D692BE67743A' ORDER BY DateTime
This gets me output that looks like the following:
DateTime AP Name Status
2013-10-09 18:35:23.417 AP-3333-3-C 0 3
2013-10-09 18:35:23.417 AP-3333-3-C 1 0
2013-10-09 18:45:23.447 AP-3333-3-C 0 0
2013-10-09 18:45:23.447 AP-3333-3-C 1 0
2013-10-09 18:55:23.443 AP-3333-3-C 0 5
2013-10-09 18:55:23.443 AP-3333-3-C 1 0
The idea is that I want to create a line on the chart for each AP name, with data points of the Status (Y-axis) plotted along their corresponding time (X-axis). The preview of the data source works, but when I edit the chart and select "Add Data Series" for the Y axis it shows no results, and oddly the "Orion Object" dropdown is set with a sole available option of "Group name".
Any ideas what I'm doing wrong?