SSRS: A summary report based on a parent-child recursive relationship is implemented in the Cube through an MDX query

Source: Internet
Author: User

I wrote an article about summarizing and aggregating this parent-child relationship in SSRS development (SSRS series-Using the group group attribute to implement a summary report based on parent-child recursion), the query in the example is based on the SQL Server relational database, which is based on the MDX parent-child dimension SSRS report.

Using the time dimension in the previous article (the SSAS series-about the design of parent-child dimensions) and the parent-child Dimension and (SSAS series-Custom Date dimension design), create the Cube and deploy it on this basis.

Of course, the time dimension may not be used in this example because the SSDT development tool prompts you not to create a cube that contains only one dimension while the cube is being created.

Once the deployment is complete, we can look at the corresponding dimension and measure data through MDX.

SELECT ([measures].[ Sales Amount]) on COLUMNS,
       NON EMPTY ([employee].[ Employees]. Members) in ROWS from
[Biwork_parentchilddemo]

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.