SSRS 2008 Hidden Columns Should NOT Export to CSV

15,737

Format options such as expressions on visibility are ignored for CSV rendering methods. CSV rendering methods are essentially data flows, so you can suppress elements that you don't want to include in CSV files by changing the DataElementOutput from Auto, the default value, to NoOutput.

Share:
15,737

Related videos on Youtube

Internet Engineer
Author by

Internet Engineer

Please visit my personal web site: InternetEngineer.com

Updated on June 01, 2022

Comments

  • Internet Engineer
    Internet Engineer almost 2 years

    When I hide columns in SSRS they still appear in the CSV export.

    I have to hide columns, not the entire tablix.

    This is what I have tried already: The filters in the tablix hide rows not columns. The DataElementOutput per column can not be set using an expression.

  • Tihomir Budic
    Tihomir Budic over 12 years
    This piece of code is placed in the hidden property of field, and when the report is run, if he chooses format "CSV" output, this piece of code will hide the field.
  • Mrigesh Raj Shrestha
    Mrigesh Raj Shrestha over 10 years
    this DataElementOutput is the thing we shud be altering to NoOutput. Nice one.
  • Denys Avilov
    Denys Avilov over 6 years
    As I understand using DataElementOutput property we can statically show or hide column(s) for CSV. But how to do this dynamically, based on expression?