dbTalk Databases Forums  

Filter dimension in OWC

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


Discuss Filter dimension in OWC in the microsoft.public.sqlserver.olap forum.



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

Default Filter dimension in OWC - 03-14-2006 , 02:41 PM






I've got a dimension in the OWC11 that comes already filtered (using MDX, 3
of 5 items). Is there any way to don't let the user change the filter?, I
mean, deactivate the OWC dimension.

Reply With Quote
  #2  
Old   
Darren Gosbell
 
Posts: n/a

Default Re: Filter dimension in OWC - 03-15-2006 , 04:07 AM






In article <C9E865AD-4CCE-4BCE-B90B-DB997AEFA829 (AT) microsoft (DOT) com>,
lumina (AT) nospam (DOT) com says...
Quote:
I've got a dimension in the OWC11 that comes already filtered (using MDX, 3
of 5 items). Is there any way to don't let the user change the filter?, I
mean, deactivate the OWC dimension.

One possible solution, which would not scale very well, but would work
if this is a once off, is to create a virtual cube. In that virtual cube
you can include all the dimensions from the base cube, but set your
filtering dimensions visible property to false in the virtual cube. Then
you can override that dimensions All Member formula in the virtual cube
to be something like "SUM({<member 1>,<member 2>,<member 3>})"

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell


Reply With Quote
  #3  
Old   
Lumina
 
Posts: n/a

Default Re: Filter dimension in OWC - 03-15-2006 , 06:26 AM



Thankyou Darren, but i need to dynamically do this, that is according to the
user who this viewing the page, therefore I cannot generate a cube to the
flight.


"Darren Gosbell" wrote:

Quote:
In article <C9E865AD-4CCE-4BCE-B90B-DB997AEFA829 (AT) microsoft (DOT) com>,
lumina (AT) nospam (DOT) com says...
I've got a dimension in the OWC11 that comes already filtered (using MDX, 3
of 5 items). Is there any way to don't let the user change the filter?, I
mean, deactivate the OWC dimension.


One possible solution, which would not scale very well, but would work
if this is a once off, is to create a virtual cube. In that virtual cube
you can include all the dimensions from the base cube, but set your
filtering dimensions visible property to false in the virtual cube. Then
you can override that dimensions All Member formula in the virtual cube
to be something like "SUM({<member 1>,<member 2>,<member 3>})"

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell


Reply With Quote
  #4  
Old   
Darren Gosbell
 
Posts: n/a

Default Re: Filter dimension in OWC - 03-16-2006 , 06:19 AM



Have you looked into using dimensional security? Or are you trying to
just set a preferred default rather than enforcing a strict restriction.

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <DD23E887-470B-4D73-B97F-62F4926E019C (AT) microsoft (DOT) com>,
lumina (AT) nospam (DOT) com says...
Quote:
Thankyou Darren, but i need to dynamically do this, that is according to the
user who this viewing the page, therefore I cannot generate a cube to the
flight.


"Darren Gosbell" wrote:

In article <C9E865AD-4CCE-4BCE-B90B-DB997AEFA829 (AT) microsoft (DOT) com>,
lumina (AT) nospam (DOT) com says...
I've got a dimension in the OWC11 that comes already filtered (using MDX, 3
of 5 items). Is there any way to don't let the user change the filter?, I
mean, deactivate the OWC dimension.


One possible solution, which would not scale very well, but would work
if this is a once off, is to create a virtual cube. In that virtual cube
you can include all the dimensions from the base cube, but set your
filtering dimensions visible property to false in the virtual cube. Then
you can override that dimensions All Member formula in the virtual cube
to be something like "SUM({<member 1>,<member 2>,<member 3>})"

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell



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.