dbTalk Databases Forums  

[reporting services 2005] excel export doesn't honor numeric format

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss [reporting services 2005] excel export doesn't honor numeric format in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
newsgroup.poster@gmail.com
 
Posts: n/a

Default [reporting services 2005] excel export doesn't honor numeric format - 11-20-2008 , 08:38 AM






Hello,

I need some help with an issue displaying numeric amounts as numbers
in excel.

what I have in the report file:
- report dataset exposing decimal(20,5) fields
- report cells with Format=N Language=French

what I have in web and excel result:
- correct displayed format (thousands separator and 2 decimal
precision)

my issue:
in excel, the amount cells are displayed with a warning: 'Number
Stored as Text'

What is the correct setting for excel to understand my numeric amounts
as number (so I can make computations without applying formatting
manually after the export)?

Thanks

Gauthier Segay

Reply With Quote
  #2  
Old   
Andrew Karcher [SQL MVP]
 
Posts: n/a

Default Re: [reporting services 2005] excel export doesn't honor numeric format - 11-25-2008 , 02:14 PM






Gauthier,

How are you formatting the number? Based on your problem I suspect that you
are using the Format method in the expression for the value of the text box.
The issue is that method returns a string not a number, so Excel sees the
value as a string.

If you instead use the Format Code property for the textbox and enter your
formatting there, then it will accurately be represented in Excel as a
number. In this case the value of field is going to be a number so Excel
treats it accordingly.

Let me know if you need more info,
Andrew Karcher
SQL Server MVP

<newsgroup.poster (AT) gmail (DOT) com> wrote

Quote:
Hello,

I need some help with an issue displaying numeric amounts as numbers
in excel.

what I have in the report file:
- report dataset exposing decimal(20,5) fields
- report cells with Format=N Language=French

what I have in web and excel result:
- correct displayed format (thousands separator and 2 decimal
precision)

my issue:
in excel, the amount cells are displayed with a warning: 'Number
Stored as Text'

What is the correct setting for excel to understand my numeric amounts
as number (so I can make computations without applying formatting
manually after the export)?

Thanks

Gauthier Segay


Reply With Quote
  #3  
Old   
Andrew Karcher [SQL MVP]
 
Posts: n/a

Default Re: [reporting services 2005] excel export doesn't honor numeric format - 11-25-2008 , 02:14 PM



Gauthier,

How are you formatting the number? Based on your problem I suspect that you
are using the Format method in the expression for the value of the text box.
The issue is that method returns a string not a number, so Excel sees the
value as a string.

If you instead use the Format Code property for the textbox and enter your
formatting there, then it will accurately be represented in Excel as a
number. In this case the value of field is going to be a number so Excel
treats it accordingly.

Let me know if you need more info,
Andrew Karcher
SQL Server MVP

<newsgroup.poster (AT) gmail (DOT) com> wrote

Quote:
Hello,

I need some help with an issue displaying numeric amounts as numbers
in excel.

what I have in the report file:
- report dataset exposing decimal(20,5) fields
- report cells with Format=N Language=French

what I have in web and excel result:
- correct displayed format (thousands separator and 2 decimal
precision)

my issue:
in excel, the amount cells are displayed with a warning: 'Number
Stored as Text'

What is the correct setting for excel to understand my numeric amounts
as number (so I can make computations without applying formatting
manually after the export)?

Thanks

Gauthier Segay


Reply With Quote
  #4  
Old   
Andrew Karcher [SQL MVP]
 
Posts: n/a

Default Re: [reporting services 2005] excel export doesn't honor numeric format - 11-25-2008 , 02:14 PM



Gauthier,

How are you formatting the number? Based on your problem I suspect that you
are using the Format method in the expression for the value of the text box.
The issue is that method returns a string not a number, so Excel sees the
value as a string.

If you instead use the Format Code property for the textbox and enter your
formatting there, then it will accurately be represented in Excel as a
number. In this case the value of field is going to be a number so Excel
treats it accordingly.

Let me know if you need more info,
Andrew Karcher
SQL Server MVP

<newsgroup.poster (AT) gmail (DOT) com> wrote

