dbTalk Databases Forums  

Get TopN out of multiple partitions of a cube?

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


Discuss Get TopN out of multiple partitions of a cube? in the microsoft.public.sqlserver.olap forum.



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

Default Get TopN out of multiple partitions of a cube? - 07-16-2003 , 12:27 PM






Hi:

I have a cube with multiple partitions. Can I get topn count amoung multiple
partitions (say: partition 2, 3 and 7) in one shot using MDX?

Thanks for your help.



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

Default What I meant was ... Re: Get TopN out of multiple partitions of a cube? - 07-16-2003 , 03:06 PM






can we query selected partitions of a cube. For example, if a cube has 10
partitions, can I make a single query for partition 2,4,6 and 8?

Thanks for your thoughts

"Tom Chester" <publicNOSPAM (AT) tomchester (DOT) net> wrote

Quote:
It happens transparently and automatically. From front-end perspective,
there is no such thing as paritions, just the cube.

tom @ the domain below
www.tomchester.net


"Polaris" <etpolaris (AT) hotmail (DOT) com> wrote in message
news:O9NC2YvSDHA.2480 (AT) tk2msftngp13 (DOT) phx.gbl...
Hi:

I have a cube with multiple partitions. Can I get topn count amoung
multiple
partitions (say: partition 2, 3 and 7) in one shot using MDX?

Thanks for your help.







Reply With Quote
  #3  
Old   
Sean Boon [MS]
 
Posts: n/a

Default Re: What I meant was ... Re: Get TopN out of multiple partitions of a cube? - 07-16-2003 , 05:04 PM



Could you elaborate more on why you would want to do this?


Thanks,

Sean


--
Sean Boon
SQL Server BI Product Unit

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.

"Polaris" <etpolaris (AT) hotmail (DOT) com> wrote

Quote:
can we query selected partitions of a cube. For example, if a cube has 10
partitions, can I make a single query for partition 2,4,6 and 8?

Thanks for your thoughts

"Tom Chester" <publicNOSPAM (AT) tomchester (DOT) net> wrote in message
news:lAhRa.44$oY1.35110 (AT) news (DOT) uswest.net...
It happens transparently and automatically. From front-end perspective,
there is no such thing as paritions, just the cube.

tom @ the domain below
www.tomchester.net


"Polaris" <etpolaris (AT) hotmail (DOT) com> wrote in message
news:O9NC2YvSDHA.2480 (AT) tk2msftngp13 (DOT) phx.gbl...
Hi:

I have a cube with multiple partitions. Can I get topn count amoung
multiple
partitions (say: partition 2, 3 and 7) in one shot using MDX?

Thanks for your help.









Reply With Quote
  #4  
Old   
Matt Carroll [MS]
 
Posts: n/a

Default Re: What I meant was ... Re: Get TopN out of multiple partitions of a cube? - 07-17-2003 , 02:28 PM



You can get totals for any combinations of months - no need for the client
to know or care about the partitions. In MDX you create a calculated member
that aggregates the set of these months. The MDX would look something like:

WITH MEMBER Time.SomeMonths as 'Aggregate(Time.January, Time.June,
Time.October)'
SELECT {Time.SomeMonths} on 0,
<whatever your interested in> on 1
FROM <somecube>

-Matt Carroll
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Polaris" <etpolaris (AT) hotmail (DOT) com> wrote

Quote:
Hi:

I store 12 months of sales on 12 partitions. I like to be able to get
totals
from any combinations of months, not only total from 12 month.

May be I should use a virtual cube contains 12 cubes in this case?

Thanks


Sean Boon [MS] <seanboon (AT) online (DOT) microsoft.com> wrote in message
news:eIr5LZ#SDHA.3636 (AT) tk2msftngp13 (DOT) phx.gbl...
Could you elaborate more on why you would want to do this?


Thanks,

Sean


--
Sean Boon
SQL Server BI Product Unit

--
This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.

"Polaris" <etpolaris (AT) hotmail (DOT) com> wrote in message
news:#w765W9SDHA.2460 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
can we query selected partitions of a cube. For example, if a cube has
10
partitions, can I make a single query for partition 2,4,6 and 8?

Thanks for your thoughts

"Tom Chester" <publicNOSPAM (AT) tomchester (DOT) net> wrote in message
news:lAhRa.44$oY1.35110 (AT) news (DOT) uswest.net...
It happens transparently and automatically. From front-end
perspective,
there is no such thing as paritions, just the cube.

tom @ the domain below
www.tomchester.net


"Polaris" <etpolaris (AT) hotmail (DOT) com> wrote in message
news:O9NC2YvSDHA.2480 (AT) tk2msftngp13 (DOT) phx.gbl...
Hi:

I have a cube with multiple partitions. Can I get topn count
amoung
multiple
partitions (say: partition 2, 3 and 7) in one shot using MDX?

Thanks for your help.













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

Default Re: What I meant was ... Re: Get TopN out of multiple partitions of a cube? - 07-17-2003 , 08:36 PM



Hi:

I store 12 months of sales on 12 partitions. I like to be able to get totals
from any combinations of months, not only total from 12 month.

May be I should use a virtual cube contains 12 cubes in this case?

Thanks


Sean Boon [MS] <seanboon (AT) online (DOT) microsoft.com> wrote

Quote:
Could you elaborate more on why you would want to do this?


Thanks,

Sean


--
Sean Boon
SQL Server BI Product Unit

--
This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.

"Polaris" <etpolaris (AT) hotmail (DOT) com> wrote in message
news:#w765W9SDHA.2460 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
can we query selected partitions of a cube. For example, if a cube has
10
partitions, can I make a single query for partition 2,4,6 and 8?

Thanks for your thoughts

"Tom Chester" <publicNOSPAM (AT) tomchester (DOT) net> wrote in message
news:lAhRa.44$oY1.35110 (AT) news (DOT) uswest.net...
It happens transparently and automatically. From front-end
perspective,
there is no such thing as paritions, just the cube.

tom @ the domain below
www.tomchester.net


"Polaris" <etpolaris (AT) hotmail (DOT) com> wrote in message
news:O9NC2YvSDHA.2480 (AT) tk2msftngp13 (DOT) phx.gbl...
Hi:

I have a cube with multiple partitions. Can I get topn count amoung
multiple
partitions (say: partition 2, 3 and 7) in one shot using MDX?

Thanks for your help.











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.