FAQ
Members List
Calendar
Mark Forums Read
begginer: i need to get columns from keys in rows , that's OLAP ?
dbTalk Databases Forums
Databases
microsoft.public.sqlserver.olap
begginer: i need to get columns from keys in rows , that's OLAP ?
microsoft.public.sqlserver.olap
microsoft.public.sqlserver.olap
Discuss
begginer: i need to get columns from keys in rows , that's OLAP ?
in the
microsoft.public.sqlserver.olap
forum.
Thread Tools
Display Modes
#
1
bajopalabra
Posts: n/a
begginer: i need to get columns from keys in rows , that's OLAP ? -
11-18-2005 , 08:09 AM
hi
i think i begin to understand...
i need to obtain columns
from multi-key rows
can olap help me ?
example
starting with that ...
YEAR | PRODUCT | TOTAL
--------------------------------
2005 | A | 190
2005 | B | 200
2006 | A | 180
2006 | B | 210
2006 | C | 300
i need to get this
Quote:
A B C
2005 | 190 200 --
2006 | 180 210 300
thanks
--
atte, Hernán
bajopalabra
#
2
Milind
Posts: n/a
Re: begginer: i need to get columns from keys in rows , that's OLAP ? -
11-18-2005 , 09:48 AM
Yes, you can make dimensions "Time" with levels Year, Month, Day and
"Product". Make Total as a Measure.
Then a simple MDX query like
select {[Time].[Year].members} on rows,
{[Product].members} on columns
from <your cube name>
would give you the desired result.
HTH
Milind
Milind
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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.
Contact Us
-
dbTalk Databases Forums
-
Archive
-
Top