Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 ssrs 2008 csv export

Author  Topic 

jassie
Constraint Violating Yak Guru

332 Posts

Posted - 2014-01-29 : 10:41:55
In an existing ssrs 2008 r2 report, I have a question about the csv export.

When the report was originally written, I only expected the users to export the data to excel.

Basically the issue is, based on the states where the customers exist. If the customers exists on the east coast, I version of the report is displayed. If the users exist in the Midwest, another version of the report is displayed. if the users exist on the west coast a third version of the report is displayed.

However now if the users want to export the data to csv (comma delimited), all 3 versions are appearing in the csv file.

I do know that when I hide a tablix, that does not export the data to a csv file. However when I pick the option to show or hide a tablix based upon the expression, the tablix is exported to a csv file.

Is there a way to export the columns and data that actually apply to the particular customer. I do not want all the data columns for east coast, Midwest, and west coast to appear on the csv export?

If there is a way to not display the extra data columns and rows, can you tell me how to accomplish this goal? Showing me code and/or a url would also be helpful.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2014-01-30 : 07:09:32
Try setting DataElementOutput property to NoOutput for the relevant textbox cells.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

jassie
Constraint Violating Yak Guru

332 Posts

Posted - 2014-01-30 : 11:41:32
You are saying that I can set DataElementOutput property to NoOutput
in an iif statement?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2014-02-03 : 06:47:47
quote:
Originally posted by jassie

You are saying that I can set DataElementOutput property to NoOutput
in an iif statement?


nope.just set it to NoOutput for not getting rendered in csv mode. DataElementOutput property only affects data renderers like XML and CSV renderers

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -