dbTalk Databases Forums  

MSAS 2005: Filter dimension by attribute value

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


Discuss MSAS 2005: Filter dimension by attribute value in the microsoft.public.sqlserver.olap forum.



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

Default MSAS 2005: Filter dimension by attribute value - 05-07-2006 , 10:04 PM






Hello,
I need to filter a dimension by input attribute value, (in MSAS 2000 it was
done by using member properties) something like this:
filter(iif([UserAccress].CurrentMember.Attribute1 = 'Peter'.....
Any help is greatly appreciated.

Reply With Quote
  #2  
Old   
sherin via SQLMonster.com
 
Posts: n/a

Default Re: MSAS 2005: Filter dimension by attribute value - 05-16-2006 , 07:35 AM






hi
you can do the filtering in the 'WHERE' part

select
.... ......on columns,
.... .......on rows
from........
where [useraccess].[dimension member name].[peter]

if u have a dimension 'useraccess' with a dimension member 'names' which
store all the names
then the 'where' part will be

where [useraccess].[names].[peter]
hope u got it.

sherin


leo wrote:
Quote:
Hello,
I need to filter a dimension by input attribute value, (in MSAS 2000 it was
done by using member properties) something like this:
filter(iif([UserAccress].CurrentMember.Attribute1 = 'Peter'.....
Any help is greatly appreciated.
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...-olap/200605/1


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.