dbTalk Databases Forums  

Dimensions - booleans

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


Discuss Dimensions - booleans in the microsoft.public.sqlserver.olap forum.



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

Default Dimensions - booleans - 11-06-2003 , 09:19 PM






(I am using Analysis Services in case you are wondering...)

I have a cube, and in the fact table there is a column, where the values are
bit (ie boolean, true/false etc etc)

I created a dimension from this column (right click on the column name in
the cube editor, select 'Insert as Dimension')

When I process my cube and go to view the data, the values that I get for
this dimension is 0 and -1.
I swear before when I did it, I got 'True' and 'False', but now I can't seem
to change it so it says that.

What I want to know - is there anyway I can get the 0 and -1 and change
these values to something more meaningful eg true and false ?

The thing is, I will be giving these cubes to the marketing people and they
wont understand what 0 and -1 means



Reply With Quote
  #2  
Old   
Vanchi
 
Posts: n/a

Default Dimensions - booleans - 11-11-2003 , 02:29 AM






Hi,
To get the Members as True or False,
You can cast the Member Name Column as follows:

CAST("dbo"."table_name"."field_name" as bit)

Note: Member Name Column is under the Properties window
for the Particular Dimension.

Regards,
vanchi

Quote:
-----Original Message-----
(I am using Analysis Services in case you are
wondering...)

I have a cube, and in the fact table there is a column,
where the values are
bit (ie boolean, true/false etc etc)

I created a dimension from this column (right click on
the column name in
the cube editor, select 'Insert as Dimension')

When I process my cube and go to view the data, the
values that I get for
this dimension is 0 and -1.
I swear before when I did it, I got 'True' and 'False',
but now I can't seem
to change it so it says that.

What I want to know - is there anyway I can get the 0
and -1 and change
these values to something more meaningful eg true and
false ?

The thing is, I will be giving these cubes to the
marketing people and they
wont understand what 0 and -1 means


.


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.