Login   Register 
Receive news via our XML/RSS feed
Home | Book | Contents | Preview | Articles | Tools | Newsletters | Premium | Ask | About

Home

Book

Contents

Preview

Articles

Tools

Newsletters

Premium

Ask

About

Most Popular Articles
  • Using Secure Sockets Layer (SSL) for SQL Server 2000 Reporting Services
    Creating an SSL Certificate to ensure your confidential reports remain confidential


  •  
    Boost Data Ltd.
     
     
    SQL Reporting Services - Answers to your questions
     
    Author Thread: How can I get a static X Axis in SSRS
    MaxStein

    How can I get a static X Axis in SSRS
    Posted: Sunday, February 14, 2010 9:56 AM (GST)
    I've got a pretty simple need for a graph, or at least I thought it was. We have a number of time based products and I'd like to have a chart that goes: <1 Hour 45 Mins 30 mins 15min OnTime But not all products have files arriving in every timeframe, so may appear as: 45mins 15mins As you can imaging this makes reporting for management impossible. I have tried two methods: 1) Nested select where I set each of the required fields and does a count, therefore every result shows all five values, but I cannot figure out how so make a chart work from these values 2) Using case - this was I can do a create a timeval field with the values "! Hour", "45 ins" etc etc, but that is where I end up with some of these values not appearing, so don't get the full chart. Any ideas as I've been going round in circles for days now!! Oh, we're using SQL 2005.
     

    Comments:  

    Author Thread:
    William Vaughn
    How can I get a static X Axis in SSRS
    Posted: Sunday, February 14, 2010 4:17 PM (GST)
    I think I would approach this with a VB function that takes the time and "catagorizes" it. I would write a CASE statement that setup the ranges of acceptable values for each value and returns a correct chart catagory.
    MaxStein
    How can I get a static X Axis in SSRS
    Posted: Sunday, February 14, 2010 4:23 PM (GST)
    Yeah we tried that and it works perfectly to a point. If all files arrive in each of the slots its fine, but if all arrive within the last 15 minutes say it doesn't show any of the other time-scales (>1hr, 1hr-45min, 45mins - 30mins etc), so the chart ends up wrong.
    William Vaughn
    How can I get a static X Axis in SSRS
    Posted: Monday, February 15, 2010 10:46 PM (GST)
    Perhaps you need to show the data using a Gauge instead of a chart...
    MaxStein
    How can I get a static X Axis in SSRS
    Posted: Tuesday, February 16, 2010 7:12 PM (GST)
    Sadly stuck with a line chart However one thing that may work would be to show the files as they arrive over a timeframe - to do this I'd need the time on the Y-Axis - is this possible?

     
     
     
     
     
    Home | Book | Contents | Preview | Articles | Tools | Newsletters | Premium | Ask | About