I have a scatter chart in SSRS (SQL Server 2012, Visual Studio 2010) that is producing the following:
There are five data points on there, however the result set I am using has 10 rows (a 'Completed Date' of datetime and a 'Lateness' integer whose values can be positive or negative.
This is the Dataset and the results it produces:
SELECT DISTINCT TOP 10 a.ACTIVITY_NAME As [Activity Name] , ad.COMPLETED_DATE As [Completed Date] , ad.DAYS_LATE As [Lateness] FROM ACTIVITIES a JOIN ACTIVITY_DATA ad ON ad.ACTIVITY_ID = a.ACTIVITY_ID LEFT JOIN ORDERS o ON o.ORDER_ID = ad.OBJECT_ID JOIN ORDER_ITEMS oi ON oi.ORDER_ITEM_ID = ad.ORDER_ITEM_ID JOIN CUSTOMERS c ON c.CUSTOMER_ID = oi.CUSTOMER_ID WHERE (ad.KEY_DATE >= DATEADD(YEAR, - 1, GETDATE())) AND (ad.KEY_DATE <= GETDATE()) AND (ad.COMPLETED_DATE IS NOT NULL) AND a.ACTIVITY_ID = 21 ORDER BY ad.COMPLETED_DATE DESC
Activity Name Completed Date Lateness 02 First fit 2015-06-09 00:00:00 1 02 First fit 2015-06-05 00:00:00 32 02 First fit 2015-06-04 00:00:00 31 02 First fit 2015-06-02 00:00:00 -13 02 First fit 2015-06-02 00:00:00 -6 02 First fit 2015-06-02 00:00:00 1 02 First fit 2015-06-02 00:00:00 15 02 First fit 2015-06-02 00:00:00 22 02 First fit 2015-06-02 00:00:00 29 02 First fit 2015-05-27 00:00:00 44
How can I tell SSRS to show every data point in my chart?