dbTalk Databases Forums  

Help filtering certain dimension values from dimension table while building a cube.

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


Discuss Help filtering certain dimension values from dimension table while building a cube. in the microsoft.public.sqlserver.olap forum.



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

Default Help filtering certain dimension values from dimension table while building a cube. - 11-05-2003 , 02:24 PM







I wanted to filter certain dimension values from the dimension table,
while building the cube.



I used the SOURCE TABLE FILTER property on the dimension table and
processed the cube, but it seems to include the dimension which I
intend to exclude and resulted in incorrect totals.



When I used the SOURCE TABLE FILTER property on the FACT table, by
specifying the dimension value I wanted to exclude, it does seem to
exclude that value and generated the correct totals.



I have to exclude multiple values from 10 dimension tables, while
building the cube itself, so that the totals are correct.



I used the same SOURCE TABLE FILTER property on the fact table and
tried to write the string to exclude values from 10 dimension tables,
but the drop down accepts only upto 3 dimensions (some thing like
"AAA_DIM"."AAA"=1 and "BBB_DIM"."BBB"="a" and "CCC_DIM"."CCC"="XYZ").



Please let me know if there is a limit on the length of the string
or the number of values that can be filtered. Is there a work around
to filter certain dimension values from dimension table while
building a cube.



Thanks in advance.


--
Posted via http://dbforums.com

Reply With Quote
  #2  
Old   
Tom Chester
 
Posts: n/a

Default Re: Help filtering certain dimension values from dimension table while building a cube. - 11-05-2003 , 02:37 PM






I recommend implementing this logic in view(s), then use the view(s) to
source dims/cubes.

tom @ the domain below
www.tomchester.net


"Ashreya" <member45130 (AT) dbforums (DOT) com> wrote

Quote:
I wanted to filter certain dimension values from the dimension table,
while building the cube.



I used the SOURCE TABLE FILTER property on the dimension table and
processed the cube, but it seems to include the dimension which I
intend to exclude and resulted in incorrect totals.



When I used the SOURCE TABLE FILTER property on the FACT table, by
specifying the dimension value I wanted to exclude, it does seem to
exclude that value and generated the correct totals.



I have to exclude multiple values from 10 dimension tables, while
building the cube itself, so that the totals are correct.



I used the same SOURCE TABLE FILTER property on the fact table and
tried to write the string to exclude values from 10 dimension tables,
but the drop down accepts only upto 3 dimensions (some thing like
"AAA_DIM"."AAA"=1 and "BBB_DIM"."BBB"="a" and "CCC_DIM"."CCC"="XYZ").



Please let me know if there is a limit on the length of the string
or the number of values that can be filtered. Is there a work around
to filter certain dimension values from dimension table while
building a cube.



Thanks in advance.


--
Posted via http://dbforums.com



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

Default Re: Help filtering certain dimension values from dimension table while building a cube. - 11-06-2003 , 09:55 AM




Thanks tom. I will try using views.


--
Posted via http://dbforums.com

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.