RDLC Report export to Excel change column data type - export-to-excel

While exporting to Excel i am not able to Convert column data type from General to Number or Currency. Its showing error on Excel cells "The Number in this cell is formatted as text or preceded by an apostrophe.". Can anyone provide me a link how to change column date type while exporting to excel.

Try to set the datatype as int32.

Select the textbox in Tablix
Go to textbox properties
Go to Numbers tab
select Category "Number" and click ok.

Related

Birt report - hidden cross tab cells showing in excel

I have a cross tab. I hide an entire column by setting the style to one containing "display: none". This looks great in html and pdf.
But when exporting to Excel, the column appears with empty values.
How do I force the excel export to not show the column?
Have you tried using the visibility expression for the column instead of the style display:none?
I think setting width to 0 only hide the column (when exporting to excel) when the report Layout is "Fixed Layout".
Unfortunately "Fixed Layout" is a pain to use when you have a crosstab with lots of columns, as Excel starts throwing errors if the width gets too big.

Dynamic cell via parameter

I am trying to find how to do the following. I need to fill a string (a word) in a column that I can change from a table. Static way: Add Column > In formula ="FORD" So it fills all existing rows in the columns Variable way: If I change to HONDA the cell at the table, use  the new word in the query Thanks!
Something like https://stackoverflow.com/a/31522846/771768 will work:
Click on the Excel cell with HONDA, then open menu Power Query > Excel
Data > From Table (uncheck "My table has headers")
In the Power Query editor, right click on the HONDA cell of the table
and "drill down" to get the text value, and change your add column step to use this Column1
You can edit the value in sheet 1, and when you refresh your query
you'll see sheet 2 is changed.

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.

SSRS footer item wont format correctly

I am using SSRS with Visual Studio 2010. I have a cell pulling to a footer text box using the value:
=ReportItems!GuarantorBalance.Value
I CANNOT format the cell in the footer with the currency format. I tried every which way to format the text box but it never pulls the currency value. If I try to format the account number in the footer it will format with a currency value. Any ideas why the GuarantorBalance won't format with a currency value? Is there any other techniques I can try besides using the preset values in report designer?
Have you tried an explicit format for the value using an expression, like:
=FormatCurrency(ReportItems!GuarantorBalance.Value)

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