SSRS: A report that implements a grouped aggregation feature using an MDX query with parameters

Source: Internet
Author: User

Based on the Data Warehouse SSRS report display, can generally directly through the SQL query, stored procedures, views or tables and other ways to load the data and present in the report. However, if you are based on a cube's data query, you can no longer use SQL syntax and should use MDX queries. For articles on MDX and other SSRS, see the BI Series Essays list (SSIS, SSRS, SSAS, MDX, SQL Server)

This is the report effect we want to implement and the database example used is the SSAS DEMO database for MDX step by step 2008.

Effect-Category by Product group and renders sales for all fiscal year.

The sales data for Product Sub Category can be seen after the expansion.

In layman's terms, the process from data Warehouse to cube is the process of three-dimensional plane data, in which the aggregation of data from different angles is added. And the process from cube to SSRS report is the opposite of the result of stereoscopic data flatness.

Analyze the above requirements, which need to be married to Category, subcategory, Calendar year and reseller Sales Amount data. SSRS reports can be very quickly grouped and aggregated for flattened data, so the requirements above need to be sorted out to get a datasheet prototype.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.