dbTalk Databases Forums  

How to: Create a dimension from 3 columns

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


Discuss How to: Create a dimension from 3 columns in the microsoft.public.sqlserver.olap forum.



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

Default How to: Create a dimension from 3 columns - 03-01-2004 , 09:32 AM






Hello!
Here is the problem:

I have this table with the following columns: Key; ValueA; ValueB;
ValueC.
Key column is the variable that makes the connection between the fact
table and the dimension table.
And i want to create a dimension with ValueA; ValueB; ValueC; at the
same level!
Is this possible? Or i have to create 3 dimensions one for eache
value?

Thanks

Botinha

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

Default RE: How to: Create a dimension from 3 columns - 03-01-2004 , 10:01 AM






Hi

AFAIK,You will have to create 3 Dimensions

Cheers
Sank

----- Botinha wrote: ----

Hello
Here is the problem

I have this table with the following columns: Key; ValueA; ValueB
ValueC
Key column is the variable that makes the connection between the fac
table and the dimension table
And i want to create a dimension with ValueA; ValueB; ValueC; at th
same level
Is this possible? Or i have to create 3 dimensions one for each
value

Thank

Botinh


Reply With Quote
  #3  
Old   
Ray Higdon
 
Posts: n/a

Default Re: How to: Create a dimension from 3 columns - 03-04-2004 , 04:55 AM



You can use a view

(simple example, depending on data types might need to be changed)

create view blah as
select a + B + C
from table

Then reference the view as a dim in your cube.

--
Ray Higdon MCSE, MCDBA, CCNA
---
"Botinha" <botinha (AT) netcabo (DOT) pt> wrote

Quote:
Hello!
Here is the problem:

I have this table with the following columns: Key; ValueA; ValueB;
ValueC.
Key column is the variable that makes the connection between the fact
table and the dimension table.
And i want to create a dimension with ValueA; ValueB; ValueC; at the
same level!
Is this possible? Or i have to create 3 dimensions one for eache
value?

Thanks

Botinha



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.