dbTalk Databases Forums  

Data types for measures in a cube built in AS2005

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Data types for measures in a cube built in AS2005 in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Joos
 
Posts: n/a

Default Data types for measures in a cube built in AS2005 - 06-15-2005 , 05:43 AM






If you add a measure to a cube, you have to (of course) select a data type
for the measure. One of the possibilities is wchar. Is it possible to add
alphanumeric measures to your cube this way? I tried to add one, with
aggregation set to "none", but when trying to deploy, I got the error message
"Errors in the metadata manager. The data type of the 'Test' measure is not
valid because the data type of the measure is a string type."

In the model I have to build, alphanumeric facts would be extremely helpfull!

Thank you in advance for your reaction


Reply With Quote
  #2  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: Data types for measures in a cube built in AS2005 - 06-15-2005 , 04:16 PM






Sorry. Measures have to be numeric, i.e. numbers than rolled up (using one
of the aggregation functions, i.e. sum, min, max, count, etc.). Strings
cannot do that.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Joos" <Joos (AT) discussions (DOT) microsoft.com> wrote

Quote:
If you add a measure to a cube, you have to (of course) select a data type
for the measure. One of the possibilities is wchar. Is it possible to add
alphanumeric measures to your cube this way? I tried to add one, with
aggregation set to "none", but when trying to deploy, I got the error
message
"Errors in the metadata manager. The data type of the 'Test' measure is
not
valid because the data type of the measure is a string type."

In the model I have to build, alphanumeric facts would be extremely
helpfull!

Thank you in advance for your reaction




Reply With Quote
  #3  
Old   
Joos
 
Posts: n/a

Default Re: Data types for measures in a cube built in AS2005 - 06-16-2005 , 11:47 AM



Thanks Dave. It could make sense in certain situations to have alphanumeric
measures, which of course cannot aggregate! And I thought I heard somewhere
this would be possible in 2005.

"Dave Wickert [MSFT]" wrote:

Quote:
Sorry. Measures have to be numeric, i.e. numbers than rolled up (using one
of the aggregation functions, i.e. sum, min, max, count, etc.). Strings
cannot do that.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Joos" <Joos (AT) discussions (DOT) microsoft.com> wrote in message
news:8A90F038-788F-4CBC-A787-F008BA848BCC (AT) microsoft (DOT) com...
If you add a measure to a cube, you have to (of course) select a data type
for the measure. One of the possibilities is wchar. Is it possible to add
alphanumeric measures to your cube this way? I tried to add one, with
aggregation set to "none", but when trying to deploy, I got the error
message
"Errors in the metadata manager. The data type of the 'Test' measure is
not
valid because the data type of the measure is a string type."

In the model I have to build, alphanumeric facts would be extremely
helpfull!

Thank you in advance for your reaction





Reply With Quote
  #4  
Old   
Thierry
 
Posts: n/a

Default Re: Data types for measures in a cube built in AS2005 - 06-17-2005 , 02:38 PM



We had hoped to add string measure in AS2005, but this got cut.

Could you please elaborate on the scenarios for which you would require such
support?
This could be very helpful in our evaluation for whether or not to support
this feature for the next release.

Thanks

Thierry
"Joos" <Joos (AT) discussions (DOT) microsoft.com> wrote

Quote:
Thanks Dave. It could make sense in certain situations to have
alphanumeric
measures, which of course cannot aggregate! And I thought I heard
somewhere
this would be possible in 2005.

"Dave Wickert [MSFT]" wrote:

Sorry. Measures have to be numeric, i.e. numbers than rolled up (using
one
of the aggregation functions, i.e. sum, min, max, count, etc.). Strings
cannot do that.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Joos" <Joos (AT) discussions (DOT) microsoft.com> wrote in message
news:8A90F038-788F-4CBC-A787-F008BA848BCC (AT) microsoft (DOT) com...
If you add a measure to a cube, you have to (of course) select a data
type
for the measure. One of the possibilities is wchar. Is it possible to
add
alphanumeric measures to your cube this way? I tried to add one, with
aggregation set to "none", but when trying to deploy, I got the error
message
"Errors in the metadata manager. The data type of the 'Test' measure is
not
valid because the data type of the measure is a string type."

In the model I have to build, alphanumeric facts would be extremely
helpfull!

Thank you in advance for your reaction







Reply With Quote
  #5  
Old   
Joos
 
Posts: n/a

Default Re: Data types for measures in a cube built in AS2005 - 06-20-2005 , 01:52 AM



I am building a financial cube for a customer. Some of the "facts" contain
string information. Of course this info can be transformed to dimensions, but
this does not add any analysis value and it makes building reports more
difficult. Moreover the string values can change over the time dimension. For
this customer string measures would be very helpful...

Joos

"Thierry" wrote:

Quote:
We had hoped to add string measure in AS2005, but this got cut.

Could you please elaborate on the scenarios for which you would require such
support?
This could be very helpful in our evaluation for whether or not to support
this feature for the next release.

Thanks

Thierry
"Joos" <Joos (AT) discussions (DOT) microsoft.com> wrote in message
newsA56F681-6A6F-4A38-90E5-7E92B44CC755 (AT) microsoft (DOT) com...
Thanks Dave. It could make sense in certain situations to have
alphanumeric
measures, which of course cannot aggregate! And I thought I heard
somewhere
this would be possible in 2005.

"Dave Wickert [MSFT]" wrote:

Sorry. Measures have to be numeric, i.e. numbers than rolled up (using
one
of the aggregation functions, i.e. sum, min, max, count, etc.). Strings
cannot do that.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Joos" <Joos (AT) discussions (DOT) microsoft.com> wrote in message
news:8A90F038-788F-4CBC-A787-F008BA848BCC (AT) microsoft (DOT) com...
If you add a measure to a cube, you have to (of course) select a data
type
for the measure. One of the possibilities is wchar. Is it possible to
add
alphanumeric measures to your cube this way? I tried to add one, with
aggregation set to "none", but when trying to deploy, I got the error
message
"Errors in the metadata manager. The data type of the 'Test' measure is
not
valid because the data type of the measure is a string type."

In the model I have to build, alphanumeric facts would be extremely
helpfull!

Thank you in advance for your reaction








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.