SQL Server Reporting Services, Power View


SSRS 2008, Group by , Export to excel Duplicate Rows


I have a report in SSRS 2008, in which we are grouping the rows by a combination of 3 columns ( Dept ID, Sales Rep Name, Activity Recruiter) reports works great in Visual Studio and every where. But when we export the report to Excel we are getting one more
extra row apart from the expected number of rows.
I am not sure how I can attach the attachment for better understanding ...if some one wants to have a look at the screenshot pls let me know I will pass the same....
Hi,
I know it's an old thread but I've found a solution for this issue that worked for me...
Go to "Groups Area" and change to advanced mode, each group has a static field, select the static field of the parent group and clear the ToggletItem property, leave the ToggleItem set in the group itself but not in the static field.
Actually, I cleared ToggleItem properties to all static fields and now it is working fine.
Hope this help some one!!
Hi Ashwar hussain,
I understand your meaning completely. According to Microsoft, the goal when exporting to excel is to match the visual
appearance of the report as close as possible. The excel output may have unexpected things like extra rows or columns or merged cells as part of the process to match the layout.
To work around the issue, you could add a parent group header when you create the first parent group(GroupByDeptIdRecruiterSalesRep),
then you will not have this duplicated total row at the back of group, but there is a header at the parent group, so this is just a workaround not a grace solution, thanks for your understanding. I have attach designed report at email. Hope this help
you.
Currently, since this issue might be urgent to your business, you could also contact Microsoft Customer Support Services (CSS) via telephone so that
a dedicated Support Professional can assist you in a more efficient manner. However contacting phone support will be a charged call. but 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
Regards,
Challen Fu
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Hi,
I had a similar issue when exporting into excel.
I have resolved it by the below method. So DealDate and AssetIdentifier are my current groups and from AssetType I have the details group. I added the Counterparty group as a normal parent group but I also said "Add group Header"
when creating the parent Counterparty group.
This creates an empty row when Rendering in SSRS but the same empty row is created when exporting into Excel and the duplicate row of existing data is gone. This is an acceptable format in Excel as I have an empty row at the top which is not confusing the
users, no duplicate rows appear. Hope it helps.
Panos.
Hi,
There is similer bug report created for SSRS 2008
https://connect.microsoft.com/SQLServer/feedback/details/508823/reporting-services-2008-group-by-export-to-excel-duplicate-rows-csv-ok-pdf-ok
You can have a look at commnets for it, see if some solution applies to you also.
- Chintak (My Blog)
Hello Chintak,
I have read the post given by you and tried to implement the same solution but no luck. If you want to have a look I can FWD the RDL and the screen shots.
Regards,
Ashwar
 Hi,
