Analysis Services Programming
SourceTableFilter (MDStore Interface)
The SourceTableFilter property of the MDStore interface contains the WHERE clause of an SQL statement (without the WHERE keyword) used to determine which fact table records are to be included in the MDStore object.
Applies To
clsCube (excluding virtual cubes)
Data Type
String
Access
Read/write
Remarks
The SQL statement can contain multiple conditions, for example:
"time_by_day"."the_year" = '1997' AND "product"."product_id" = 'soap'
Note You must separate the table and column names with the delimiters that are appropriate to the source database. You can use the CloseQuoteChar and OpenQuoteChar properties of the DataSource object to determine the correct quoting characters.