SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 ssrs 2008 csv export
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jassie
Constraint Violating Yak Guru

295 Posts

Posted - 01/29/2014 :  10:41:55  Show Profile  Reply with Quote
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.

Edited by - jassie on 01/29/2014 11:46:42

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 01/30/2014 :  07:09:32  Show Profile  Reply with Quote
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

295 Posts

Posted - 01/30/2014 :  11:41:32  Show Profile  Reply with Quote
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

India
52317 Posts

Posted - 02/03/2014 :  06:47:47  Show Profile  Reply with Quote
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

Edited by - visakh16 on 02/03/2014 06:49:06
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000