SSRS 2005 line graph Series / Interval - reporting-services

Afternoon all,
I have a simple bar graph in SSRS 2005 that displays data in a web page. The space that i have allocated on the web page is very small but is required.
I have a report that pulls data back for the last 24hrs and plots this on a graph. I have placed 'Timestamp' data on to my graph and it is located at within the 'Drop category fields here' section.
As the space that i have for my chart is only small the 24hr timestamp labels look too busy and look messy. Is there a way i can format this area so it only displays a label on the 6th, 12th, 18th and 24th interval?
I have reduced the label already by formatting the timestamp using the below but think i need to reduce the number of labels for the timestamp.
=Format(Fields!TimeStamp.Value, "H:mm dd-MMM")
Regards
Bet

Try looking at the Major gridlines interval:
Which gives me a result with some junk data:
So it might not be 100% perfect for what you want, but hopefully will be helpful. Unfortunately SSRS 2005 charts are a bit limited in functionality so it's a case of trying to do the best with what you have.

Related

MS Access Forms Date/Time Entry Trouble

So I have a couple tables that I want to filter on their Date/Time fields. Here's a snapshot of the form controls that I'm experimenting with.
This will report will probably end up run on a monthly basis, and so the filter "Between Forms!Sorting!OldestDate and Forms!Sorting!NewestDate" will normally work fine. However, sometimes it's useful to just run it on a single day, as in the picture, in which case I need the filter to work out to "Between #M/D/YYYY 0:00:00# and #M/D/YYYY 23:59:59#". Setting up the format on the controls to actually record the time as well as the date, however, has not been working out.
I thought, first, maybe the time wasn't displaying bc my text boxes were too small, so I tried adding the bottom text box. The display in the snapshot is what I desire, however, if I click out of the text box the date disappears and only the time is displayed. It also does not display any time at all until I go in and manually add a time.
Is there a way to force the display of both the short date and the long time? Or is there a way to, say, set the default TimeValue for NewestDate to 23:59:59?
Right now the only "solution" I might have is CVDate(CDbl(Forms!Sorting!NewestDate)+0.99999) appearing multiple times in my WHERE clause, which will make things harder to keep track of or catch mistakes in.
I have vba experience, though I've never tried to use it to mask/edit a form parameter as it is passed to a query. I am using Access through MS Office Professional Plus 2019.
First, in your query, specify as parameters:
[Forms]![Sorting]![OldestDate] DateTime,
[Forms]![Sorting]![NewestDate] DateTime;
Then you can filter on:
[YourDateField] >= [Forms]![Sorting]![OldestDate] And [YourDateField] < DateAdd("d", [Forms]![Sorting]![NewestDate])
If [YourDateField] is text, change that to DateTime. If that is not possible (it should be), use:
DateValue([YourDateField])

SSRS - add textbox data to a chart

I've created a report in SSRS. The report has a chart in where points are plotted on a scatter chart. My issue now is that we need a line of best fit, which is not directly supported by SSRS.
In order to work it out (as there are a lot of calculations involved to get it from the data we've got) I've had to use custom code. As such, the values are now contained in text boxes (txtDate1, txtValue1, txtDate2, txtValue2).
Does anyone know how I'd be able to get these into my chart (so a point at the locations described in [txtDate1][txtValue1] and [txtDate2][txtValue2])? Or would I have to go back to SQL to figure this out in there?

Access chart switch from date to category on the x-axis

I have a chart that is trying to show dates in the x-axis. I really need it to be a category and show text labels instead. I can't figure out a way to switch in Access 2007. What can I do?
Best way to do this is to trick access into thinking that the values are not dates. You can convert to strings, add special formatting, or just an extra space like Jan 15, 2015. Two spaces between Jan and 15. Then it will automatically switch from Date to Category.

Need Savings totals by month to pull data correctly and display in Chart

My data and this SSRS chart have a ton of problems, I'll try to keep my question(s) succinct.
First, as you can see by this chart and this screenshot of my data (just showing date and April Savings), my expression/chart is not summing all of the savings within a month, which is my goal.
It appears to be picking one amount within the correct month and using it. I set up a tool tip for April so I could see what number it's pulling (since clearly the chart columns are not representing the data whatsoever - another issue).
You'll see in the SQL data screenshot that it does indeed pull $1,230 from the April 2013 Savings. How can I get this to Sum within the month AND still do a running value from the beginning of time data began to current, this often will include multiple years.
Here's my Chart Data (note that my Team Goal works perfectly, and is even charted correctly - but if anyone knows how to force that line to go from end to end on my chart, feel free to let me know.) :
To summarize, how can I sum each month's data, while still do a running value across the months AND years?
Here's my Expression for Implementable Savings:
=RunningValue(Sum(Fields!ImplementableSavings.Value), Sum, nothing)
(obviously if I can get one working, I can get both)
My Expression for ImplementedSavingsMonth:
=MonthName(Month(Fields!ImplementedSavingsDate.Value))
My Expression for ImplementedSavingsYear:
=Year(Fields!ImplementedSavingsDate.Value)
Let me know if there's anything else I can provide.
Quick sidebar question: WHY does my chart column collect one piece of data. IE: see the tool tip $1,230 for April 2013), but the chart column displays that the number is around $1.7M? And in this scenario, both of my blue and yellow columns are displaying the same number, so why does blue always appear to be a higher number? I will ask this as a 2nd question if it's inappropriate for me to ask here.
I would use this Expression for Implementable Savings:
= RunningValue ( Fields!ImplementableSavings.Value, Sum, "Chart1")
.. assuming your Chart's name is Chart1.

SSRS - creating chart - overlapping year - end of year/start of next

I have to report on some data covering November, December of 2013 and Jan, Feb of 2014. I know how to chart over a calendar year but I'm struggling with this...any one know how i can chart this in nov,dec,jan,feb order???
cheers
You have to have some field available in your dataset or a calculation based upon a field/fields that orders them correctly. If you have something like yyyy-mm (ex: 2013-11) you can set the sort order of the category group within your chart. Leave the actual value as you want it to be seen, just change the sort order.
Here's a good blog post that (I think) explains exactly what you are trying to do: http://www.allaboutmssql.com/2013/06/ssrs-in-charts-how-to-sort-labels-on-x.html
Sort the data first by =Year(Fields!YourDateField.Value) and then by =Month(Fields!YourDateField.Value)
Thanks for the input... i found this Custom ordering of series field for stacked chart in SSRS08 TFS
so i manually changed the value value with a switch and then ordered A-Z
All good now
cheers