Click here to Skip to main content
15,883,883 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using SSRS.

In Report view , I am showing only five column from dataset into table but While export reports to excel then I want to export all coumns of dataset.

Dataset has 25 columns.

If any one can Help on this .



Please suggest me.
Posted

1 solution

Set Column visibility of tablix on expression basis:-

Select Column-->Right click--> go to properties -> select show/Hide option--> click on fx button->
set expression like below

IIF(InStr(Globals!RenderFormat.Name,"EXCEL") > 0 , False,True)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900