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.

Similar Messages

  • 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

  • SSRS 2008 R2 Calendar Control not working and report not refreshing on pressing enter in Chrome.

    SSRS 2008 R2 Calendar Control not working and report not refreshing on pressing enter in Chrome.

    SSRS reports are always best viewed in IE and the report result what you see in IE always will not be same and consistent in thirdy party browswers.
    So consider using IE as workaround.
    Also please refer:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/2188de10-cff9-4e24-b14f-da5121f1c4a4/ssrs-calender-control-not-visible-in-chorme-on-server?forum=sqlreportingservices
    Workaround here:
    http://www.rajbandi.net/Fixing-SSRS-Report-Viewer-control-date-picker-in-Google-chrome/
    -Vaibhav Chaudhari

  • 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

  • Icon + Master Template colours not matching

    Hello:
    I created an icon image using photoshop to match the colour of our SharePoint site but when I upload it to the site it shows up a different colour. I have tried saving it 'for web' but still looks different. See below. Does anyone know how to fix this? Please
    note: I am a SharePoint 'newbie'.
    Thanks!
    Bri

    Saving it for web only changes the format, not the colour.
    Looking at the page, you have two different colours
    Image shade of red: #D30606
    Page shade of red: #B4100F
    Try amending the banner.jpg with #B4100F and uploading again.  Do a refresh (not from cache) and see how it works.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Ssrs 2008 r2 date parameter not working all the time

    In an SSRS 2008 r2 report, I am not getting some records selected when I run the report in the ssrs 2008 r2 report.
    However when I run the sql in ssis manager, the records are selected. Thus I am trying to determine why some of the records are not selected whe running the ssrs report.
    In the table called 'transactionfile', the fields that I am trying to determine where there is a problem is the following:
    SchoolNumber (varchar(50),null), and
    TransactionPaymentDate (varchar(50),null).
    Examples of data are SchoolNumber = '121' and TransactionPaymentDate = '04162014'
    In the SSRS report, the parameter value for @SchoolNumber is text and the parameter value for @EndDate and @StartDate is date/time.
    The following is the query I am having a problem with:
    SELECT  s.SchoolNumber,      
          CONVERT(smalldatetime,substring(TransactionPaymentDate,5,4) + '-' + substring      (TransactionPaymentDate,1,2)+ '-' +
    substring(TransactionPaymentDate,3,2)) as        TransactionPaymentDate
     from [eF].[dbo].[transactionfile] f
           INNER JOIN
        [eF].[dbo].schools] s      
        on rtrim(ltrim(s.SchoolNumber)) =rtrim(ltrim(f.SchoolNumber))
     where  rtrim(ltrim(s.SchoolNumber)) = rtrim(ltrim(@SchoolNumber))
          AND
          Cast(Right(TransactionPaymentDate,4)+Left(TransactionPaymentDate,4)  as Date)
            >= @StartDate
         AND
       Cast(Right(TransactionPaymentDate,4)+Left(TransactionPaymentDate,4)  as Date) <= @EndDate
    Thus could you suggerst what could be wrong when selecting some records by date?

    First check whether transaction payment date has 8 digit or not. In yes then try the below query,
    SELECT s.SchoolNumber,
    CONVERT(smalldatetime,substring(TransactionPaymentDate,5,4) + '-' + substring(TransactionPaymentDate,1,2)+ '-' +
    substring(TransactionPaymentDate,3,2)) as TransactionPaymentDate
    from [eF].[dbo].[transactionfile] f
    INNER JOIN [eF].[dbo].schools] s
    on rtrim(ltrim(s.SchoolNumber)) =rtrim(ltrim(f.SchoolNumber))
    where rtrim(ltrim(s.SchoolNumber)) = rtrim(ltrim(@SchoolNumber))
    AND
    cast(substring(TransactionPaymentDate,5,4) + '/' +
    substring(TransactionPaymentDate,1,2)+ '/' +
    substring(TransactionPaymentDate,3,2) as date) between @StartDate AND @EndDate
    Regards, RSingh

  • Crystal Report 2008 results "Password did not match error" in SQL Server Log

    Hi,
    I am trying to develop some crystal reports using Crystal Report 2008 SP4 to connect to SQL server 2008 through RDO (ODBC). My problem is that anytime Crystal Report is trying to establish a connection with SQL Server, first it tries to connect with the wrong password and results the following error message in SQL Server log:
    Login failed for user 'peyman'. Reason: Password did not match that for the login provided. [CLIENT: 192.168.2.198]
    The login name 'peyman' is the right one as I have quoted the same in setting up ODBC System DSN using "SQL Server Native Client 10". But somehow Crystal Report is taking its chance and trying to connect before prompting me for the password. After this error logged to SQL server side, I can see Crystal Report pops up the prompt to enter DSN password. After supplying password to this prompt, Crystal Report works fine and pulls the data and renders the report without having any more incorrect password error logged to SQL Server.
    The attached file shows the step I am taking to regenerate the issue. I need this to be fixed as anytime uses any of these reports and tries to render it with crystal runtime engine the same error message raises in SQL Server side and logged in the log file.
    Thanks,

    Hi Peyman,
    This is the way it should work, In CR designer when you open the report it does nothing. As soon as you hit the Refresh button then CR tries to use the connection saved with the report. It assumes what is saved with the report is a valid server and connection info. CR simply tries to verify the server is still active.
    If you don't want it to fail in CRD then before opening any report Click the File, Log on Database option and connect. Now when refreshing reports it won't log the failed.
    In the SDK it does the same thing, it assumes the Server info is the same and does try to connect to verify the Server does exist. It only takes a few milli-seconds to do this
    To stop this from happening set the log on info first then it won't log the attempt to connect, it's checking to see if Trusted is allowed.
    TIMESTAMP    THREAD_ID    FILENAME    LINE_NUMBER    LOGGED_DATA    LEVEL
    2014-6-2 8:30:11.439    57320    .\QESession.cpp    444    Set Product View Locale: 4105    20
    2014-6-2 8:30:11.439    57320    .\QESession.cpp    478    Set Preferred View Locale: 4105    20
    2014-6-2 8:30:11.439    57320    .\QESession.cpp    500    Set Process Locale: 4105    20
    2014-6-2 8:30:11.440    57320    .\qecommon.cpp    117    This property is currently in a read-only state and cannot be modified. File Name: ".\QEProperty.cpp". Line: 217    1
    2014-6-2 8:30:11.967    57208    .\QESession.cpp    444    Set Product View Locale: 4105    20
    2014-6-2 8:30:11.967    57208    .\QESession.cpp    478    Set Preferred View Locale: 4105    20
    2014-6-2 8:30:11.967    57208    .\QESession.cpp    500    Set Process Locale: 4105    20
    2014-6-2 8:30:11.968    57208    .\qecommon.cpp    117    This property is currently in a read-only state and cannot be modified. File Name: ".\QEProperty.cpp". Line: 217    1
    2014-6-2 8:30:11.999    57208    .\QESession.cpp    444    Set Product View Locale: 1033    20
    2014-6-2 8:30:12.4    57320    .\qecommon.cpp    117    This value is write-only. File Name: ".\QEProperty.cpp". Line: 145    1
    2014-6-2 8:30:56.278    57208    .\odbcapi.cpp    301    Beginning COdbcapi::DriverConnect    20
    2014-6-2 8:30:56.342    57208    .\odbcapi.cpp    335    Ending COdbcapi::DriverConnect    20
    2014-6-2 8:30:56.342    57208    .\connect.cpp    2170    SQLDriverConnect succeeded: DSN = 192.168.13.172, User ID = sa, Password = ********    10
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 854    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 854    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 854    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 916    1
    2014-6-2 8:30:56.348    57208    .\QERowset.cpp    1184    Beginning CQERowset::readFirstRecord    20
    2014-6-2 8:30:56.348    57208    .\QERowset.cpp    2149    Beginning CQERowset::restart    20
    2014-6-2 8:30:56.348    57208    .\QERowset.cpp    2370    Beginning CQERowset::execute    20
    2014-6-2 8:30:56.353    57208    .\DbQueryBuilder.cpp    514    Query Targets: sqlncli10, ODBC3SQLServer    10
    2014-6-2 8:30:56.353    57208    .\DbQueryBuilder.cpp    525    Successfully built query:    SELECT "Orders"."Customer ID", "Orders"."Employee ID"   FROM   "xtreme"."dbo"."Orders" "Orders"    10
    2014-6-2 8:30:56.353    57208    .\odbcapi.cpp    875    Beginning COdbcapi::ExecDirect    20
    2014-6-2 8:30:56.354    57208    .\odbcapi.cpp    884    Finishing COdbcapi::ExecDirect    20
    2014-6-2 8:30:56.354    57208    .\rowset.cpp    220    SQLExecDirect succeeded:  SELECT "Orders"."Customer ID", "Orders"."Employee ID" FROM   "xtreme"."dbo"."Orders" "Orders"    10
    2014-6-2 8:30:56.354    57208    .\QERowset.cpp    2814    bindToField succeeded: Orders.Customer ID is using client buffer    10
    2014-6-2 8:30:56.354    57208    .\QERowset.cpp    2814    bindToField succeeded: Orders.Employee ID is using client buffer    10
    Notice it doesn't try to connect first if I set the log on info first using code.
    So nothing we can do to stop SQL server from logging this info. Check with the DBA, possibly they can "filter" out the application attempts to connect or change your work flow in the app.
    If you have a Preview Button to view the report then simply add your Database log on info prompt there if Connectioninfo.Trusted is not true:
    mainSecureDB = rpt.Database.Tables[tableIndex].LogOnInfo.ConnectionInfo.IntegratedSecurity;
    if mainSecureDB = false then prompt the user for log on info and set accordingly, if it is true the it should not fail when it connects.
    This is simply a matter of changing your App work flow...
    Thanks
    Don

  • Chart Legend Edits not holding - CR XI R2

    We are making a report with multiple sub reports. Many of the sub reports are charts (Pie, stacked bar & line). The default legend labels are "Sum of [table or query name].[field name]." When we preview, then edit the legend labels to something more user friendly and save, the edits don't stick. As long as the report is open it looks OK, as soon as the report is closed and reopened it reverts back to the default legend label.
    What can be done to correct this behavior so the legend labels once edited will hold the value assigned?
    FYI
    The main report is simply a shell to hold the sub reports with conditionals for each section/sub report to allow for that sub report to be shown or not. There are no links between the sub reports or the sub reports and the main report. There are approximately 100 sub reports and about 1/3 of them are charts.

    Hi Steve,
    Preferably the solution would be to edit the Legend from the Design window.
    The other workaround is just delete the auto generated legend and manually creates legends.
    The charts used in Group Headers uses the summaries, which are evaluated while previewing the report and are referred to as u201CWhileprintingrecordsu201D stage and happens in Pass #2. Hence, the modifications that are done to the chart labels are not retained when you preview the report after closing the report. When you save the data with report, the modification are retained because they are not evaluated again and uses the existing data. You can observe this by closing the preview and then if you preview it again, you will not get the modified axis label as they are evaluated freshly.
    In case of charts which are placed in Report Header, these are evaluated in Pass #1.
    For more information on this, refer the document cr9_evaluationtimes.pdf
    OR search for multi-pass reporting in Crystal Reports Online Help.
    To create manual legends, follow the below steps:
    Step 1: Open the report.
    Step 2: Select u2018Boxu2019 from Insert menu and draw a small box near Chart
    Step 3: Select u2018Text Objectu2019 from Insert menu and insert it near the small box inserted in step 2 and enter the required label text in it.
    Step3: Right click on the box and select u2018Format Boxu2019 option, check u2018Fillu2019 checkbox and select the required color.
    Step 4: Repeat step 2,3 to have mores manual legend labels.
    Step 5: Preview the report.
    Hope the above helps.
    Regards,
    Alpana

  • Monitor and printer colours not matching!

    Hi, when I print, the colours do not match my monitor! Using CS6.

    There's no easy answers here, you have to read up on color mangementnt, calibration and all that stuff. Start by reseting any color tweaks to factory defaults on your monitor and printer. Beyond that it's a topic peopel write books about and nobody can answer this in two simple sentences. Scour the print-centric forums for Illustrator, Photoshop and InDesign for some posts from the past that offer basic guidance and research the topic on a more generic level with a web search.
    Mylenium

  • IWork Numbers chart legend does not appear

    Anyone have any idea what I'm doing wrong? I've made a chart from a table that has headers, checked the boxes to show the title and the legend and the chart title appears but the legend is not there. It doesn't matter if I resize the table, switch between normal and print views, check and uncheck legend, make sure all text is black, ...
    I don't know why it doesn't appear or is invisible.
    I'd appreciate any help you can give.
    Thanks!
    Jill

    Jerry, I hadn't moved the chart. I've recreated one and the legend just never shows up. I've tried resizing the charts, moving the charts apart and away from the tables with data, resizing the chart area, selecting all text and making the color black, reducing the page size to 50% to see if the legends were lurking somewhere unexpected, and I can't find the legends or make them visible.
    Correct that: I just went back to the spreadsheet after reducing it to 50% and started editing a table and the legend for one chart (not connected to the table) appeared. It's still missing for another chart created from the same data set and two other charts on the same page.
    I just tried creating a new chart in a new page and there's no legend. The default is set up not to have a legend but when I click "Show legend", it doesn't appear. I'm flummoxed.

  • Taskbar / Window Colour Not Matching

    When personalising Windows 10 the colour of the Windows and the Taskbar are not matching up as intended. I have the colour set to a light blue however the task bar is a dark blue.
    I'm unsure if this is my doing of a bug in windows but i cannot seem to find a way to change this

    Hi,
    Would you please provide a screenshot for this phenomenon? I made a test in our Testing environment, Windows 10 Technical Preview 9926, but doesn't find any abnormal.  Here is the results:
    Roger Lu
    TechNet Community Support

  • Background colour not matching jpg

    Please help if you can? My website has the background colour
    set as d6d3cd, and I have a JPG placed in the page with the same
    exact colour (it's an object on top of the colour). The problem is
    when I load the page in a browser there is a slight colour shift
    between the HTML colour, and the JPG colour. I can't use
    transparent GIFs 'cause it's a photo. Can anyone tell me how to get
    the colours to match exactly?

    You will never be able to exactly match an HTML color with a
    JPG color due
    to the JPG algorithm and the way it compresses image data.
    Your best bet
    would be to use a small solid color swatch from the JPG
    itself as a tiling
    background image.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "rachelblue" <[email protected]> wrote in
    message
    news:g2so7o$qgd$[email protected]..
    > Please help if you can? My website has the background
    colour set as
    > d6d3cd, and
    > I have a JPG placed in the page with the same exact
    colour (it's an object
    > on
    > top of the colour). The problem is when I load the page
    in a browser there
    > is a
    > slight colour shift between the HTML colour, and the JPG
    colour. I can't
    > use
    > transparent GIFs 'cause it's a photo. Can anyone tell me
    how to get the
    > colours
    > to match exactly?
    >

  • 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 R2 report does not print the page header for a html content displaying on multiple pages

    Hi
    I need to display the html content from the database. The html content are quite long and can have content of 3-5 pages. Issue I  am facing is f the record has html content of 3-5 pages, then it does not print the page header (which is a separate tablix) on
    second page onwards.
    Nikesh Shah
    Nikesh Shah

    Hi Nikesh,
    According to your description, I’m not sure the meaning of Page header in your scenario. In Reporting Services, a page header that run along the top of each page, respectively. Headers can contain static text, images, lines, rectangles, borders, background
    color, background images, and expressions. But we couldn’t add tablix in the page header.
    If you are saying report header, a report header consists of the report items that are placed at the top of the report body on the report design surface. They appear only once as the first content in the report. So it cannot repeat in other pages.
    If you are saying tablix header, freezing column headers are different in table and matrix. For more details, please refer to the following thread:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c8ddc1af-1bdf-4e72-8aab-0353c7cc848a/ssrs-report-freezing-row-and-column-while-scrolling-issue?forum=sqlreportingservices
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for

  • How to change field labels in CRM without changing original data structure

    Hello, I wish I could change the label of the input-type fields that are visibile in the CRM Account search page. The only way I have found so far is: go to the structure CRMT_BSP_SEAREQ_ACCOUNT and change the short description of the component. This

  • "checking file systems failed", remount results in booting again

    The other day my system totally hung (doing something with eclipse & grails). After waiting a while, I rebooted. Of course filesystems wasn't unmounted cleanly so during boot I got the message from the subject. Besides that the instruction to mount r

  • Html, css, images import to indesign

    Hi, i have one html file with a css file and medias (images) i need convert this file to InDesign file. How can i do it ? Please help. Thank you.

  • Collaborating with Editors question

    Hi, I did a complete book layout in InDesign. The publisher now says he is not happy with the editing (my side of things -- the design work -- is fine) and he wants the entire book to go through another round of editing. The book has already been thr

  • Iphone 4 restored itself

    I need help ! My iPhone restored itself without warning, and all my contacts, pictures, movies and so on dissapeared! How can that happen? It was not even connected to my computer or iTunes.