dbTalk Databases Forums  

Banding in calculated measures

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


Discuss Banding in calculated measures in the microsoft.public.sqlserver.olap forum.



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

Default Banding in calculated measures - 09-23-2004 , 11:01 AM






I am trying to create calculated measures which will show
amount X for items where amount Y falls within specified
bands, e.g. under 10,000, 10,000 - 20,000, etc.
I am trying MDX as follows:
Not IsEmpty(Sum(Filter({[Policy].[NewCOB].[Polid].Members},
([Measures].[Our Share Limit Conv]) < 10000), [Measures].
[Our Share EPI CONV]))

where the PolId level is the level I want to display
figures at, the Our Share Limit Conv controls the bands,
and the measure I want to actually see is Our Share EPI
Conv, but when I try to use this in ProClarity the query
never comes back. Could anyone help me with what I have
done wrong, please?
Thank you


Reply With Quote
  #2  
Old   
 
Posts: n/a

Default Banding in calculated measures - 09-24-2004 , 09:23 AM







Quote:
-----Original Message-----
I am trying to create calculated measures which will show
amount X for items where amount Y falls within specified
bands, e.g. under 10,000, 10,000 - 20,000, etc.
I am trying MDX as follows:
Not IsEmpty(Sum(Filter({[Policy].[NewCOB].
[Polid].Members},
([Measures].[Our Share Limit Conv]) < 10000), [Measures].
[Our Share EPI CONV]))

where the PolId level is the level I want to display
figures at, the Our Share Limit Conv controls the bands,
and the measure I want to actually see is Our Share EPI
Conv, but when I try to use this in ProClarity the query
never comes back. Could anyone help me with what I have
done wrong, please?
Thank you

.

Would anyone reading this please ignore my original
question as I have now resolved it
(FYI the correct MDX is
Sum(Filter(Descendants([Policy].[NewCOB].CurrentMember,
[PolId]),[Measures].[Our Share Limit Conv] < 500000),
[Measures].[Our Share EPI CONV])

)
However, I need to be able to have bands based on this
limit on the rows of the grid and bands based on a
different amount on the columns - but as these will all be
Measures I can't see how to do this, if it is possible at
all. Any ideas gratefully received!
Thanks
Rachel


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.