Charting the Unknown – Step 5 in the Stairway to Reporting Services

  • Comments posted to this topic are about the item Charting the Unknown – Step 5 in the Stairway to Reporting Services

  • Jessica,

    Thanks for the nice & lucid article!

    We are facing a problem while developing a SSRS 2008 report. We have to generate a scatter chart with linear regression trendline (LRT) to imitate a business critical Excel report.

    In Excel, the scatter chart with LRT can be created quickly with a click, but in SSRS 2008 the scatter chart does not seem have the LRT option.

    Though I understand it was available in Dundas chart earlier (SSRS 2k5), since Dundas have provided a lot of features to SSRS 2k8, I'm not sure how we can get this chart created in SSRS 2008.

    Any tips?

  • Nice one .....

  • O.K. Am I missing something? Where is Step 4?

    (Oops. Found it!)

  • FYI, I found out (painfully) yesterday that the case for the embedded mapping values for the US state by county maps is proper case. So the state abbreviations are uppercase (which is common) but the county names are proper case (first letter being capitalized, rest lowercase). This threw a wrench into the works for me as our DW was loaded with upper case county names. This was because the source data was uppercase for all address fields and for reporting, no one really cared. The mapping of the spatial values to the analytical values by county did not return anything due to the case differences.

    To fix this, I had two options:

    1. Update the county name in each RDL file located in <drive letter>\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\MapGallery\USA\States_by_County\<State Name>.rdl

    2. Add a new county column to my dimension table that was loaded with a proper case function so I could have both versions of the county name stored and available.

    I went with option 2. The bad thing is that this is an 18M row dimension so it took awhile to compute initially. I was also not fond of having to store another column. However, I was even less fond of the idea of manually changing thousands of county names in RDL files.

    I haven't checked yet but I would assume that country names are stored as case sensitive too. I imagine ESRI files are typically built this way too.

    If anyone out there has an easier fix for this problem, I would love to know it. From what I can tell, there is no way to change the case sensitivity in the mapping portion of SSRS.

  • Hi indranil.cal,

    I'm not aware of any way to create an LRT directly in Reporting Services. Your best bet is to create that information in your dataset.

    Wish I could help further!

    Jessica

  • Figure 2 shows every other territory name. How can we display every name?

  • Hi -

    Thanks for your response!

    We thought so too, so we looked up some regression formula esp. at http://www.easycalculation.com/statistics/learn-regression.php.

    Then we extrapolated which column values are to be generated to get the slope and intercept of the straight line, and an SP was written. Implemented it in SSRS using a straight line type, while rest data were implemented on scatter chart type.

    The result looks good - see attachment.

    BR, Indra

  • Hi Dechrau,

    Good catch! To show every label, set the interval on the vertical axis to 1.

    Jessica

  • Indra,

    I am trying to do the same thing, would you be able to post your SP or some advice on how to do it? What shape is your dataset in? Any help would be greatly appreciated!

    Thanks so much in advance,

    Melissa

Viewing 10 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic. Login to reply