Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS - Export to CSV

$
0
0
when the SSRS report exported to CSV file,  all the column headers are added in the first row. The issue here is, I have hidden( thru Visibility property) some of the columns in the report but those columns are also displayed in the header row(first row)CSV file and the blank values for their corresponding data.

for example,  i have displayed only below 3 columns out of 6 columns in the report.
col1, col2, col3
but the CSV generated as below format..

col1,col2,col3,col4,col5,col6
a1,a2,a3,,,
b1,b2,b3,,,
c1,c2,c3,,,

i dont want the highlighted items.

The TableColumn Visibility property has been setup as below..
=IIF(Fields!col4.IsMissing, TRUE, FALSE)


When the report is exported to other formats(like Excel,XML..) this works fine..ie no hidden columns are displayed.

I appreciate your valuable comments/suggestions....


thanks,
sasi.









Viewing all articles
Browse latest Browse all 10045


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>