SSRS 2008 - Chart Legend Missing Customitems property

Hi,
I'm currently in the process of converting my SSRS 2005 reports originaly designed with Dundas charts, to a SSRS 2008 report and facing an
issue with the charts legend.
Dundas Charts allows me to create custom legend items on a row, cell collection basis.
After BIDS 2008 has converted the rdl-file everthing looks fine except the custom legend that I have created
in the SSRS 2005 report. The legend items did not appear in the reports preview.
I looked thru all the legend properties and read thru Formatting the Legend on a Chart (Report Builder
and SSRS) 
but still unable to locate the properties.
Anyone encounters this issue and likes to share a workaround / solution?
Thanks
Bodo

Hi Mike,
I tried your workaround and it displays properly, but problem is with displaying the Line color. I'm using reportviewer in .Net 2008 and Line control doesn't contain any expression tab. Please help me with setting line color. Attached is RDLC in XML format.
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<DataSources>
<DataSource Name="DummyDataSource">
<rd:DataSourceID>51fc0fcb-b3fc-4dd4-9397-dfba551fc9df</rd:DataSourceID>
<ConnectionProperties>
<DataProvider>SQL</DataProvider>
<ConnectString />
</ConnectionProperties>
</DataSource>
</DataSources>
<InteractiveHeight>11in</InteractiveHeight>
<rd:DrawGrid>true</rd:DrawGrid>
<InteractiveWidth>8.5in</InteractiveWidth>
<rd:SnapToGrid>true</rd:SnapToGrid>
<RightMargin>1in</RightMargin>
<LeftMargin>1in</LeftMargin>
<BottomMargin>1in</BottomMargin>
<rd:ReportID>5dd5ca48-0cc1-46e3-aa1a-c65d468d7238</rd:ReportID>
<DataSets>
<DataSet Name="Item">
<Fields>
<Field Name="Event_ID">
<DataField>Event_ID</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Category">
<DataField>Category</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Country">
<DataField>Country</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="OrderQtr">
<DataField>OrderQtr</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Count">
<DataField>Count</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
<Query>
<DataSourceName>DummyDataSource</DataSourceName>
<CommandText>SELECT * FROM Item</CommandText>
</Query>
</DataSet>
</DataSets>
<Width>10.625in</Width>
<Body>
<ReportItems>
<List Name="list1">
<ZIndex>3</ZIndex>
<Left>2.375in</Left>
<DataSetName>Item</DataSetName>
<ReportItems>
<Matrix Name="matrix1">
<MatrixColumns>
<MatrixColumn>
<Width>2.125in</Width>
</MatrixColumn>
</MatrixColumns>
<RowGroupings>
<RowGrouping>
<Width>0.375in</Width>
<DynamicRows>
<Grouping Name="matrix1_ColumnGroup1">
<GroupExpressions>
<GroupExpression />
</GroupExpressions>
</Grouping>
<ReportItems>
<Rectangle Name="rectangle2">
<ZIndex>1</ZIndex>
<ReportItems>
<Line Name="line2">
<Top>0.1in</Top>
<Width>0.285in</Width>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<BorderWidth>
<Default>8pt</Default>
</BorderWidth>
</Style>
<Left>0.06in</Left>
<Height>0in</Height>
</Line>
</ReportItems>
</Rectangle>
</ReportItems>
</DynamicRows>
</RowGrouping>
</RowGroupings>
<ColumnGroupings>
<ColumnGrouping>
<Height>0.05in</Height>
<DynamicColumns>
<Grouping Name="matrix1_ColumnGroup2">
<Label>=Fields!Category.Value</Label>
<GroupExpressions>
<GroupExpression>=Fields!Category.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<ReportItems>
<Textbox Name="textbox3">
<rd:DefaultName>textbox3</rd:DefaultName>
<Style>
<FontSize>9pt</FontSize>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>2</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</DynamicColumns>
</ColumnGrouping>
</ColumnGroupings>
<Corner>
<ReportItems>
<Textbox Name="textbox2">
<rd:DefaultName>textbox2</rd:DefaultName>
<Style>
<FontSize>9pt</FontSize>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>3</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</Corner>
<MatrixRows>
<MatrixRow>
<Height>0.19in</Height>
<MatrixCells>
<MatrixCell>
<ReportItems>
<Textbox Name="textbox5">
<rd:DefaultName>textbox5</rd:DefaultName>
<Style>
<FontSize>9pt</FontSize>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
<LineHeight>8pt</LineHeight>
</Style>
<CanGrow>true</CanGrow>
<Value>=Fields!Category.Value</Value>
</Textbox>
</ReportItems>
</MatrixCell>
</MatrixCells>
</MatrixRow>
</MatrixRows>
<Height>0.24in</Height>
</Matrix>
</ReportItems>
<Top>4.25in</Top>
<Width>2.5in</Width>
<Grouping Name="list1_Details_Group">
<GroupExpressions>
<GroupExpression>=Fields!Category.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<Height>0.25in</Height>
</List>
<Chart Name="chart2">
<Legend>
<Visible>true</Visible>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<BorderWidth>
<Default>0.5pt</Default>
</BorderWidth>
</Style>
<Position>RightCenter</Position>
</Legend>
<CategoryAxis>
<Axis>
<Title />
<MajorGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MajorGridLines>
<MinorGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MinorGridLines>
<MajorTickMarks>Outside</MajorTickMarks>
<Min>0</Min>
<Visible>true</Visible>
</Axis>
</CategoryAxis>
<ZIndex>2</ZIndex>
<DataSetName>Item</DataSetName>
<PlotArea>
<Style>
<BackgroundColor>LightGrey</BackgroundColor>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</PlotArea>
<ThreeDProperties>
<Enabled>true</Enabled>
<Rotation>30</Rotation>
<Inclination>30</Inclination>
<Shading>Simple</Shading>
<WallThickness>50</WallThickness>
</ThreeDProperties>
<PointWidth>0</PointWidth>
<SeriesGroupings>
<SeriesGrouping>
<StaticSeries>
<StaticMember>
<Label>Value1</Label>
</StaticMember>
</StaticSeries>
</SeriesGrouping>
</SeriesGroupings>
<Top>0.75in</Top>
<Subtype>Plain</Subtype>
<ValueAxis>
<Axis>
<Title />
<MajorGridLines>
<ShowGridLines>true</ShowGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MajorGridLines>
<MinorGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MinorGridLines>
<MajorTickMarks>Outside</MajorTickMarks>
<Min>0</Min>
<Margin>true</Margin>
<Visible>true</Visible>
<Scalar>true</Scalar>
</Axis>
</ValueAxis>
<Type>Pie</Type>
<Width>4.375in</Width>
<CategoryGroupings>
<CategoryGrouping>
<DynamicCategories>
<Grouping Name="chart2_CategoryGroup1">
<GroupExpressions>
<GroupExpression>=Fields!Country.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<Label>=Fields!Country.Value</Label>
</DynamicCategories>
</CategoryGrouping>
</CategoryGroupings>
<Palette>Default</Palette>
<ChartData>
<ChartSeries>
<DataPoints>
<DataPoint>
<DataValues>
<DataValue>
<Value>=Count(Fields!Country.Value)</Value>
</DataValue>
</DataValues>
<DataLabel>
<Value>=Count(Fields!Country.Value)*Sum(Fields!Country.Value)/100 + "%"</Value>
<Visible>true</Visible>
</DataLabel>
<Marker>
<Size>6pt</Size>
</Marker>
</DataPoint>
</DataPoints>
</ChartSeries>
</ChartData>
<Style>
<BackgroundColor>White</BackgroundColor>
</Style>
<Title>
<Caption>Open Incident by Country</Caption>
</Title>
<Height>3.125in</Height>
<Left>5.5in</Left>
</Chart>
<Chart Name="chart1">
<Legend>
<Visible>true</Visible>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
<BorderWidth>
<Default>0.5pt</Default>
</BorderWidth>
</Style>
<Position>RightCenter</Position>
</Legend>
<CategoryAxis>
<Axis>
<Title />
<MajorGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MajorGridLines>
<MinorGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MinorGridLines>
<MajorTickMarks>Outside</MajorTickMarks>
<Min>0</Min>
<Visible>true</Visible>
</Axis>
</CategoryAxis>
<ZIndex>1</ZIndex>
<DataSetName>Item</DataSetName>
<PlotArea>
<Style>
<BackgroundColor>LightGrey</BackgroundColor>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</PlotArea>
<ThreeDProperties>
<Enabled>true</Enabled>
<Rotation>30</Rotation>
<Inclination>30</Inclination>
<Shading>Simple</Shading>
<WallThickness>50</WallThickness>
</ThreeDProperties>
<PointWidth>0</PointWidth>
<SeriesGroupings>
<SeriesGrouping>
<StaticSeries>
<StaticMember>
<Label>Value1</Label>
</StaticMember>
</StaticSeries>
</SeriesGrouping>
</SeriesGroupings>
<Top>0.75in</Top>
<Subtype>Plain</Subtype>
<ValueAxis>
<Axis>
<Title />
<MajorGridLines>
<ShowGridLines>true</ShowGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MajorGridLines>
<MinorGridLines>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
</MinorGridLines>
<MajorTickMarks>Outside</MajorTickMarks>
<Min>0</Min>
<Margin>true</Margin>
<Visible>true</Visible>
<Scalar>true</Scalar>
</Axis>
</ValueAxis>
<Type>Pie</Type>
<Width>4.375in</Width>
<CategoryGroupings>
<CategoryGrouping>
<DynamicCategories>
<Grouping Name="chart1_CategoryGroup1">
<GroupExpressions>
<GroupExpression>=Fields!Category.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<Label>=Fields!Category.Value</Label>
</DynamicCategories>
</CategoryGrouping>
</CategoryGroupings>
<Palette>Default</Palette>
<ChartData>
<ChartSeries>
<DataPoints>
<DataPoint>
<DataValues>
<DataValue>
<Value>=Count(Fields!Category.Value)</Value>
</DataValue>
</DataValues>
<DataLabel>
<Value>=Count(Fields!Category.Value)</Value>
<Visible>true</Visible>
</DataLabel>
<Marker>
<Size>6pt</Size>
</Marker>
</DataPoint>
</DataPoints>
</ChartSeries>
</ChartData>
<Style>
<BackgroundColor>White</BackgroundColor>
</Style>
<Title>
<Caption>Open Incident by Category</Caption>
</Title>
<Height>3.125in</Height>
<Left>0.25in</Left>
</Chart>
<Textbox Name="textbox1">
<rd:DefaultName>textbox1</rd:DefaultName>
<Width>5in</Width>
<Style>
<Color>SteelBlue</Color>
<FontFamily>Tahoma</FontFamily>
<FontSize>20pt</FontSize>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<CanGrow>true</CanGrow>
<Height>0.36in</Height>
<Value>Report1</Value>
</Textbox>
</ReportItems>
<Height>5.625in</Height>
</Body>
<Language>en-US</Language>
<TopMargin>1in</TopMargin>
</Report>
Thanks,
Prem
Prem

Similar Messages

  • SSRS 2008 Chart legend colours not matching series colour.

    Hi,
    I believe this issue has been raised before. In SSRS 2005 & 2008 R2 though I am yet to find a solution other than a lengthy (messy) workaround.
    I have a chart based on the following data:
    Data field - Count(ChangeID)
    Category - Change_Categorisation (ie. Maintenance, new hardware etc)
    Series - Change_Timing (Emergency, expedited, normal etc)
    So i am using a stacked column chart to show the category along the X axis and stack the number of changes by their timing.
    In the Series colour setting i am using the expression:
    =iif(Fields!Change_Timing.Value="Emergency","Red",iif(Fields!Change_Timing.Value="Expedited","Orange","SteelBlue"))
    I have also tried
    =Switch(Fields!Change_Timing.Value="Emergency","Red",Fields!Change_Timing.Value="Expedited","Orange",Fields!Change_Timing.Value="Normal","SteelBlue")
    In all cases the legend only seems to refer to the first column in the chart to pick up colours.
    For example.
    The first column for December is Maintenance changes. There are 2 emergency & 1 normal. the only expedited change is in another column (new hardware).
    So the legend shows Emergency as RED, Normal as SteelBlue and Expedited as Steelblue.
    no matter what I do the legend only picks up the colours from the first category. so if the fist category only has 1 timing (eg- Normal). Every item in the legend has the Normal colour (Steelblue)
    Surely there is a fix for this that doesnt involve creating a table to the side of the graph which seems like a really basic way to deal with this issue. I may as well go back to the dark ages and use Excel for my reports or bloody draw them on paper.
    :) calming down now. Thanks for any input on this.

    Hi,
    I have reproduced the issue you posted as the following picture shows. The color of series group “AAA” in the legend is not as the same as the color as the third column.
    Based on my testing, it occurs when the chart meets the following conditions:
    1.   
    Use decision function to specify the Series colors.
    2.   
    The data value of the chart using the aggregate
    Count.
    3.   
    One series group is not contained in the first category column.
    It is my pleasure to help you reflect the issue to the proper department, and you can also submit it at
    https://connect.microsoft.com/SQLServer/ to get an official confirmation.
    If the issue is urgent to your business, it is recommended that you contact Microsoft Customer Support Services (CSS) via telephone so that a dedicated Support Professional can
    assist you in a more efficient manner. Please be advised that contacting phone support will be a charged call. However, it will be free if this is a product issue.
    To obtain the phone numbers for specific technology request please take a look at the web site listed below.
    http://support.microsoft.com/default.aspx?scid=fh;EN-US;PHONENUMBERS
    If you are outside the US please see
    http://support.microsoft.com for regional support phone numbers.
    Regards,
    Tony Chain
    Tony Chain [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.

  • Increase gap between bars in SSRS 2008 charts

    Hi,
    I'm converting from Crystal Reports 11 to SSRS 2008. In the reports I have bar charts. In CR11 I could set a gap interval between the bars so there would be some white space between each data element. How can I set a gap interval or create white space between each data bar in the charts. I have tried setting custom attributes on the bars and all it did was adjust the width of the bars.  Thanks.

    Hi sjmala,
    Based on your description, you want to increase a gap interval between the bars in the chart. Just as Jason Thomas said, you can change the value of PointWidth Property to increase or decrease the interval relatively. However if your chart also has Series Group not just Values and Column Groups, the different series chars at one scale on X-Axis will still be side by side without interval after changing the PointWidth Property, to work around this issue, the following detailed steps are for your reference:
    1. Right-click the whole chart, and then select the Series Properties.
    2. Switch to Border tab, you can set the line attributes of the border on the left side.
    3. Select "Default" in the Line style drop-down list and "White" in the Line color drop-down list,
    4. Set the value of Line width to '1pt'or '1.5pt'...
    5. Click OK, and preview the chart you will see 2*'1pt' or 2*'1.5pt' interval between the chars at the same scale on X-Axis.
    The following picture is produced using above steps:
    Thanks,
    Challen Foo

  • CR 2008 - Chart legend label issues when run on CR Server 2008

    Hello all,
    I have built a report in CR 2008 SP4. When I run the report locally everything is okay. In this report I have a chart which performs a count on {Command.Incident_ID}. The label for this count comes out as "Count of Incident_ID" in the legend. I then right click on this legend entry, edit the axis label and change it to something more appropriate.
    When I upload this report to CR Server 2008 v0 or CR Server 2008 V1 SP3 the report does not function properly. The chart label gets produced as Count of Command.Incident_ID instead of the label I specified. I believe this is due to the CRS attaching the Command. header to the Incident_ID. It no longer matches up with what I specified during design.
    Now I've gone back to older reports that I built and I can see that I did not have this issue before. I've recently upgraded to CR SP4 and Windows 7. I really feel like this is probably some option/setting on my designer side that I need to mirror on the server, however I have been unable to locate any information. Any help you can provide would be greatly appreciated!
    Thank you!

    After some testing the issue seems to be related to having SP4 installed.
    When I reverted back to SP0, or SP3 it worked fine, but under SP4 it seems to drop the table reference and thus not use the correct alias for the legend names.

  • How to make SSRS 2008 charts auto refresh with IE9

    I have some charts on an SSRS report.  The report is set to auto refresh every 5 seconds.  The charts refresh fine, displaying any data updates in the database --- as long as I use IE8 or Chrome (Chrome only displays the top 3 inches of
    the report, though, so I can't use it).  However, the charts refuse to auto refresh with IE9.  Windows 7 doesn't have IE8.  I cannot find a solution.  How can I get IE9 to refresh the charts?  (Plain data will refresh, but charts will
    not.)

    Hi TLWKY,
    From your description, you set the report to refresh automatically and view it through Internet Explorer 9, however, the charts data of the report don't refresh properly although the plain text data of report refresh without problems.
    The issue may be caused by a javascript error with resizing image in IE9. At this time, I suggest that you redesign the structure of your report by placing the charts in rectangles. If the charts are placed in tablix, please insert rectangles into the tablix
    first.
    As a workround, you can also downgrade IE9 to IE8. To do this, we can uninstall the installed update "Windows Internet Explorer 9" from contorl panel and Windows 7 will revert to IE8 automatically after rebooting. For more information, please see:
    Downgrade IE9 to IE8 windows 7
    Hope this helps.
    Regards,
    Mike Yin
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Mike Yin
    TechNet Community Support

  • 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

  • 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: how to show an empty chart with legend and x and y axis when no data available

    Hi,
    I am using SSRS 2008, I generated one chart in report designer with the data from Analysis Services (Cube).
    According to the dataset, there is no data returned when I run the query. so when I preview the chart, there is nothing but "no data available" showing on the chart.
    Here I want to know is there any possible to show an empty chart with legend and x and y axis?
    If it is possible, can you tell me how can I make it?
    Best Regards.
    Connie Zhu

    Hi,
    When there is no data, the chart displays the message "no data available". But using a little work around, you can display an empty chart.
    Please find the below steps given to achieve this
    1. Create a new dataset using TSQL to return 1 row of data having the category field and value field set to 0. Add the fields that are necessary for the category fields, series fields and datafields.
       A simple example would be like
       SELECT 'abc' as Category, 0 as Amount
    2. Add a new chart, set the category field to 'Category' and set the data field to Amount from above dataset created in step 1.
    3. In the new chart, right click the category axis and select axis properties, Click on the labels tab, check on
    'Hide axis labels' and then click ok
    4. Now set the Visibility property of both the charts depending on the rows returned from your main dataset
       a. click on your main chart and set its Hidden property to :
    =iif(CountRows("MainDataSet"),false,true) 
       b. click on the new blank chart added and set its Hidden proprety to (the opposite) :
    =iif(CountRows("MainDataSet"),true,false) 
       Note : Please change the dataset name in above expression "MainDataset" to the name of your chart's dataset
    5. Resize the new chart to the same size as your main chart, then position the new chart on the place as the main chart.
       (Note : You can set the position of new chart to be same by copying the location property from the main chart) 
    6. Now run and observe the result. When there are no rows returned by your main dataset, the new chart (the blank chart) should be displayed.
    I've added a working sample of this kind of a report
    here.
    Hope this helps. Please feel free to discuss if you have any questions.
    Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.
    BH

  • SSRS 2008 R2 - Missing Data when Exporting to Excel or CSV (Row Count is 500)

    Hey Folks,
    When exporting SSRS 2008 R2 report  to an csv or excel file not all the rows are being exported. Any suggestions on why this is occurring. The number of rows is less then 500 and it seems to be a pretty straight forward export. Any help is
    greatly appreciated.  Inherited this and not sure if this would be configuration issues or something else. It is happening on a number of reports.
    Thanks.

    Hi Humbly,
    According to your description, when you export report into CSV or Excel format, some rows are missing.
    In your scenario, since you are missing data “rows” in your exported file, we are guessing if you have any visibility setting like toggle which hide those records. It’s possible that you have set toggle or visibility in your report. After exporting
    Excel/CSV, some data might not appear properly. In SSRS 2008 R2, it has reported this kind of issue about data missing after exporting. However, those scenarios are not exactly same as your issue. It mostly turns out be conflict between data and “layout render”
    and related to DataElementOutput property. DataElementOutput property controls export behavior, it indicates which report item data should appear in Excel/CSV render. For more information, please refer to this article: Reporting Services:
    Why aren’t all my report columns exporting to CSV and/or XML?.
    As we tested in our environment(SSRS 2008 R2), no matter what we export into CSV or Excel, we get same results as in BIDS . So I would like to know your report design structure. If possible, please provide some screenshots about results in BIDS and Excel/CSV
    render extension results. It may help us find out the root cause of your issue. Thank you.
    Best regards,
    Qiuyun Yu

  • Pie chart legend showing digit "1" when we set "ignore blank cells"property

    All,
    We have pie chart in Xcelsius 2008 that shows the data with legend value and we have also set the ignore blank cells property to ignore the blank value from column. but once we set this property, it displays the digit "1" in the legend when there is no data.
    we are expecting that nothing should be displayed in pie chart legend when there is no data for the pie chart.
    Thanks,
    Sourabh

    hi Sourabh,
    I could replicate your scenario.
    Workaround is to create a duplicate of this chart. Go to properties of this new chart.
    Go to Appearance ->
    Uncheck
    - Legend
    - Mouse-over values
    - Data Labels
    for this chart.
    Write a logic in excel using 'IF' to verify if your data is empty.
    Use 'Dynamic Visibility' feature to display this chart only when your data is empty.
    Display your original chart if your data is not empty.
    Regards,
    Vamsee

  • 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

  • SSRS 2008 R2 Line Chart Issue

    Hi, 
    Problem:
    I have an issue of SSRS Line Chart extending backward and forward (same issue discussed in post - http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/3cebd5b2-bb15-4bd1-be16-0daadc613082/)
    when Empty point option Value is set Average 
    I tried sorting on Category Group as suggested by Sean Boon in the URL mentioned above. But, still the issue is not fixed. 
    I am using SSRS R2. 
    Thoughts ?

    Hi, 
    Problem:
    I have an issue of SSRS Line Chart extending backward and forward (same issue discussed in post - http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/3cebd5b2-bb15-4bd1-be16-0daadc613082/)
    when Empty point option Value is set Average 
    I tried sorting on Category Group as suggested by Sean Boon in the URL mentioned above. But, still the issue is not fixed. 
    I am using SSRS R2. 
    Thoughts ?
    I am running into the same issue again :( 

  • SSRS Hide one data value label in chart legend

    Is it possible  to hide one value in the legend? I've got a stacked bar chart, but there's one value that I don't want to display in the Legend. Is it possible to hide this particular color and label in the legend?
    Thanks,
    Chris

    Hi Chris,
    Yes. In Reporting Services 2005, you could add a filter to hide one value label in the chart legend. This can be done with the following instructions:
    In Report Designer, open the chart properties dialog box and go to Data tab.
    Double click the item in the Series groups to open the Grouping and Sorting Properties dialog box.
    Switch to the Filter tab. Add a filter using the following setting:
    Expression: =Fields!<FieldName>.value
    Operaiton: !=
    Value: =”value”
    If you have any further questions, please let me know.
    Thanks.
    ***Xiao Min Tan***Microsoft Online Community***

  • SSRS Column Chart Design Returning values in a format different from SSRS -SSAS Query Designer

    Hi All,
    I have an SSAS cube Measure Group with Multiple Measures that I am attempting to return on one SSRS report and reflect the 
    values using a ssrs column chart.
    My Measure Group (Patients).
    Measures:
    PatientsOnMeds
    PatientOnRelapse
    PatientsCounseld
    TotalNumberOfPatientsRegisterd
    NewlyRegisteredPatients
    HealthPersonelTrainef
    Demension:
    Time (Year) :filtered to 2012 & 2013
    In my SSRS query designer I have filtered the above Measures with Time Dimesion year 2012 & 2013
    and the data is returned as :
    Year |PatientsOnMeds|PatientOnRelapse|TotalNumberOfPatientsRegisterd|NewlyRegisteredPatients|
    2012 | 700          | 526            |  25                          | 456
    2013 | 245          | 245            |  15                          | 70
    Now the problem is when I return this data on the column Chart it's in messed up mesh
    On the chart Data:
    -Values :Measures
    -Series Group: Dimension
    The report values are returned in multiple columns for each value segmented by year i.e year 2012,Year 2013.
    I want a single column for each Measure (value) for each single year and The chart axis to reflect the measures(values) 
    instead of grouping values according to series group.
    instead the legend returns:
    -Year A -PatientsOnMeds
    -Year A -PatientOnRelapse
    -Year B -PatientsOnMeds
    -Year B -PatientOnRelapse
    I would like the legend to reflect on -Year A,Year B in color code that will be highlighted in the column values.
    Please point me in the right course if you can.Your insights are highly appreciated.Thank you in advance.

    Hi Charlie, 
    Thank you for your kind response. 
    In actual I want the legend to show:
    -2012
    -2013
    And the bottom axis to show:
    PatientsOnMeds
    PatientOnRelapse
    PatientsCounseld
    TotalNumberOfPatientsRegisterd
    NewlyRegisteredPatients
    HealthPersonelTrained
    Indicating in color code for Year 2012 and Year 2013.
    This the challenge that I am struggling with.I hope you understand my scenario.
    It aint easy.

  • Ssrs 2008 r2 set up a 'toggle' link

    In an SSRS 2008 r2 existing dashboard, I want to allow the user to click on a link and then a list of further links can be displayed
    for the user to pick from. Basically I want the sublinks not to be displayed until they link on the 'main' link is selected.
    Thus can you show me code, tell me, and/or point me to a link that will show me how to accomplish this goal?

    You can create main and  sublinks inside a container and make visbility of sublinks toggle based on main link report item. 
    see
    http://www.mssqltips.com/sqlservertip/1329/drill-down-techniques-in-ssrs-with-the-visibility-property/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Maybe you are looking for

  • Problem in obtaining collection of parameters onto my backing bean

    Hi All, I am working on a page 'browse.jsp' inside Alfresco CMS to implement a customization of mine wherin in the "details" view, inclusion of checkboxes besides the document names and their checking and submission will result in thier display in a

  • 2008 iMac needs upgrade, but to what?

    My trusty early 2008 24" iMac 8,1 (Intel Core 2 Duo, 3.06 GHz) started out rather dicey in terms of reliability (replaced the hard drive TWICE, replaced a dying fan, replaced the defective optical/CD-DVD drive, all under AppleCare, thankfully) but af

  • TIME MACHINE icon is not showing correctly

    Time machine icon is not showing the circle around the clock arms.......it´s only showing the little "sticks" no circle around it. Works fine, but it does not seem right

  • Self registration error in OIM-OID-OAM 11g

    Hi, We are using OIM,OID,OAM 11G,in clustering mode.We are facing a problem on self registration process. For every alternate self registration request,system is throwing an error.After the self register user request has got approveod,I have checked

  • Export playlist to External HD

    Is there any script or app that lets me do this? Basically i have 5 playlists containing songs with 1 star ratings all the way up to 5 star ratings, and now that I have to reinstall iTunes I want to have a "backup" of my ratings. So if I for some rea