SSRS 2008: Line chart Y-Axis scale issue

Hi All,
After search of one week, finally decided to put my question in front of you all. Hope I will get some outcome from it.
Currently I am working on Line Chart. Following is the data which I need to bind to line chart.
    JobStartDate  JobStartTime   JobEndTime
    1/1/2015       01.00            02.30
    1/2/2015       01.02            03.20
    1/3/2015       01.01            03.40
    1/4/2015       01.05            02.00
    1/5/2015       22.03            23.30
    1/6/2015       22.05            23.40
So, In above scenario Line chart looks like:
      11.00 PM |                          /////////               
      10.00 PM |                          ..........        
      ........ |                                              
      04.00 AM |              /                         
      03.00 AM |    /  /                                     
      02.00 AM |  /                /                       
      01.00 AM |  .....................                                               
      12.00 AM |______________________________________________                                         
               1/1/15 1/2/15 1/3/15 1/4/15 1/5/15 1/6/15        
But it should be like :
      04.00 AM |                /                         
      03.00 AM |       /  /                                     
      02.00 AM |    /                /                       
      01.00 AM |     .....................                                               
      12.00 AM |
      11.00 PM |                                      
      10.00 PM |                                         
      09.00 PM |______________________________________________                                         
                    1/1/15 1/2/15 1/3/15 1/4/15 1/5/15 1/6/15    
(Sorry As cant upload the image. So, Tried to show as above.)
In above figure (.) is StartTime and (/) is EndTime.
You can see that I am facing the problem of Y-Axis scaling.
Hope everyone understand my problem. Please let me know more explanation.

Hi Prashant Khadatkar,
As per my understanding, you created a line chart, you added JobStartTime and JobEndTime to values area, and added JobStartDate to category groups. You want to display data of y axis from PM to AM. In order to improve the efficiency of troubleshooting, I
need to ask several questions:
What’s the data type of JobStartTime and JobEndTime?
Is the data stored in database the same as you provided?
What’s the state of report now? Please provide some more detailed information of the report. I would be appreciated it if you could provide sample data and screenshot of the report.
This may be a lot of information to ask for at one time. However, by collecting this information now, it will help us move more quickly toward a solution.
Thanks,
Wendy Fu
Wendy Fu
TechNet Community Support