This is by design. There is a workaround to fix the report. We can refer to the following steps:
1.
Choose the second column and right-click,
2.
Insert a column to left,
3.
Copy the cell from the first column and delete the first column.
When I export the report to an Excel file, the result is:
Thanks,
Ai-Hua QiuAi-hua Qiu[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.
Hello Ai-Hia, I have implemented these steps and the problem persists. If you want to have a look I can FWD the RDL and the screen shots. Regards, Ashwar.
Hi,
I am using the TABLE control to fix the report, please refer to the following steps:
1. Choose the second row and right click.
2. Choose Add Group, and then choose Parent Group.
3. On the Tablix group, choose Region as Group by.
4. Click Add group header.
5. On the Group properties, set visibility.
When I export the report to an Excel file, the result is:
Thanks,
Ai-Hua QiuAi-hua Qiu[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.
Hello Ai-Hua,
Thanks a lot for the response and I have implemented the steps you have specified and we have come real close to solving the issue, but not 100%. I think we need to discuss on this issue further.
My linked In profile is at --
http://www.linkedin.com/pub/ashwar-hussain/9/328/354 and you can email me at
ashwarhussain#yahoo.com.
I feel we should have a look at the RDL and the error screen shots.
Please let me know how can I reach you and get helped by you.
Regards,
Ashwar
Hello Ai hua,
Thanks a bunch for the response and the hints to solve my Issue.
I have implemented the steps specified by you, and we are very near to soving the probs but not there 100%.
I think we need to discuss more on this issue, specific to the the RDL.
I will FWD you the RDL file, and the error screen-shots if you need to have a look.
My linked is at
http://www.linkedin.com/pub/ashwar-hussain/9/328/354 and you can email me at
ashwarhussain#yahoo.com
<<Partially Answered my Question>>
Regards,
Ashwar.
Hi,
Could you send me your RDL file?
E-mail: sqltnsp AT Microsoft.com (Please replace AT with #). Please send me with the following format:
Subject: MSDN/TechNet forum question: <Thread Title>
Attachments: <files>
Hi Ai-Hua,
ThreadURL:<URL>
<Additional information>
Thanks,
Ai-Hua QiuAi-hua Qiu[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.
Hello Ai-Hua,
I have emailed you the RDL and the screen shots for reference.
Thank you
Regards,
Ashwar
Hi Ashwar hussain,
I understand your meaning completely. According to Microsoft, the goal when exporting to excel is to match the visual
appearance of the report as close as possible. The excel output may have unexpected things like extra rows or columns or merged cells as part of the process to match the layout.
To work around the issue, you could add a parent group header when you create the first parent group(GroupByDeptIdRecruiterSalesRep),
then you will not have this duplicated total row at the back of group, but there is a header at the parent group, so this is just a workaround not a grace solution, thanks for your understanding. I have attach designed report at email. Hope this help
you.
Currently, since this issue might be urgent to your business, you could also contact Microsoft Customer Support Services (CSS) via telephone so that
a dedicated Support Professional can assist you in a more efficient manner. However contacting phone support will be a charged call. but 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
Regards,
Challen Fu
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Hi,
I know it's an old thread but I've found a solution for this issue that worked for me...
Go to "Groups Area" and change to advanced mode, each group has a static field, select the static field of the parent group and clear the ToggletItem property, leave the ToggleItem set in the group itself but not in the static field.
Actually, I cleared ToggleItem properties to all static fields and now it is working fine.
Hope this help some one!!
GENIUS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Hi,
I had a similar issue when exporting into excel.
I have resolved it by the below method. So DealDate and AssetIdentifier are my current groups and from AssetType I have the details group. I added the Counterparty group as a normal parent group but I also said "Add group Header"
when creating the parent Counterparty group.
This creates an empty row when Rendering in SSRS but the same empty row is created when exporting into Excel and the duplicate row of existing data is gone. This is an acceptable format in Excel as I have an empty row at the top which is not confusing the
users, no duplicate rows appear. Hope it helps.
Panos.

Related Links

Consuming REST Web Service in SSRS
Migrating/Upgrading Reporting Services
alternative to scanning source control for ssrs dependencies
I am unsure how SSRS is configured in my Environment
SSRS 2016
pass year and month as parameter
C# Code to delete reports from Report Manager
SSRS Total Time In and Out Breakdown
How to stretch the tablix column wide based on a condition in SSRS 2014
SQL SERVER MOBILE REPORT PUBLISHER - Default Value for SelectionList Navigator
SSRS 2016 Parameters option disabled in an iFrame after applying CU1 or CU2 update
Problem with Microsoft Edge and SQL Server Reporting Services 2012
SSRS 2016 How do avoid the error "Cannot impersonate user for data source" for a corporate SSRS installation
Can we create a SSRS report in 2014 SSRS/SQL SERVER using JSON just like XML ?
Notification table is not getting flushed out.
Reporting Services and "System.Data.OracleClient requires Oracle client software version 8.1.7 or greater."

Categories

MSDN
Using Forums
Visual Studio Languages
Windows and Windows ph...
Architecture
DevLabs
Orchard
Bing
Archived Forums A-B
Archived Forums M
Archived Forums
Software Entwicklung f...
Open source Developmen...
Where is the Forum For…?
Forums Issues (not pro...
Visual C++
C++ Standards, Extensi...
Visual Studio Setup an...
Visual Studio Tools fo...
Visual Studio Code Vis...
Test Tools in Visual S...
Visual Studio Diagnost...
Publishing Windows Sto...
AdSDK Integration & Ad...
Store Engagement Frame...
Windows Desktop Develo...
Windows Desktop Develo...
Media Foundation Devel...
Windows Desktop Sideba...
Azure BizTalk Services
Azure Data Catalog
Azure IoT Hub
Azure Blockchain
Azure Database for MySQL
Publishing Apps for th...
Visual Studio Visualiz...
Team Foundation Server...
Software Modeling Tools
Microsoft Live Labs Volta
Partnering with Microsoft
Microsoft Robotics - C...
Microsoft Robotics - H...
Microsoft Device Emulator
Data Mining
SQL Server Analysis Se...
SQL Server Data Access
SQL Server XML
SQL Service Broker
SQL Server Database En...
SQL Server High Availa...
Microsoft Drivers for ...
SQL Server Data Wareho...
Microsoft StreamInsight
Database Design
Standard 2009: Tools
Windows Embedded Compa...
SQL Server 2012 Integr...
SQL Server 2012 Spatia...
Windows Server 2008 Ap...
Live Connect (Archived)
Windows Live Messenger...
Bing Maps: Map Control...
CRM Deployment
MSDN Subscriptions Fee...
Script Junkie Discussion
Developing for the Mob...
Bing Maps REST, SOAP, ...
Office Live Basics, Es...
Windows File Sharing P...
Exchange Server Protocols
Expression Encoder
Expression Media
Visual Studio Report C...
Windows Performance To...
Retired SharePoint Exc...
Retired SharePoint Ent...
Retired SharePoint Soc...
Project Online General...
.NET StockTrader Sampl...
Archived: Software Tes...
Building Development a...
Building Windows Store...
AppFabric Caching
Commerce Server 2002 a...
Dryad, DSC, and DryadL...
(Retired) Exchange Pre...
Installing and Registe...
JScript for the .NET F...
Microsoft ESP Platform...
Microsoft Security Dev...
Office Live Small Busi...
POS for .NET
SQL Server 2014 High A...
SQL Server 2014 Integr...
Using Visual Round Tri...
Tailoring your Windows...
Visual Basic IDE
Visual Basic Interop a...
Visual Basic Power Packs
Visual C# IDE
Visual C++ 2008 (Pre-r...
Visual Studio Web Perf...
Visual Studio Online "...
Web Gadget Development
Windows Desktop Vista ...
Windows Events
Windows Live Alerts De...
Working with Data in W...
Azure N-Series Virtual...

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile