Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Charting the Unknown – Step 5 in the Stairway to Reporting Services Expand / Collapse
Author
Message
Posted Monday, June 6, 2011 10:44 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, July 1, 2014 7:38 AM
Points: 8, Visits: 350
Comments posted to this topic are about the item Charting the Unknown – Step 5 in the Stairway to Reporting Services
Post #1120734
Posted Tuesday, June 7, 2011 2:56 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, August 7, 2012 12:11 AM
Points: 3, Visits: 8
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?
Post #1120803
Posted Tuesday, June 7, 2011 4:24 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Thursday, July 17, 2014 10:36 PM
Points: 5,300, Visits: 1,378
Nice one .....


Post #1120846
Posted Tuesday, June 7, 2011 10:42 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Friday, October 18, 2013 6:12 AM
Points: 952, Visits: 552
O.K. Am I missing something? Where is Step 4?

(Oops. Found it!)
Post #1121185
Posted Thursday, June 9, 2011 9:47 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Yesterday @ 6:57 PM
Points: 3,258, Visits: 1,954
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.
Post #1122680
Posted Sunday, June 12, 2011 10:40 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, July 1, 2014 7:38 AM
Points: 8, Visits: 350
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
Post #1124035
Posted Thursday, June 16, 2011 4:25 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Sunday, February 2, 2014 4:22 PM
Points: 3, Visits: 77
Figure 2 shows every other territory name. How can we display every name?
Post #1126369
Posted Thursday, June 16, 2011 5:59 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, August 7, 2012 12:11 AM
Points: 3, Visits: 8
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


  Post Attachments 
SSRS-Report-scatter-w-LRT.JPG (53 views, 86.23 KB)
Post #1126431
Posted Friday, June 17, 2011 10:43 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, July 1, 2014 7:38 AM
Points: 8, Visits: 350
Hi Dechrau,

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

Jessica
Post #1127527
Posted Monday, September 12, 2011 11:49 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, May 29, 2014 9:17 AM
Points: 23, Visits: 206
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
Post #1173688
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse