Solved

SSRS Export to Excel - Render with frozen columns/rows

Posted on 2010-09-22
10
957 Views
Last Modified: 2012-05-10
I have to create an SSRS report to look and feel like and existing Excel report.The users want the same formatting once the report is rendered and exported to Excel. How do I do this??
0
Comment
Question by:Laura2112
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
  • 2
  • +1
10 Comments
 
LVL 9

Expert Comment

by:sureshbabukrish
ID: 33735625
can you be more specific on the requirements?
0
 
LVL 4

Accepted Solution

by:
BostonMA earned 250 total points
ID: 33735630
turn the data set into a store procedure, and populate the spreadsheet with a direct call to the stored procedure.  Otherwise you'll never acheive the exact formatting the user wants - there are always limitations.
0
 

Author Comment

by:Laura2112
ID: 33735678
Sure, I want the last 7 columns (days sales) to be visible and allow the user to scroll left to see the sales for the beggining of the month by store. I am seeing this report as a matrix report so that the daily sales are reported and the columns are dynamic so that the date is the column name. Even if I can figure that out, how do I export to Excel having the same format?
0
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

Author Comment

by:Laura2112
ID: 33735699
dumb question, how do I populate  the spreadsheet with a direct call to the stored procedure? Sounds like a good solution since the users will never want to run the report in SSRS.
0
 
LVL 4

Expert Comment

by:BostonMA
ID: 33735793
Date --- > Connections --> Add connection --Brose for more --> New Sql server connection.

Thats as far as I can take you but there are lots or articles via google that show more details.  Good luck
0
 
LVL 11

Expert Comment

by:aelliso3
ID: 33735876
Due to the requirements, I'm going to have to agree with BostonMA. Using his idea, you can use the data connection, but depending on the query that you are using in the dataset, you may not have to create a stored procedure. The data connections will take a query
What version of Excel are you using? we can provide a bit more insight on how to do it.
0
 

Author Comment

by:Laura2112
ID: 33736782
Excel 2007
0
 
LVL 11

Assisted Solution

by:aelliso3
aelliso3 earned 250 total points
ID: 33736875
Then it's pretty straight forward. Use the link below to get started, but when you get to Figure 9, set the Command Type to SQL instead of table and then put the sql statement into the Command Text box
http://msdn.microsoft.com/en-us/library/bb545041(office.11).aspx
 
0
 

Author Comment

by:Laura2112
ID: 33736947
Thanks guys, I'd like to split the points as you've boght been very helpful.
0
 

Author Closing Comment

by:Laura2112
ID: 33736977
thanks
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: This article is aimed at report developers who are used to developing reports using relational databases and have gotten a first-time assignment to develop reports on OLAP cubes. It demonstrates how to build a report using SQL Ser…
A recent question popped up and the discussion heated up regarding updating a COMMENTS (TXT) field in a table using SSRS. http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Q_27475269.html?cid=1572#a37227028 (htt…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question