Similar Messages

  • SSRS 2008 Line Chart Issue.

    We are facing an issue with SSRS 2008 charts. We have a report which shows dynamic number of series on a line chart. The data values may not exist for all series for
    the same x axis points. We expected SSRS to connect the missing points as average and have set the empty point option to average.
    The issue is that the
    1)     
    lines for interpolated points only appear when we set the color of empty point to say red and not when it is set to automatic. We need the interpolated line in the same auto
    colour as the original line as we will have markers for the data points from the DB and no markers for empty points.
    2)     
    The interpolated lines extend backwards in the series also – we expect it to only fill the gaps and not extend backward or forward.
    Are these issues known and is there a work around for these issues ? We got your name from one of the SSRS community discussions. Could you please connect us with
    the right person if you are not the right contact for this issue ?
    I also got following reply from one of the MS guy, it says
    Hi Akshay,
    The lines should not go backward.  I have seen this happen before and I’ll have to double-check on what that occurs. If you
    are using a Category Axis, make sure you set the sorting to use a Cdate() expression.  I think that might be it ,but I’ll have to double check.
    As far as using the auto-coloring on the series when you have empty points like this, I don’t think that’s possible.  It would require
    a DCR.  You may need to implement something along the lines described in this article  http://msdn.microsoft.com/en-us/library/aa964128(SQL.90).aspx.
    When I tried the suggestions I over come the auto colouring issue and also used CDATE () but lines still extend bacawords. Can anyone suggest what to do it this situation

    Hi AKshay_Jadhav,
    Firstly, I am not sure who is that MS guy you mentioned without the detail name. Based on my understanding to your issue, I think you could utilize the function
    IsNothing in reoprting services to have a check whether the value is null, if it is Null, you should give a average value to this point, if not leave it to be the original value. Of course, you could achieve this in T-SQL. To
    the color and marker, we could type in the expression in both feature to control their display effort.
    Hope this helps.
    Thanks,
    Challen Fu
    Challen Fu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • SSRS 2008 - hide chart lines based on parameter selected

    How to control visibility of chart lines based on Params selected by user?
    By default, my report display last 3 years worth of data (including current) with Month on the x axis and Counts on the y axis. I have two Boolean parameters:
    TwoYrs? T/F
    ThreeYrs? T/F
    if False is selected for TwoYr and ThreeYr parameters then I want to hide chart lines corresponding to last year and the year before.
    What I've tried: Created 3 Series groups with filters. eg. YearSeries1 to return only current year data and applying an expression to display it if params TwoYrs and ThreeYrs = False. and so on for YearSeries2 to return current + last
    years data if param TwoYrs is True and ThreeYrs = False.  But I don't see where to add expression to control the display of the individual series groups.  I am open to any way of doing this, but this seemed most logical.

    Hi Ok-Hee,
    In your Source Query just need to filter the series data based on the Parameters.
    I have written sample query below:-
    select * from
    select 1 monthnumber , 'Jan' MonthName, 2013 year,100 amount
    union
    select 1 monthnumber , 'Jan' MonthName, 2014 year ,200 amount
    union
    select 1 monthnumber , 'Jan' MonthName, 2015 year , 300 amount
    union
    select 2 monthnumber , 'Feb' MonthName, 2013 year, 300 amount
    union
    select 2 monthnumber , 'Feb' MonthName, 2014 year, 350 amount
    union
    select 2 monthnumber , 'Feb' MonthName, 2015 year,200 amount
    union
    select 3 monthnumber , 'Mar' MonthName, 2013 year, 380 amount
    union
    select 3 monthnumber , 'Mar' MonthName, 2014 year, 100 amount
    union
    select 3 monthnumber , 'Mar' MonthName, 2015 year, 500 amount
    )t
    where year in (
    select distinct FilterYear from
    select case when @TwoYrs=1 then year(getdate())-1 else year(getdate()) end FilterYear
    union
    select case when @TwoYrs=1 and @ThreeYrs =1 then year(getdate())-2 else year(getdate()) end FilterYear
    union
    select year(getdate()) FilterYear
    ) t
    I have created one post in my blog , you can check the result.
    https://msbitips.wordpress.com/2015/03/12/ssrs-2008-hide-chart-lines-based-on-parameter-selected/
    Thanks
    Prasad

  • What is the best way to create a SSRS 2005 Line Chart Report for a 12 month period?

    I'm looking for advice on how to create a SQL Server 2005 query and line chart report for SSRS 2005.
    I need to display the peak number of patients assigned to a medical practice each month for a 12 month period based on the end-user selecting a
    single month and year.
    I've previously created a report that displays all patients assigned to the practice for any single month but I’m looking for advice on how to
    how to produce a resultset that shows the peak number of patients each month for a 12 month period. I thought about creating a query that returns the peak count for each month (based on my previously created report which displays all patients assigned to the
    practice for any single month) and then use a UNION statement to join all 12 months but I'm sure that isn't the most efficient way to do this. The other challenge with this approach (twelve resultsets combined via a UNION) is that the end-user needs to be
    able to select any month and year for the parameter and the report needs to display the 12 month period based on the month selected (the month selected would be the last month of the 12 month period).
    For the report I’ve previously created that displays all patients assigned to the practice for any single month, the WHERE statement filters the
    resultset on two fields:
    Start Date - The date the patient was assigned to the practice. This field is never null or blank.
    End Date - The date the patient left the practice. This field can be null or blank as active patients assigned to the practice do not have an End Date. When the patient
    leaves the practice, the date the patient left is populated in this field.
    Using these two fields I can return all patients assigned to the practice during Nov 2012 by looking for patients that meet the following criteria:
    start date prior to 11/30/2012 (using the last day of the month selected ensures patients added mid-month would be included)
    AND
    end date is null or blank (indicates the patient is active) OR the end date is between 11/1/2012 -11/30/2012 (returns patients that leave during the month
    selected)
    Regarding the query I need to create for the report that displays the peak count each month for 12 months, I'm looking for advice on
    how to count patients for each month the patient is assigned to the practice if the patient has been assigned for several months (which applies to most patients). Examples are:
    John Doe has a start date of 6/01/2012 and an End Date of 10/07/2012
    Sally Doe has a start date of 8/4/2012 and no End Date (the patient is still active)
    Jimmy Doe has a  start of 7/3/2012 and an End Date of 9/2/2012
    Given these examples how would I include John Doe in the peak monthly count each month for May - October, Sally Doe in the peak monthly count for
    August - December and Jimmy Doe in the peak monthly count for July – Sept if the end-user running the report selected December 2012 as the parameter?
    Given the example above and the fact I'm creating a line chart I think the best way to create this report would be a resultset that looks like
    this:
    Patient Name              
    Months Assigned
    John Doe
    June 2012
    John Doe                     
    July012
    John Doe                     
    Aug 2012
    John Doe                     
    Sept 2012
    John Doe
    Oct 2012
    Sally Doe                     
    Aug 2012
    Sally Doe                     
    Sept 2012
    Sally Doe
    Oct 2012
    Sally Doe                     
    Nov 2012
    Sally Doe
    Dec 2012
    Jimmy Doe                  
    July 2012
    Jimmy Doe
    Aug 2012
    Jimmy Doe
    Sept 2012
    From the resultset above I could create another resultset that would count\group on month and year to return the peak count for each month:
    June 2012 - 1
    July 2012 – 2
    Aug 2012 - 3
    Sept 2012 - 3
    Oct 2012 - 2
    Nov 2012 - 1
    Dec 2012 - 1
    The resultset that displays the peak count for each month would be used to create the line chart (month would be the X axis and the count would
    be the y axis).
    Does this sound like the best approach?
    If so, any advice on how to create the resultset that lists each patient and each month they were assigned to the practice would be greatly appreciated.
    I do not have permissions to create SPs or Functions within the database but I can create temp tables.
    I know how to create the peak monthly count query (derived from the query that lists each patient and month assigned) as well as the line chart.
    Any advice or help is greatly appreciated.

    Thanks for the replies. I reviewed them shortly after they were submitted but I'm also working on other projects at the same time (hence the delayed reply).
    Building a time table and doing a cross join to my original resultset gave me the desired resultset of the months assigned between dates. What I can't figure out now is how to filter months I don't want. 
    Doing a cross  join between my original resultset that had two dates:
    08/27/2010
    10/24/2011
    and a calendar table that has 24 rows (each month for a two year period)
    my new resultset looks like this:
    I need to filter the rows in yellow as the months assigned for stage 3 that started on 8/27/2010 should stop when the patient was assigned to stage 4 on 10/24/2011.
    You'll notice that Jan - Sept 2011 isn't listed for Stage 4 assigned on 10/24/2011 as I included a filter in the WHERE clause that states
    the Months Assigned value must be greater than or equal to the date assigned value.
    Any advice would be appreciated.

  • Showing one data point on a line chart - X-axis label placed away from its actual position

    Hi Guys,
         In line chart, i used CircleItemRenderer to show single data point. It shows correctly if it is single data point. But the x-axis label placed away from its actual position. Right now it displayed left most position where the line chart starts. I need to move that label straight of that datapoint where it plotted.  Please see the screen shot attached with this post.
    In screen shot, x-axis label "Jan" displayed in left most position.
         And how can we show the datatip for single datapoint. At present, we can't able to see the datatips also with single datapoint.
         Can any body help me to fix those two issues.

    I figured out a way to customize a single datapoint in a line series.  The solution is at this link:
    http://www.flexdeveloper.eu/forums/flex-charting/customize-a-datapoint-in-a-line-series/

  • Line Charts - X-axis Labels as function of X-axis value

    Hi,
    1) Is there a way to put X-Axis labels in line chart as function of X-axis values ?
    For instance, X-axis values are in minutes and I need to show those as Hours.
    I'm having Hours as separate column as well, but when its selected as X-axis value column, the line graph is disturbed.
    2) Also, how to specify the length/range of X-axis ?
    For instance, in dataset if I've x-axis values from 0 to 5 hours but still want to show on graph the X-axis till 8 hours.
    Thanks for your help in advance.
    Regards,
    Sumit

    Hi Sumit,
    I have tried following things with proper datetime format may be help you.
    1> in your applet code you can add below param
    <PARAM NAME="XAxisDateFormat" VALUE="H">
    it will display your levels in hours for more details please refer Date and Time Format under query template in MII help.
    2>In your Query template under date range you can select duration and duration unit.
    for 8 hour span you can select Duration = 8 and in duration unit = H
    I have tested it for a tag query, may be i did not understand your issue properly but hope it helps you!!!
    Regards,
    Manoj Bilthare

  • SSRS 2008 Pie chart Total

    Hi ,
    I have pie chart with value 30 ,10, 10.
    My legend showing category wise values but I also want to  show Total value 50 in graph .Is it possible .
    Akhilesh Sahu Sr.Software Developer

    Hi Akhilesh,
    If I understand correctly, you want to show total value on the legend. As per my understanding, a legend item is connected to an individual series on the chart in Reporting Services. The chart automatically adds items into the legend base on the series that
    are generated from your data. So in your scenario, you want the totals show on the legend, then you need to customize the legend. While in SQL Server Reporting Services, the custom legend is not supported in chart control.
    To work around the issue, I suggest that we can delete the original legend and create a custom legend outside the chart area by using a tablix control. In this case, we can show the total on the tablix. For more details, please see the following thread:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cfb4fa19-b2ba-426a-804b-b5ea83d70d62/ssrs-2008-chart-legend-missing-customitems-property
    If you have any other question, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Problems getting Excelsius 2008 line chart to integrate into Crystal 2008

    I am playing around with integrating excelsius 2008 into Crystal 2008 and I can't and am getting rather frustrated.  I have a simple output of the following:
    Month     % 1st delivery - Actl
    1                   65.00
    2                   89.80
    3                   85.00
    4                   87.50
    5                  
    6                   91.90
    7                   94.80
    8
    I set up a line chart for 1 series, the series being the month and charting the delivery %.  Very simple.
    The way I have the xcelsius data manager set up is that my Row Headers go from A2:A13 and the data goes from B2:B13 and my chart is set up to ignore blank cells.  I then saved that as an SWF file and pulled that into Crystal.  I mapped the Month column into the row label and the % 1st delivery - Actl into the data value.  What I get is a chart with just a value of 1 across the bottom and values of 0, 1, 2, 3, 4, 5 and 6 going up the left.  Basically, nothing.
    Now, if I go back into the Flash Data Binding Expert on the Crystal report, click on my data column, click on the options button and change the summary from sum to count, it seems to work.  I get a chart that has 1 - 8 across the bottom and a value of 1 on the chart for months 1 - 4, 6 and 7.  Now, if I go into my database and add another row for month 6, the chart now shows 2 for month 6.
    So basically, I can't get anything charted on this xcelsius chart exept for a count of my data values.  Any ideas?  I'm stumped and frustrated and would great appreciate any assistance.  Thanks in advance.

    Hi Joe,
    This is a known issue for CR 2008 and was fixed for CR 2008 and MS SQL Server 2008. It was not fixed for SQL Server 2005 using the SQL 2008 native driver as we do not support the MS SQL 2005 native client.
    I never tested it against MS SQL 2005 because we did not support the native driver for 2005. It may work using the 2008 native client but you'll have to download Fix Pack 2.7 for CR 2008, requires Service Pack 2 first.
    The cause is CR does not recognize the new SQL server native dll so it reverts to a default SQL syntax for that function.
    If it does not work, not officially supported, we won't be able to fix it. Options are to upgrade MS SQL server or use ODBC or OLE DB to connect using the MDAC client for MS SQL server 2005.
    Thank you
    Don

  • CR in VS2005: Line Chart Date Axis

    I believe this is posted in correct place:
    I have line chart that is displaying daily data.  I want to display a month worth of data with each day's data point plotted. 
    The X axis is a system.datetime of the day for the data (actually group label); I have formatted this to mm/dd/yyyy in the format editor. My graph X axis labels are overwritting each other and I can not see how to 'scale' x axis labels to prevent this.
    In reviewing similar existing posts I see reference to options that do not appear to be available in Net VS2005 (recently updated CR and VS).
    Is this limitation of VS version of CR or am I doing something wrong ?
    Thank You, fd

    Thank You for your reply.  I belive that I may still be limited by version in visual studio 2005 (CR updated to 10.2.3600). 
    When I right click on any object in graph I am presented with list 'Format Object' (border of chart, keep object togeather, etc), 'Chart Expert' (very limited selections: show grid, title text, etc) and 'Chart Options' (again very limited selections: Template,General,Titles,Grid). In the grid section chart options there is indeed a "data axis", "numbers" formatting section that allows for formatting as date but not any alignment etc.
    I am not adverse to purchasing an added CR designer but would like to clearly understand advantages.  It is also of concern that this "date" x axis should be treated as an x-y plot rather than the dates being used simply as labels.

  • Apex Chart - Y Axis Scale customization

    Hi all,
    For a chart in Apex, is it possible to have the Y-Axis scale customized? (Let's say to present all values form 2 and 2 units for instance).
    Thank you,
    Ana-Maria

    Hi Prashant Khadatkar,
    As per my understanding, you created a line chart, you added JobStartTime and JobEndTime to values area, and added JobStartDate to category groups. You want to display data of y axis from PM to AM. In order to improve the efficiency of troubleshooting, I
    need to ask several questions:
    What’s the data type of JobStartTime and JobEndTime?
    Is the data stored in database the same as you provided?
    What’s the state of report now? Please provide some more detailed information of the report. I would be appreciated it if you could provide sample data and screenshot of the report.
    This may be a lot of information to ask for at one time. However, by collecting this information now, it will help us move more quickly toward a solution.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Y Axis scale issue

    Hi there,
    I've a dynamically driven (through XML) column chart. everything works just fine except the Y axis scale. depending on the data it changes the divisions and some times it looks very odd.
    I tried with Auto (Y) axis option then tried giving manual values by determining the MIN and MAX values through XL formulas, but no luck.
    Also tried setting the number of divisions to say 6 - unfortunately, it doesn't seem be listening to any of these settings.
    Is there any other better way to control this?
    please advice
    Malik

    Hi Prashant Khadatkar,
    As per my understanding, you created a line chart, you added JobStartTime and JobEndTime to values area, and added JobStartDate to category groups. You want to display data of y axis from PM to AM. In order to improve the efficiency of troubleshooting, I
    need to ask several questions:
    What’s the data type of JobStartTime and JobEndTime?
    Is the data stored in database the same as you provided?
    What’s the state of report now? Please provide some more detailed information of the report. I would be appreciated it if you could provide sample data and screenshot of the report.
    This may be a lot of information to ask for at one time. However, by collecting this information now, it will help us move more quickly toward a solution.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Line Chart X Axis Not Sorted Correctly

    I have created a line chart where the x axis is date closed and the y axis is number of days to close. This chart is placed within a group called priority.
    When the chart is created the close dates are not on the x axis in ascending order. I'm expecting it to be 10/1, 10/2, 10/3, etc. but instead I'm getting 10/6, 10/31, 10/28, etc. from left to right.
    I've got the Record Sort set to closed date ascending and if I place the records into the report they sort correctly. It's just the chart that sorts incorrectly.
    What am I missing here?

    Hi Jason,
      here is the steps you should follow in order ro set the sorting for barchart.
    1. go to chart expert
    2. click on data tab
    3. select the field in the selected list of report columns on which you have to sort, then the order button will be enabled
    4. click on the order button
    5 it will open new window by name "chart sort order", where you can set the sorting order(ascending order, descending order, specified order or the original order) for the selected report column.
    I hope this will help you..
    Regards
    Deepa

  • Line chart x-axis label overloaded with labels

    Hi,
    I have a Line chart filled by a large resultset (hundreds of rows). Each row contains a decimal value and a timestamp. The interval between timestamps is short so it is impossible to plot every single date/time in the x-axis label because there is no space.
    I would like to hide the the x-axis label for most rows and plot this label for each x rows. Something like this:
      18/12/2009 09:00            18/12/2009 10:00           18/12/2009 11:00            18/12/2009 12:00
            |---------------------------|---------------------------|---------------------------|
    In the previous x-axis example there are many timestamps between 18/12/2009 09:00 and 18/12/2009 10:00 but they are not plotted in the chart. It is possible to do something like this in MII charts?
    Thank you,
    Wilson Freitas
    Vetta Technologies

    Hi,
    I think Michael is right about the Ticks per label parameter. Looks like it is not working for me because the chart data binding is not behaving as expected.
    The chart rowset is composed by two fields: decimal and date time. The date time field is already converted to string. The rowset comes from a BLS transaction.
    I think this forum has no support for file upload so I will add links to the xMII workbench screenshots so you guys can see my chart/query configuration.
    This is the XACUTE Query used by the chart: http://www.vetta-group.com:8080/imgs/xacute_config.PNG
    This is the Line Chart configuration:
      - Chart area:http://www.vetta-group.com:8080/imgs/chart_area.PNG
      - Data mapping: http://www.vetta-group.com:8080/imgs/data_mapping.PNG
      - X-axis: http://www.vetta-group.com:8080/imgs/xaxis.PNG
      - Y-axis: http://www.vetta-group.com:8080/imgs/yaxis.PNG
      - Server scaling:http://www.vetta-group.com:8080/imgs/server_scaling.PNG
      - Data series:http://www.vetta-group.com:8080/imgs/data_series.PNG
    The chart row set is:
    <?xml version="1.0" encoding="UTF-8" ?>
    <Rowsets DateCreated="2010-02-02T20:50:08" EndDate="2010-02-02T20:50:07"
         StartDate="2010-02-02T19:50:07" Version="12.0.8 Build(24)">
         <Rowset>
              <Columns>
                   <Column Description="" MaxRange="1" MinRange="0" Name="TAG_TIMESTAMP"
                        SQLDataType="1" SourceColumn="TAG_TIMESTAMP" />
                   <Column Description="" MaxRange="1" MinRange="0" Name="TAG_VALUE"
                        SQLDataType="8" SourceColumn="TAG_VALUE" />
              </Columns>
              <Row>
                   <TAG_TIMESTAMP>01/12/2009 12:00:00</TAG_TIMESTAMP>
                   <TAG_VALUE>80.723414730584</TAG_VALUE>
              </Row>
              <Row>
                   <TAG_TIMESTAMP>01/12/2009 12:23:59</TAG_TIMESTAMP>
                   <TAG_VALUE>87.33149769706</TAG_VALUE>
              </Row>
              <Row>
                   <TAG_TIMESTAMP>02/12/2009 12:47:59</TAG_TIMESTAMP>
                   <TAG_VALUE>86.966843701221</TAG_VALUE>
              </Row>
              <Row>
                   <TAG_TIMESTAMP>02/12/2009 01:11:59</TAG_TIMESTAMP>
                   <TAG_VALUE>83.989991258174</TAG_VALUE>
              </Row>
         </Rowset>
    </Rowsets>
    When I run the chart I get this result: http://www.vetta-group.com:8080/imgs/chart1.PNG
    As you can see the chart has no X-Axis labels ans I need to add the date/time to the X-axis. If I add the field to "X-Axis label columns" the field values are ploted but the parameter "Ticks per label" is ignored and hundreds of labels are ploted together and is impossible to read them. I think the "Ticks per label" parameter only works for fields added to Labels columns (in data mapping). The problem I am facing is: when I add the date field (http://www.vetta-group.com:8080/imgs/data_mapping2.PNG) to Label columns I get an empty chart like this: http://www.vetta-group.com:8080/imgs/chart2.PNG
    What am I doing wrong?
    Thank you

  • Ssrs 2008 export to csv file display issue

    In a new SSRS 2008 report, I would like to know if there is a way to automatically expand the width of some of the rows when the data is exported to a CSV file so the data is displayed correctly. Here are examples that I am referring to:
    1. In one column where there is suppose to be a date that looks like 12/11/2014, the value of ########## is displayed. The value of 12/11/2014 is what is setup in the SSRS formatting option.
    2. In a number field that is suppose to look like 6039267049 the value that is displayed is 6E+09.
    Basically if I manually expand the width of the columns that I am referring to above, the data is displayed correctly. Thus can you tell me what I can do so that the data is disaplayed correctly in the CSV file and ther user does not need to manually expand
    the column to see the data?

    Hi wendy,
    After testing the issue in my local environment, I can reproduce it when use Excel to open the csv file. As per my understanding, there is no width when we export the report to csv, Excel is just using the default cell sizes when we open the csv. So when
    a date value is wider than the default cell size, it would be displayed as ##########. When a number value is wider than the default cell size, it would use Scientific format.
    As to the date value, we can use the expression =cstr(Fields!Date.Value) to replace the former one =Fields!Date.Value. In this way, the width of the value is narrower than the default cell size, so that the date value can be displayed correctly. For the
    number value, it already narrow down the width with Scientific format. Or we can Select all the cells in the csv file, then click Format| AutoFit Column Width to change all the cells width to fit its corresponding values in Excel level.
    Besides, we can try to export to excel instead of csv. Excel format can inherit the column width in the report. So in this way, we can directly change the width to fit the values in Reporting Services level.
    Hope this helps.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • SSRS 2008 Column Chart with Calculated Series (moving average) "formula error - there are not enough data points for the period" error

    I have a simple column chart grouping on 1 value on the category axis.  For simplicity's sake, we are plotting $ amounts grouping by Month on the category axis.  I right click on the data series and choose "Add calculated series...".  I choose moving average.  I want to move the average over at least 2 periods.
    When I run the report, I get the error "Formula error - there are not enough data points for the period".  The way the report is, I never have a guaranteed number of categories (there could be one or there could be 5).  When there is 2 or more, the chart renders fine, however, when there is only 1 value, instead of suppressing the moving average line, I get that error and the chart shows nothing.
    I don't think this is entirely acceptable for our end users.  At a minimum, I would think the moving average line would be suppressed instead of hiding the entire chart.  Does anyone know of any workarounds or do I have to enter another ms. connect bug/design consideration.
    Thank you,
    Dan

    I was having the same error while trying to plot a moving average across 7 days. The work around I found was rather simple.
    If you right click your report in the solution explorer and select "View Code" it will give you the underlying XML of the report. Find the entry for the value of your calculated series and enter a formula to dynamically create your periods.
    <ChartFormulaParameter Name="Period">
                      <Value>=IIf(Count(Fields!Calls.Value) >= 7 ,7, (Count(Fields!Calls.Value)))</Value>
    </ChartFormulaParameter>
    What I'm doing here is getting the row count of records returned in the chart. If the returned rows are greater than or equal to 7 (The amount of days I want the average) it will set the points to 7. If not, it will set the number to the amount of returned rows. So far this has worked great. I'm probably going to add more code to handle no records returned although in my case that shouldn't happen but, you never know.
    A side note:
    If you open the calculated series properties in the designer, you will notice the number of periods is set to "0". If you change this it will overwrite your custom formula in the XML.

Maybe you are looking for

  • ITunes was not properly installed error message

    Dear All, A friend of mine is getting the following error when opening iTunes. "Warning; iTunes was not properly installed if you wish to import or burn CDs. you need to reinstall iTunes" I have tried; 1. Uninstalling & reinstalling iTunes + Quicktim

  • What car charger can you use with ipad w/ retina display?

    what car charger can you us with ipad w/ retina display? 

  • Error when clicking on personalise button

    Hi Gurus, can you please suggest me and provide me solution on the below issue. when i am clicking on personalise button on header area in web-ui i am getting the following error. The *URL http://gotcrmdev01.wksc.local:8030/sap/bc/bsp/sap/crm_ui_fram

  • Adobe InDesign CS4 Stops Working - Windows 7 Ultimate

    I have a new computer with 8g of Ram running Windows 7 Ultimate, with an Intel i7 860 2.8 and everything has been working fine until an hour ago and now everytime I open InDesign and start working on a file, I get the error message that Windows has t

  • Enhacmnet and addition of new sub types

    Hi SAP gurus 1) I want to add one more subtype in the infotype 28 Internal mediacl services.The sub type will be named as Family history and and in all aspect it would be same as other sub type like 0001. In this sub type i want to add three Fields A