Whenever I export an ssrs 2008 or ssrs 2012 report to comma delimited file, all columns are always displayed. I have code setup to hide the column when there is not data in the column.
I am using the following code:
=IIF(First(Len(Fields!CustomerNumber.Value)) > 0,False,true)
I the column level visibility,I have also set the DataElementOutput=Output for the textbox that displays the value.
The above code works when I export the ssrs report to excel.
Thus can you tell me what I can do to get the column not to be displayed when the file is exported to csv (comma delimited) file?