Quote:
Hello,

I need some help with an issue displaying numeric amounts as numbers
in excel.

what I have in the report file:
- report dataset exposing decimal(20,5) fields
- report cells with Format=N Language=French

what I have in web and excel result:
- correct displayed format (thousands separator and 2 decimal
precision)

my issue:
in excel, the amount cells are displayed with a warning: 'Number
Stored as Text'

What is the correct setting for excel to understand my numeric amounts
as number (so I can make computations without applying formatting
manually after the export)?

Thanks

Gauthier Segay


Reply With Quote
  #5  
Old   
Andrew Karcher [SQL MVP]
 
Posts: n/a

Default Re: [reporting services 2005] excel export doesn't honor numeric format - 11-25-2008 , 02:14 PM



Gauthier,

How are you formatting the number? Based on your problem I suspect that you
are using the Format method in the expression for the value of the text box.
The issue is that method returns a string not a number, so Excel sees the
value as a string.

If you instead use the Format Code property for the textbox and enter your
formatting there, then it will accurately be represented in Excel as a
number. In this case the value of field is going to be a number so Excel
treats it accordingly.

Let me know if you need more info,
Andrew Karcher
SQL Server MVP

<newsgroup.poster (AT) gmail (DOT) com> wrote

Quote:
Hello,

I need some help with an issue displaying numeric amounts as numbers
in excel.

what I have in the report file:
- report dataset exposing decimal(20,5) fields
- report cells with Format=N Language=French

what I have in web and excel result:
- correct displayed format (thousands separator and 2 decimal
precision)

my issue:
in excel, the amount cells are displayed with a warning: 'Number
Stored as Text'

What is the correct setting for excel to understand my numeric amounts
as number (so I can make computations without applying formatting
manually after the export)?

Thanks

Gauthier Segay


Reply With Quote
  #6  
Old   
Andrew Karcher [SQL MVP]
 
Posts: n/a

Default Re: [reporting services 2005] excel export doesn't honor numeric format - 11-25-2008 , 02:14 PM



Gauthier,

How are you formatting the number? Based on your problem I suspect that you
are using the Format method in the expression for the value of the text box.
The issue is that method returns a string not a number, so Excel sees the
value as a string.

If you instead use the Format Code property for the textbox and enter your
formatting there, then it will accurately be represented in Excel as a
number. In this case the value of field is going to be a number so Excel
treats it accordingly.

Let me know if you need more info,
Andrew Karcher
SQL Server MVP

<newsgroup.poster (AT) gmail (DOT) com> wrote

Quote:
Hello,

I need some help with an issue displaying numeric amounts as numbers
in excel.

what I have in the report file:
- report dataset exposing decimal(20,5) fields
- report cells with Format=N Language=French

what I have in web and excel result:
- correct displayed format (thousands separator and 2 decimal
precision)

my issue:
in excel, the amount cells are displayed with a warning: 'Number
Stored as Text'

What is the correct setting for excel to understand my numeric amounts
as number (so I can make computations without applying formatting
manually after the export)?

Thanks

Gauthier Segay


Reply With Quote
  #7  
Old   
Andrew Karcher [SQL MVP]
 
Posts: n/a

Default Re: [reporting services 2005] excel export doesn't honor numeric format - 11-25-2008 , 02:14 PM



Gauthier,

How are you formatting the number? Based on your problem I suspect that you
are using the Format method in the expression for the value of the text box.
The issue is that method returns a string not a number, so Excel sees the
value as a string.

If you instead use the Format Code property for the textbox and enter your
formatting there, then it will accurately be represented in Excel as a
number. In this case the value of field is going to be a number so Excel
treats it accordingly.

Let me know if you need more info,
Andrew Karcher
SQL Server MVP

<newsgroup.poster (AT) gmail (DOT) com> wrote

Quote:
Hello,

I need some help with an issue displaying numeric amounts as numbers
in excel.

what I have in the report file:
- report dataset exposing decimal(20,5) fields
- report cells with Format=N Language=French

what I have in web and excel result:
- correct displayed format (thousands separator and 2 decimal
precision)

