dbTalk Databases Forums  

Visual Studio and Cube Browser

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


Discuss Visual Studio and Cube Browser in the microsoft.public.sqlserver.olap forum.



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

Default Visual Studio and Cube Browser - 09-28-2006 , 01:20 AM







Guys, I am using Visual Studio to browse a cube. In the cube browser I
do not understand the difference between the Filter Expression area and
the "Drop Filter Fields Here" area. As far as I can tell, they should do
exactly the same thing. However I have a situation where they do not. I
am using the Tutorial, and am browsing variabes "Internet sales -sales
amount" and "Sales amount quota".

If I use the "Drop Filter Fields Here" area and restrict to Fiscal Year
2004 I get the correct value in both measures.

If I use the Filter Expression area to do the same restriction I get
the correct value for "Internet sales -sales amount" but the "Sales
amount quota". shows a value representing all years.

If I use "Sales amount quota" in a KPI, the KPI screen supports the
Filter Expression area but not the "Drop Filter Fields Here" area, and
so does not produce the correct results.

Can someone explain how these two areas differ and what the effect of
filtering in each should be.

Thank


--
CliffordS



Reply With Quote
  #2  
Old   
Marco Russo
 
Posts: n/a

Default Re: Visual Studio and Cube Browser - 09-29-2006 , 02:30 AM






The "Filter expression area" defines a subcube: it has effects on
metadata navigation, in fact if you filter here a single year, you will
see that the same date dimension you place in the cube is filtered by
only the members (year and children) you filtered above.
The "Drop Filter Fields Here" area defines the WHERE condition of an
MDX SELECT statement. The behavior is different because even if the
result is the same, you could have different performance (Filter
expression area is normally faster).

Marco Russo
http://www.sqljunkies.com/weblog/sqlbi
http://www.sqlbi.eu


CliffordS wrote:
Quote:
Guys, I am using Visual Studio to browse a cube. In the cube browser I
do not understand the difference between the Filter Expression area and
the "Drop Filter Fields Here" area. As far as I can tell, they should do
exactly the same thing. However I have a situation where they do not. I
am using the Tutorial, and am browsing variabes "Internet sales -sales
amount" and "Sales amount quota".

If I use the "Drop Filter Fields Here" area and restrict to Fiscal Year
2004 I get the correct value in both measures.

If I use the Filter Expression area to do the same restriction I get
the correct value for "Internet sales -sales amount" but the "Sales
amount quota". shows a value representing all years.

If I use "Sales amount quota" in a KPI, the KPI screen supports the
Filter Expression area but not the "Drop Filter Fields Here" area, and
so does not produce the correct results.

Can someone explain how these two areas differ and what the effect of
filtering in each should be.

Thank


--
CliffordS



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.