Databases Reference
In-Depth Information
</Tuple>
<Tuple>
<Member Hierarchy=”[Data Stores].[ByLocation]”>
<UName>
[Data Stores].[ByLocation].[State].&amp;[CA].&amp;[City 09]
</UName>
<Caption>City 09</Caption>
<LName>[Data Stores].[ByLocation].[City]</LName>
<LNum>2</LNum>
<DisplayInfo>131073</DisplayInfo>
</Member>
</Tuple>
<Tuple>
<Member Hierarchy=”[Data Stores].[ByLocation]”>
<UName>[Data Stores].[ByLocation].[State].&amp;[CA]</UName>
<Exception xmlns=”urn:schemas-microsoft-com:xml-analysis
:exception” />
</Member>
</Tuple>
</Tuples>
</Axis>
</Axes>
<Messages xmlns=”urn:schemas-microsoft-com:xml-analysis:exception”>
<Error ErrorCode=”3238658205” Description=”The string, ******, is not a valid
expression for the Pattern argument of the VisualTotals function. Use the asterisk
(*) character.” Source=”Microsoft SQL Server 2008 Analysis Services” HelpFile=”” />
</Messages>
</root>
Errors That Occur During Cell Calculation
When an error occurs during the calculation of a cell value, there is a good chance that
the other cells are, nonetheless, valid and contain useful data. In this case, Analysis
Services does not generate a Fault element; instead, it places an Error element as a data
value of the failed cell.
The following MDX statement creates a calculated member using the MDX function
Order , which accepts only the Set expression as the first parameter, not a string expres-
sion. Execution of this statement results in an MDDataset resultset with cell data that
contains some Error elements:
WITH member measures.x AS 'Order(“string”,4)' select {x} ON COLUMNSFROM [Warehouse
and Sales]
<CellData>
<Cell CellOrdinal=”0”>
Search WWH ::




Custom Search