Tree drill report in reportingservice

Source: Internet
Author: User

Tree-based reports are a common type of reports. From the perspective of development, they actually add reports with several groups and aggregate some data through the group of some fields, this allows end users to get more intuitive data. RS provides a foldable tree property for us to make beautiful fold reports.

The following is a demonstration of its practice.

The data source is:

Select 'a as supplier, 2008 as year, 1 as month, 9 as revenue

Union select 'A' as supplier, 2007,5, 9

Union select 'A' as supplier, 9

Union select 'A' as supplier, 9

Union select 'B' as supplier, 9

Union select 'C' as supplier, 9

Returned data:

Draw a simple layout, and add three groups: supplier, year, and month,

After adding a group, add data to the groupheader respectively. After adding the data, the report is

Set the name of the first cell in the first group in the figure to supplier, the second cell in the second group to year, and the third cell in the third group to month, for example:

After all settings are complete, select the third row and click Properties.

After setting properties, click visibility and set hidden to true. In toggleitem, select supplier.

Set row 4

Set the last line

After the settings are completed, the last foldable figure is:

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.