Show some fields but export all

  • Hi,

    Is it possible in SSRS reports to show just some fields in the report but export all the fields into the excel.

    For eg: The dataset has fields Name, Age ,Address, Phone, Email. We just show Name, Address, Phone in the report but when we export the data to Excel, all the fields(Name, Age ,Address, Phone, Email) are present in the excel workbook.

    Please advice

    Thanks

  • Hi yes its possible,

    But u need to use the custom code for this .

    Here is my idea: create one parameter as "customExport" and set two default parameters Y and N hide this if u dnt want to show it to the user.

    Then in report code below the Export events

    Set like if export option="Excel"

    Then Set customExport='N'

    i hope it will works.

    Thanks & Regards,
    Veeren.
    Ignore this if you feel i am Wrong. 😉

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply