I do not have enough comments to comment or vote, but Raposo's answer worked very well for me. Our system imports SSRS reports and runs them locally. It stores a DataSet request in the database and pulls them at runtime. However, to export Excel, it simply runs the received query data into a DataGrid and writes it directly to the stream as HTML, setting the extension to .xls. Including Raposo Solution in a DataSet Report Request:
SELECT someColumn = '​' + someColumn FROM, etc.
and delete it in the SSRS field expression:
=Replace(Fields!someColumn.Value, "​", "")
- the only thing I found that works. Thanks!
source share