Solved

SSRS Report while Rendering to CSV format

Posted on 2014-02-07
4
596 Views
Last Modified: 2014-02-11
I have report it generates two columns

Date                    Spot price
2014-01-10           $100
2014-01-10           $200

while rendering into CSV format I would like to have a file like this. I don't want to repeat the Date value for every record and I want only in the first row.

Date               Spot Price
2014-01-10,$100
,$200
0
Comment
Question by:SURESH0518
  • 2
4 Comments
 
LVL 17

Expert Comment

by:Kent Dyer
ID: 39842266
In Report Builder, Change your group by value..

You can do this by Organization: e.g. Accounting, HR, Engineering, etc.

Instead of by Organization, you can do this by date..

Consider this example..
For the Tablix..
Row Groups..
Date
table_details_ group

Here is one that I am using by department..  You can easily change to by date to get what you are looking for.
tablix design
grouping
And yes, I know when you run this in csv you want it to be a certain way, but I believe that when you run the report and export whether pdf, csv, mhtml, etc. it will export as presented on the screen,
0
 

Author Comment

by:SURESH0518
ID: 39842285
I can do this interactively. But Can I do this while rendering into CSV format not to repeat date value.
0
 
LVL 17

Expert Comment

by:Kent Dyer
ID: 39842327
You can do quite a bit with SSRS, but would be simpler to make a copy of the report and set it up to be the way you want in the export?  If you have it one way, and you have to program logic into the export (not saying it can't be done) but, would think a copy of the report in the way you want - would be easier..  There maybe some things you can do in the SSRS subscription to allow/disallow columns or components too.
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 39846573
But Can I do this while rendering into CSV format not to repeat date value.

Why on earth would you want to do that?  That would be really bad CSV design.  Each record in a CSV should be readable on its own, independent from other records.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction: This article is aimed at report developers who are used to developing reports using relational databases and have gotten a first-time assignment to develop reports on OLAP cubes. It demonstrates how to build a report using SQL Ser…
Hi All, I am here to write a simple article to move SSRS (SQL Server Reporting Services) reports from one server to another. When I have faced the same issue to move reports those were developed by developer on development server and now need to …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now