Bharat Guru
asked on
How to removed commas below the headings from SSRS csv export report.
From SSRS when export a blank report to CSV, I'm getting a line of commas below the headings.
SSRS report Output
Portfolio_Reference,Portfo lio_Name,R ,TR,TD,TC, D
,,,,,,,,,,,,,,,,,,
I'm looking for output without commans
SSRS report Output
Portfolio_Reference,Portfo lio_Name,R ,TR,TD,TC, D
-------------------------- ---------- ---------- ---------- ---------- ---------- --------
My rsreportserver.config setting is as below
<Render>
<Extension Name="CSV" Type="Microsoft.ReportingS ervices.Re ndering.Da taRenderer .CsvReport ,Microsoft .Reporting Services.D ataRenderi ng">
<Configuration>
<DeviceInfo>
<Encoding>ASCII</Encoding>
</DeviceInfo>
</Configuration>
</Extension>
</Render>
SSRS report Output
Portfolio_Reference,Portfo
,,,,,,,,,,,,,,,,,,
I'm looking for output without commans
SSRS report Output
Portfolio_Reference,Portfo
--------------------------
My rsreportserver.config setting is as below
<Render>
<Extension Name="CSV" Type="Microsoft.ReportingS
<Configuration>
<DeviceInfo>
<Encoding>ASCII</Encoding>
</DeviceInfo>
</Configuration>
</Extension>
</Render>
ASKER
If I execute the sp manually the result is blank. If I run the same report with Microsoft SQL Server 2012 (SP3) I'm not getting ',,,,,,,,,,,,' but If I run the report from Microsoft SQL Server 2012 (SP2) I'm getting ',,,,,,,,,,,,'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
CSV generated from ssrs with SP 3
Portfolio_Reference,Portfo lio_Name,R ,TR,TD,TC, D
,,,,,,,,,,,,,,,,,,
CSV generated from ssrs with SP 2
Portfolio_Reference,Portfo lio_Name,R ,TR,TD,TC, D
Portfolio_Reference,Portfo
,,,,,,,,,,,,,,,,,,
CSV generated from ssrs with SP 2
Portfolio_Reference,Portfo
ASKER
Thanks
Your might not be blank but report has rows with blank as a data like. SO it's having a row like ',,,,,,,,' when you export the report.