Export of Report to Excel

Сonversation on different topics
alex2u
Posts: 8
Joined: Mon Oct 01, 2007 5:05 am
Location: Germany

Export of Report to Excel

Post by alex2u »

Hello,
I have some trouble exporting the report to Excel. I need to have the numeric data in the report displayed as numeric values in Excel as well (same goes for currency data). I have changed the properties of the data in the report from "general" to "number" but my excel sheet shows the numbers as strings.

I've already noticed that you can set the ExcelValue property, but this won't work either. Unfortunately your documentation on the ExcelValue property (online as well as offline) will give me a "page cannot be found"-error (404).

It would be great, if you could help me with this issue.

Thanks in advance, Alex
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Export of Report to Excel

Post by Vital »

Hello Alex,

You must type in ExcelValue expression for example:

{123}
{DataSource.Value}
{var+123}
{Sum(DataSource.Value)}

In result this expression must return numeric value.

Thank you.
alex2u
Posts: 8
Joined: Mon Oct 01, 2007 5:05 am
Location: Germany

Export of Report to Excel

Post by alex2u »

Thanks a lot for the quick response.

Numeric values are transferred to Excel now, and it also works great with currencies as well as other formats.



Alex


Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Export of Report to Excel

Post by Edward »

Let us know, if you need any help.

Thank you.
meukoh
Posts: 6
Joined: Tue Jun 15, 2010 5:11 pm

Export of Report to Excel

Post by meukoh »

If I type {Sum(DataSource.Value)} in ExcelValue, after I export to Excel is it possible to keep the SUM() function in the Excel sheet? Because now only the result of the Sum() is exported to Excel.

It would be nice to have for future upgrades.
Andrew
Posts: 4107
Joined: Fri Jun 09, 2006 3:58 am

Export of Report to Excel

Post by Andrew »

Hello,

Sorry, on the current moment, it is not possible.

Thank you.
LukasT
Posts: 304
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Export of Report to Excel

Post by LukasT »

Hello,
why this functionality is not automatic when I want to export report to excel? I mean, you can automaticaly "convert" as a part of exporting process every text field to right excel data type, because you know result data type of expression...
What do you thing about this feature?
Thank you ;-)
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Export of Report to Excel

Post by Ivan »

Hello,

We made some improvements in that direction about a year ago.
Please check the latest build and let us know about the result.
If the issue is still present, please send to us a mrt file with data for analysis.

Thank you.
LukasT
Posts: 304
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Export of Report to Excel

Post by LukasT »

Hello Ivan,
yes, this issue is still actual. You can try to export to excel simple report with one field with expression like "{1+2}". Excel has recognized this as String...
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Export of Report to Excel

Post by Ivan »

Hello,

Please set the TextFormat property of textbox to Number.

Thank you.
Post Reply