I'm building an incident report with the below query:
SELECT Incident_Logged
,Location_Name
,Incident_Type
,Body_Part_Name
FROM Incident
INNER JOIN Location ON Location_ID = Incident_Location_ID
INNER JOIN Body_Part ON Body_Part_ID = Incident_Body_Part_ID
WHERE Incident_Logged BETWEEN @StartDate and @EndDate
AND Incident_Location_ID IN (@Location)
ORDER BY Incident_Logged DESC
I've also created a chart, however for some reason the colours in the chart don't line up with the legend. Any ideas?