Creating Report Datasets from SQL Server Analysis Services
Reporting Services provides a data processing extension that supports report data retrieval from a Microsoft SQL Server Analysis Services data source. This data processing extension retrieves dimensions, hierarchies, levels, Key Performance Indicators (KPIs), measures, and attributes from a Microsoft SQL Server Analysis Services cube or metadata from Data Mining models for use as report data.
After you have connected to an Analysis Services data source, you can define a dataset that specifies the report data to retrieve during report processing by using either Multidimensional Expression (MDX) queries or Data Mining Prediction (DMX) queries. You can use an MDX graphical query designer or a DMX graphical query designer to build a query by browsing and selecting from the underlying data structures on the data source. When Reporting Services first connects to a Microsoft SQL Server Analysis Services data source, if it detects a valid cube, the default query designer is MDX. If there is no valid cube, but there is a valid Data Mining model, the default query designer is DMX. After you build a query, you can run the query to see sample data in the results pane. The query results are automatically retrieved as a flattened rowset, ready to be used as report data.
The query designer analyzes the query to determine the dataset fields. You can also manually edit the dataset field collection in the Report Data pane. For more information, see How to: Add, Edit, or Delete a Field in the Report Data Pane.
The text-based query designer is read-only for this data source. You cannot import .mdx or .dmx files and use them directly in a query. Result sets from Analysis Services cubes are retrieved through the XML for Analysis (XMLA) protocol as a flattened row set. Ragged hierarchies are not supported. For more information, see XML for Analysis Overview (XMLA) and Working with Ragged Hierarchies.
You can import queries from existing reports that use Analysis Services data sources. For more information, see How to: Retrieve Data from an Analysis Services Cube (MDX).
For more information about the user interface, see Analysis Services MDX Query Designer User Interfaceand Analysis Services DMX Query Designer User Interface.