I am putting together a report for our production facility to show when lines are ready to run and whether another process is also ready to run. Attached is the sample report I am trying to duplicate using SSRS (rto.png). However, when I run the report in SSRS, the lines are not continuous across the report as shown in capture.png.
The report will run once weekly for the previous seven days from GETDATE()-8 6am through GETDATE()-1 6am.
The data points the report is based upon are both either 0 or 1. There is only a data entry point if the value changes. So the way I have set up the stored procedure is to find the first data point AFTER 6am on the first date and then set the value at exactly 6am to the opposite of that. I have done this for READY and RUNNING. When the data point changes, there is an entry in the database.
I want the lines to continue across and print until the value changes.
I have manipulated the final values for READY by adding .1 to the value so they can both appear on the same chart and not be right on top of each other. The READY will show on top in the chart because this process is supposed to be READY if the line is RUNNING. The RUNNING line should always be underneath the READY line. The processes are both either on or off. I'm also including a chart showing the data this is currently pulling.
How can I get the lines to continue at their current value until that value changes?