Re: Multiselect dimension
- From: "Jeje" <willgart@xxxxxxxxxxx>
- Date: Fri, 6 Oct 2006 18:34:35 -0400
to access an attribute:
<dimension>.<attribute>
to access a user defined hierarchy:
<dimension>.<hierarchy name>
I don't kown what are your attributes and user hierarchy in the cost
division dimension.
but you have to use something like:
extract(axis(1), [Cost Division].[<cost division leaf level
attribute>]).Count
"Kalyan" <Kalyan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FCEC313D-4FF9-4C13-BF47-EB86D7B8B27A@xxxxxxxxxxxxxxxx
hi
I tried like this
extract(axis(1), [Cost Division].(all)).Count
Still getting same error msg. please help me
"Kalyan" wrote:
JeJe
Thanks for reply. I am new to mdx query,
how to i get attribute name. I created dimension through wizard, No where
it
asked attibute, can u tell me how to get attibute name or define to a
dimension.
"Jéjé" wrote:
try:
extract(axis(1), [Cost Division].[my hierarchy]).Count
or
these formulas can produce errors if the user has nothing in rows or if
the
Cost Division dimension is not used in the MDX source query.
"Kalyan" <Kalyan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9B9E4A74-2AED-4E02-A439-1DEEAA22D1F5@xxxxxxxxxxxxxxxx
I entered formula like this in calculated member box
Cost Division is my dimension name
extract(axis(1), [Cost Division]).Count
Getting error msg.
Unable to update calculated member
Formula - no set holder - when referencing a named <set>
why i am getting this error
Thanks
Kalyan
"Jéjé" wrote:
axis(1) return the row set.
This can include multiple dimensions & members.
to count 1 particular dimension only in this set:
extract(axis(1), <Dimension to extract>).Count
"Kalyan" <Kalyan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6B493D16-DEF9-4BB4-82CF-966076D7BD9E@xxxxxxxxxxxxxxxx
how do i specify dimension with axis(1).count
in my example, dimension name is [country]
"Kalyan" wrote:
Thanks JeJe, I want to create calculated member, how do i use
axis
function
in calculated member, can you give example.
Yesterday I asked about cube processing, I created noncluster
index
on
all
the dimension columns, now it is taking about 10 min, Is this
correct
method,
I tried sp_updatestats and defrag index, finally i created index
on
dimension
column that solved. Thanks for giving startup to think.
Waiting for your reply
thanks
kalyan
"Jeje" wrote:
use the axis function
axis(0) returns columns
axis(1) returns rows
so axis(1).count should return the number of members.
"Kalyan" <Kalyan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:944A7574-EB78-4AD6-9AB7-1FFA497E571A@xxxxxxxxxxxxxxxx
Cube browser allow user to multiselect in a dimension, Is
there
anyway to
count how many dimension's value user selected. I am using
AS2000.
for example
I have country dimension
Country
USA
Canada
Mexico
England
Spain
France
Italy
India
Singapore
Malayasia
...
...
In the above dimesnion,
If user select
Selection Result
USA,Canada,Mexico 3
England,Italy 2
India 1
India,Singapore 2
Any help
Thanks
Kalyan
.
- Follow-Ups:
- Re: Multiselect dimension
- From: Kalyan
- Re: Multiselect dimension
- References:
- Re: Multiselect dimension
- From: Jeje
- Re: Multiselect dimension
- From: Kalyan
- Re: Multiselect dimension
- From: Kalyan
- Re: Multiselect dimension
- From: Jéjé
- Re: Multiselect dimension
- From: Kalyan
- Re: Multiselect dimension
- From: Jéjé
- Re: Multiselect dimension
- From: Kalyan
- Re: Multiselect dimension
- From: Kalyan
- Re: Multiselect dimension
- Prev by Date: Re: Reporting Services process Analysis Services cube with 100% CPU
- Next by Date: Cube names
- Previous by thread: Re: Multiselect dimension
- Next by thread: Re: Multiselect dimension
- Index(es):
Relevant Pages
|