my issue:
in excel, the amount cells are displayed with a warning: 'Number
Stored as Text'

What is the correct setting for excel to understand my numeric amounts
as number (so I can make computations without applying formatting
manually after the export)?

Thanks

Gauthier Segay


Reply With Quote
  #8  
Old   
Andrew Karcher [SQL MVP]
 
Posts: n/a

Default Re: [reporting services 2005] excel export doesn't honor numeric format - 11-25-2008 , 02:14 PM



Gauthier,

How are you formatting the number? Based on your problem I suspect that you
are using the Format method in the expression for the value of the text box.
The issue is that method returns a string not a number, so Excel sees the
value as a string.

If you instead use the Format Code property for the textbox and enter your
formatting there, then it will accurately be represented in Excel as a
number. In this case the value of field is going to be a number so Excel
treats it accordingly.

Let me know if you need more info,
Andrew Karcher
SQL Server MVP

<newsgroup.poster (AT) gmail (DOT) com> wrote

Quote:
Hello,

I need some help with an issue displaying numeric amounts as numbers
in excel.

what I have in the report file:
- report dataset exposing decimal(20,5) fields
- report cells with Format=N Language=French

what I have in web and excel result:
- correct displayed format (thousands separator and 2 decimal
precision)

my issue:
in excel, the amount cells are displayed with a warning: 'Number
Stored as Text'

What is the correct setting for excel to understand my numeric amounts
as number (so I can make computations without applying formatting
manually after the export)?

Thanks

Gauthier Segay


Reply With Quote
  #9  
Old   
Andrew Karcher [SQL MVP]
 
Posts: n/a

Default Re: [reporting services 2005] excel export doesn't honor numeric format - 11-25-2008 , 02:14 PM



Gauthier,

How are you formatting the number? Based on your problem I suspect that you
are using the Format method in the expression for the value of the text box.
The issue is that method returns a string not a number, so Excel sees the
value as a string.

If you instead use the Format Code property for the textbox and enter your
formatting there, then it will accurately be represented in Excel as a
number. In this case the value of field is going to be a number so Excel
treats it accordingly.

Let me know if you need more info,
Andrew Karcher
SQL Server MVP

<newsgroup.poster (AT) gmail (DOT) com> wrote

Quote:
Hello,

I need some help with an issue displaying numeric amounts as numbers
in excel.

what I have in the report file:
- report dataset exposing decimal(20,5) fields
- report cells with Format=N Language=French

what I have in web and excel result:
- correct displayed format (thousands separator and 2 decimal
precision)

my issue:
in excel, the amount cells are displayed with a warning: 'Number
Stored as Text'

What is the correct setting for excel to understand my numeric amounts
as number (so I can make computations without applying formatting
manually after the export)?

Thanks

Gauthier Segay


Reply With Quote
  #10  
Old   
Andrew Karcher [SQL MVP]
 
Posts: n/a

Default Re: [reporting services 2005] excel export doesn't honor numeric format - 11-25-2008 , 02:14 PM



Gauthier,

How are you formatting the number? Based on your problem I suspect that you
are using the Format method in the expression for the value of the text box.
The issue is that method returns a string not a number, so Excel sees the
value as a string.

If you instead use the Format Code property for the textbox and enter your
formatting there, then it will accurately be represented in Excel as a
number. In this case the value of field is going to be a number so Excel
treats it accordingly.

Let me know if you need more info,
Andrew Karcher
SQL Server MVP

<newsgroup.poster (AT) gmail (DOT) com> wrote

Quote:
Hello,

I need some help with an issue displaying numeric amounts as numbers
in excel.

what I have in the report file:
- report dataset exposing decimal(20,5) fields
- report cells with Format=N Language=French

what I have in web and excel result:
- correct displayed format (thousands separator and 2 decimal
precision)

my issue:
in excel, the amount cells are displayed with a warning: 'Number
Stored as Text'

What is the correct setting for excel to understand my numeric amounts
as number (so I can make computations without applying formatting
manually after the export)?

Thanks

Gauthier Segay


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.