SSRS chart: Dates in horizontal axis, Year as tick marks - reporting-services

I have an SQL Server Report (SSRS) with a chart in it.
The chart has Date as Horizonral axis. These are days from e.g. 01-01-2010 till now (01-01-2010, 02-01-2010, 03-01-2010, ..., 05-12-2014. It is quite a big (long) chart).
I would like to display (major) tick marks indicating start of each year only. So tick marks on 01-01-2011, 01-01-2012, 01-01-2013. No labels are necessary.
Is it possible to specify tick marks in such a way?
I am using Report Builder 3.0.
Thank you very much in advance for any help.

Related

SSRS Bar Chart Grouping by Date Range

I have a dataset that calculates the actual business days. I've added a bar chart with #beginningdate and #enddate parameters. When I preview the report it only brings back one bar (the first range "1-10 Days") in the report.
The report renders with all 8 bars on the chart I'm only using the #enddate parameter, but the performance on the report is horrible.
Here's my ranges for the chart:
I'm sorting the grouping with the following expression:
Notice the As of Date parameter...this takes a long time to render.
What I need is to get the bar chart (as shown above) shown the same when I have set-up the grouping when I enter a date range.
As you can see below, the report only returns one bar in the chart even though I have 2 date parameters and changed my dataset AND A.EFFECTIVEDATE BETWEEN (#ASOFDATE) AND (#ENDDATE)
How do I make this work to pull back the bars in the chart when adding a date range?
Hopefully this makes sense.
Thank you,
I figured this issue out. What you have to do is right click on the X axis. Under the Axis Options go to intervals and change it from Auto to 1. This fixed my issue and I can now run a chart with a date range.
My chart looks like this with a date range.

SSRS chart should look like my excel chart

I am doing an SSRS report which needs to have a chart that looks like this
Excel chart
and so far on my ssrs report I have this
SSRS chart
how could I make my ssrs chart the same on my excel chart?
Thank you in advance
First thing is to put all your data together. You want to compare different years with the same date. You'll need to change your date field to just use the month and day:
=FORMAT(FIELDS!YourDateField.Value, "MM-dd")
For the axis label, use the Day of the Week:
=FORMAT(FIELDS!YourDateField.Value, "dw")
For your markers, go to Series Properties->Markers tab and set Marker Type to Auto to let SSRS assign a different type to each. If each year is a different series, you can assign them individually.
You can right-click on an Axis and go to properties to format them to look more like the Excel version.
There's a bit more differences but mostly formatting.

SSRS Cumulative Chart or S graph

How to create a Column chart with a cumulative line graph running over the columns. I have a dataset that returns the columns months,Qty1 and Qty2 . Now I need a column chart that compares these two quantities for every month in the column and a cumulative line for each Qty running over the column charts.
Thanks !
To get a line chart on top of your bar chart:
(Assuming you're using Visual Studio to design your report, these steps may be different in other environments):
Create your bar chart with the monthly bars that you want.
Click on the chart, then in the ChartData window that pops up, click the green "+" in the Values section, and add the field that contains the value you want to use in your line chart.
Once the value is added, right click it in the ChartData window, and choose "Change Chart Type" - change to a line chart.
Tweak your category, series, and axis settings until it renders in a manner you like.
NOTE: If your cumulative field isn't already a running aggregate, you're going to need to either add such a field to your dataset, or use an expression to work out the aggregation; the line chart won't do that for you.

Conditional background color in line charts

I am currently trying to convert our charts over from PQ Systems Chartrunner to SSRS 2008 charts. I am currently working with a line chart in SSRS 2008 and am trying to get the background color to change for the different sigmas. I am able to calculate and chart the standard deviation sigma lines, but I have not been able to change the color of the background between the lines.
What I have so far in SSRS:
In the Chartrunner chart, the Red/Yellow/Green zones:
Is there a way to do this in SSRS 2008?
Yes, you need to look at using Strip Lines in your report:
Highlight data by adding Strip Lines.
This is a decent link, too:
Axis Strip Lines in SSRS.
Because you can make these expression based, the bands can be determined at run time. It should work in your case as you always have a set number of bands, just different values when you run the report.
Here's a simple example, based off the following dataset:
Most important thing to note is that I've included the limit rows max, mid, and min in the dataset; these makes the Strip Lines easier to create.
Create a simple chart:
Select the Y Chart Axis and expand the StripLines collection:
You can see that I've set IntervalOffset and StripWidth, based on the fields in my dataset. End result:
So you can see it's possible to do this dynamically as required. It's a simplified example but the concept is readily transferable; you should be able to adapt it to your requirements.

SSRS- Bar Chart with single bar needs to display Percentage data

I have a requirement to show percentages in bar chart on a single bar using SSRS. For example, I want to show a employees by Age in a percentage in an SSRS report.
1.How many % employees between age 20 and 30?
2.How many % employees between age 30 and 40?
3.How many % employees between age 40 and 50?
All this on a chart which has only single bar chart in percentage?
Is it possible?
Thanks
Not sure I'm really understanding the question ("a chart which has only single bar chart in percentage"?), and I realise it's an old one, but I just came here with what I think is the same problem, and wanted to offer the solution I've come up with.
As far as I understand it, you have a bar chart which shows employees grouped by age. Age bracket along the X axis, number of employees (which I'll presume is calculated by something like "COUNT(Fields!EmployeeID.value)") up the Y axis. You want to see the percentage of employees which fall into each bracket.
What I've done is go into the chart properties, "Data" and select the "Values" entry for "Employees" (or similar). Then, hit Edit and add point labels, with a data label such as:
=COUNT(Fields!EmployeeID.value) / COUNT(Fields!EmployeeID.value, "Employees")
Where "Employees" is the name of your data set.
This is dividing the value of the current data group (from the "Values" tab) by same value but taken over the whole dataset.
Enter a format code of something like "#0%", et voila!
It achieved what I was after, and I hope it can help others with the same question.
You can easily do it in 2008, but I guess that's not what you wanted to hear.
So basically you want the concept of a pie-chart but as a single bar (known as a linear gauge in 2008)?
I don't think you can. This is about the limit of what you can do
http://msdn.microsoft.com/en-us/library/aa964128%28SQL.90%29.aspx
You could always buy dundas http://www.sql-server-performance.com/articles/reporting/Enhancing_Reporting_Services_with_Dundas_Reporting_Controls_p1.aspx
essentially this what MS have rolled into 2008