SSRS/Visual Studio hide detail rows in export to CSV,excel, pdf and all other export type - visual-studio-2010

I want to show all the data when rendered. But when it is exported, I only want the summary level data to be exported. Below is a sample data that is like mines. Upon export, I would have only the yellow rows exported. How can I achieve this? I have been successful in eliminating the detail rows in CSV by selecting DataElemenetOutput to NoOutput. How can I stop the detail rows from appearing in the PDF, excel and other exports?

Related

Changing columns order on export to CSV from SSRS 2008

We have a report developed in another tool that the user exports to Excel to manipulate the data. In the old tool, the columns are being saved in the same order as the dataset returned by the stored procedure. But in SSRS the columns sort is changed to the order that they are displayed on the screen. The user is a nut case and can't convince her to change the order of the columns on the screen report to match her old report sort, but on the other hand does not want to adapt to the new column order. Unfortunately the easiest solution (i.e. replacing the user :-)) is not implementable. Is there a property that I can use to change the sorting on the columns when they are exported. Without knowing much about it, I imagined ZIndex would have done something like that. But it is set to 0 and disabled, so I can't change it's value.
Thanks
I know it's years later but for the benefit of anyone who is in this predicament, a similar idea: in the same report, you create another tablix that will be your "output" tablix, where you arrange things as you please using the same dataset. Make this tablix with visibility hidden, and set it to "output" as necessary. Turn off all outputs from the first tablix. So you have basically a ghost tablix that only works when you export to csv.

Hide column when exporting OBIEE report to Excel

In an Oracle BI 10g report, some of the columns are hidden with CSS: display:none.
But when I try to export the report to Excel file, the hidden columns appear. I tried with mso-hide:all; in the CSS, but it did not hide any columns, because the table is into another table. Do you have any ideas how to hide these columns from Oracle BI Analytics in order not to appear when exporting the report to Excel?
You can try creating a separate logical table with only columns you need to expose.
Go to the edit view button in the analysis tab.
*-Click on More Options button in the appropiate column.
*-Click on hidden.
The concerned column will be hidden in the analyis as well as in the excel file.

How do I change the orientation of a table in a BIRT report

I need to change the orientation of a table in a BIRT report so that the table header is vertical instead of horizontal.
Is this possible? I don't want to use a Crosstab.
It seems this thread is still being pointed at so I posted an example of a horizontal table layout using a crosstab. I know it won't help the original author but others following this thread now may find this helpful.
To create the horizontal grouping, first create your query like normal, then create a Data Cube. In this data cube, drag each field that you want into a group. Then drag a new crosstab on the report and drag each field into the top right column group area. It will create a new header row for each field. Don't put anything in the left side (Rows) and don't put anything in the measure field (bottom-right). This will create labels on the left... and the data will extend out to the right.
The report design example can be downloaded from: http://developer.actuate.com/community/forum/index.php?/files/file/1079-horizontal-table-using-crosstab/
Virgil
If you want dataset records to be reported across the page, this would have to be done via a crosstab.
If you want dataset records to be reported down the page, this can't be done automatically as far as I know. However, it can be done by inserting a new detail line in your report table object for each database field to be reported, then moving column headings from the heading row into the first column's detail rows and moving record values into the second column's detail rows.
So, for example, a report with 6 columns in it would become a two column report with six detail rows.
Not in box (up to 3.7). You have to use 3'd party libs like that one.

Freeze header on export to excel from SSRS

I have the header in my report on SSRS frozen so it scrolls down as I scroll down the page. Is it possible to keep this header frozen when I export the report to excel so it will do the same in excel?
As far as I know, you can't do so with table headings. However, items that appear in the Page Header section of a report do get exported to frozen heading rows in Excel.

Hyperlinks not Clickable when Exported to excel

When I run a query, the results of it are exported to the Excel. This data has few hyperlinks which get displayed in random (I don't know which cell or column).
My issue is that the hyperlinks are getting displayed as normal word and not as clickable hyperlinks. Unless, I click on the particular cell and click outside, the hyperlink doesn't become blue. How can I resolve this issue? I want the hyperlinks exported to excel as clickable hyperlinks.
There is a =HYPERLINK() formula in ms's excel and apple's numbers programs.
Two ways to apply this:
In your source data, have that column's output wrapped in the formula.
As you didn't give an example query or mention the language. here's a sql example:
select products_id, products_name,
concat("=HYPERLINK(\"http://www.site.com/product_info.php?products_id=",products_id,"\")"),
products_description from products p;
so the resulting excel/xml column will be =HYPERLINK("http://www.site.com/product_info.php?products_id=1223") and it will be clickable when you open the file in excel.
The other way to handle this is after you open it in excel:
Let's say the links are in column C. Make a new column D, in cell D2 insert the formula
=HYPERLINK(C2) then press enter, click on cell D2, copy, then select the entire column D, paste. Now you have a column of clickable links.
-Z
One of the ways is to show the result of the query in a grid like GridView control and then export the Grid. This will causes the underlying HTML to get exported as well (i.e GridView HTML and all the controls inside the GridView).
After that when you open the Excel file you will see the links intact. Here is an article which talks about exporting GridView to excel.
http://www.highoncoding.com/Articles/197_Extensive_Study_of_GridView_Export_to_Excel.aspx

Resources