Login or Sign Up to become a member!
LessThanDot Sit Logo

LessThanDot

Data Management

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot friendfeed Lessthandot facebook Lessthandot rss

Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.

Your profile

Search

XML Feeds

Google Ads

« Creating a Basic Drilldown Report in SSRS 2005Import directory of XML files into SQL Server 2005 »
comments
Rate Post:
submit to reddit Digg!FacebookDotnetkicks

I'm a fan of not allowing connectivity from Excel to my SSAS instances. I just don't see the active connection ever being a truely manageable and secure connection. It remains though that the users like the way they do things and will fight hand and foot against change. Although it will be a hard task for you to remove the Excel connectivity to SSAS, you can provide them with a viable replacement given report models in reporting services.

The first time I mentioned to this to a developer, they thought inititally the task would take an exteremely long time and amount of work to get a report model up for the users. The task really only takes about 5 minutes though and here is how you do it.

Open report manager. If you do not already have a folder set aside for SSAS data sources, created one now. Name it "SSAS Data Sources" with a description of, "All connectivity to SSAS instances".

Once the folder is created, go into it and click the "New Data Source" button in the menu strip. In the new data source screen enter a meaningful name for the data source and give it a description. For connection type click the drop down and select Microsoft SQL Server Analysis Services.

like so...

In your connection string enter the connection to the SSAS instance and the SSAS database you want to read from.
Example:
Data Source=servername;Initial Catalog="Sales DB"

Select the security model you wish to use. I typically use windows integrated for most connectivity to the instances so I can manage security with groups. This makes my db users and logins along with roles assignment easier and cleaner.

Click ok and you should have your new DS in the folder we created. Open the data source again and you will now see a "Generate Model" button at the bottom of the configuration screen. Click it..

In the "generate new model" screen enter a meaningful name and description and click ok.


Go into the security and configure it to fit into your security model. Click OK to create your data model.

That's it. Now open up report builder and select your new model. In my case I selected the sales cube located in my SSAS DB I connected to. Once you get into report builder off this connection you will see you basically have the functionality you need.

Once the user creates the tables, matrix or charting objects, they can then export to Excel for more manipulation. The important thing is this will be a disconnected session in Excel now :)

About the Author

Ted Krueger has been working in development and database administration for 13+ years. Specialties range from High Availability and Disaster / Recovery setup and testing methods down to custom assembly development for SQL Server Reporting Services. Ted blogs and is also one of the founders of LessThanDot.com technology community. Some of the articles focused on are Backup / Recovery, Security, SSIS and working on SQL Server and using all of the SQL Server features available to create stable and scalable database services. Recent community contributions have been to organize SQL Saturday events in the Chicago-land to Milwaukee-land area for 2010 where he will also be speaking about various SQL Server topics. @onpnt
Social SitingsTwitterLinkedInLTD RSS Feed
1177 views
submit to reddit Digg!FacebookDotnetkicks

Comments and Feedback

3 comments

Comment from: thirster42 [Member] Email
*****
Awesome man. Showed this to my DBA and his jaw about fell on the floor.
27/04/09 @ 07:38
Comment from: onpnt [Member] Email
Thanks Thirster :)
27/04/09 @ 07:40
Comment from: Edafe Onerhime [Visitor] Email · http://www.ekoner.com/blog
*****
Very useful, thank you
27/04/09 @ 08:38

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)