Solved

How do I Change Labels on a Chart Axis to Show Individual Months Only

Posted on 2013-05-14
7
2,010 Views
Last Modified: 2013-05-20
I have created a series of charts in Report Builder 3.0 showing disk space usage over time.  The charts have the date along the x axis and at the moment the labels are showing every second day with the month and year.  These charts are potentially infinitely expandable so I'd like to have one label per month just showing the discrete month and year if possible. Can anybody help please?
0
Comment
Question by:BWFC
  • 4
  • 3
7 Comments
 
LVL 48

Accepted Solution

by:
PortletPaul earned 500 total points
ID: 39167234
may I suggest this url?
http://msdn.microsoft.com/en-us/library/dd239363(v=sql.105).aspx

You seem to have default major intervals (with labels on each) so you need to look at the major/minor tick mark intervals and then label only the major ones

at least that what I think you are after.
0
 

Author Closing Comment

by:BWFC
ID: 39180763
I'd already looked at altering the major and minor tick marks and I'd found that URL using Google.

I'm not sure I explained what I wanted to do particularly clearly because  after chatting with the rest of the BI team and further Google searches I don't think want I want to do is actually possible with the data I have.

Thanks for your help.
0
 
LVL 48

Expert Comment

by:PortletPaul
ID: 39180816
Thank you for the points, although seems undeserved.

Most graphic packages have their own "tricks", and a date range on the X axis can be "tricky" - however it will boil down to the tick marks in some way shape or form.

How to: Format Axis Labels as Dates or Currencies (Report Builder 3.0 and SSRS)
When you show properly formatted DateTime values on an axis, a chart will automatically display these values as days. To specify a date/time interval for the x-axis, such as an interval of months or an interval of hours, you must format the axis labels and set the type of axis interval to a valid date or time interval.
I think the secret is within the one immediately above, which is confirmed by the next reference.

How to: Specify an Axis Interval (Report Builder 3.0 and SSRS)
This topic is not applicable for date or time values on the category axis. Be default, DateTime values appear as days. To specify a different date or time interval, such as a month or time interval, you must format the axis labels and set the axis to display instances of DateTime types instead of String types. In addition, you must set the Interval property. For more information, see How to: Format Axis Labels as Dates or Currencies (Report Builder 3.0 and SSRS).
{+ edit for emphasis on "interval"}
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 

Author Comment

by:BWFC
ID: 39180888
Screenshot of property settings Screenshot of property settings
Hi, I think I've got all the settings set to show months but it's still not giving me the single label per month.  The Number format I'm using is *January 2000.  Are the settings on the screenshots correct?  The expression on minimum axis range makes no difference whether it is there or not.
0
 
LVL 48

Expert Comment

by:PortletPaul
ID: 39180930
You have not "set" the interval, but allowed "auto" (in both)

You will only know for sure by "playing" with these, but I think you need to actually specify the interval (in both most likely) - can you try it?
0
 

Author Comment

by:BWFC
ID: 39180964
I've just had that realisation myself!  A lot of the internet searches came back saying "the Interval will show this" so I thought when I could only see 'Auto' as an option it was something to do with my version of Report Builder or my data (I'm very new to SQL and BI) .  I think I'm going to need something involving datediff and/or datepart to get the discrete months to show as labels.
0
 
LVL 48

Expert Comment

by:PortletPaul
ID: 39181159
maybe a new question - with your existing query? and a mock-up of your expected outcome?
a fresh start might help
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help with SQL - TOP 10 by date and by group 13 34
Determine log file requirements 7 35
user defined date datatype in SQL Server- can it be overdone.. 6 25
SQL Exceptions 3 40
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now