• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 91
  • Last Modified:

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
0
Carla Romere
Asked:
Carla Romere
  • 2
1 Solution
 
Arifhusen AnsariBusiness Intelligence Developer and AnalystCommented:
Hello,

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.

2018-01-30_19-41-19.jpg
0
 
Carla RomereDirector of Information TechnologyAuthor Commented:
We finally ended up getting this working by tweaking the sql query to continue the previous number until the number changed.
0
 
Carla RomereDirector of Information TechnologyAuthor Commented:
We finally ended up getting this working by tweaking the sql query to continue the previous number until the number changed.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now