Carla Romere
asked on
SSRS Stepped Line Chart - Lines Problem
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?
rto.PNG
Capture.PNG
data.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?
rto.PNG
Capture.PNG
data.png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
We finally ended up getting this working by tweaking the sql query to continue the previous number until the number changed.
It's very confusing to understand you problem. But i think you want your graph continuous line rather than stepped.
If my assumption is correct, you can modify the type of graph using "Type Chart Option".
Right click on Chart select "Change Chart Type" and go to line option and select Continuous line chart. As show in image below.
Hope it will help you.