Skip to main content

Perform report analysis on subform data

1. Perform report analysis on Subforms

FormAndFlow chartThe data submitted inReport pageAs a data source for further analysis;

When a subform exists in a form, additional processing is performed YIDA to support analysis.

The following describes a specific scenario (purchase order).

1.1 Purchase form design is as follows

Purchase form

Purchase orderBelowPurchase order number,Purchase Date,Purchase subformThree components

Purchase subformBelowTrade name,Incoming quantityTwo components

1.2 Relationship between forms and data sources in reports

  • On the report page, you need to select a dataset, which isFlow chart/form. The column fields in the report dataset are the components in the form. (Due to the particularity of subform components, no mapping is performed)
  • Subform components can accommodate other form components and can submit multiple pieces of data at a time.
  • The subform component is aSubtableThe subform component is independently mapped to an independent dataset in the report, namedForm name-subform name(For example, purchase order form)

Select a data source

After selecting the dataset, you need to select the column fields under the dataset (corresponding to the components in the form)

Purchase orderUnder the dataset, there arePurchase order number,Purchase DateTwo column fields

Purchase subformUnder the dataset, there areProduct Name,Incoming quantityTwo column fields

Form field display

  • In the report,Purchase orderAndPurchase order-subformThe results of the two datasets are as follows:

Purchase order and subform data comparison

The data of the purchase subform is placed inPurchase order-purchase subformIn this report dataset, the parent instance ID is equal to the instance ID of the primary table.

2. Show form data and subform data together

In some business scenarios, form data and subform data need to be analyzed together. In this case, multi-table association can be used to implement

The data of the two tables should be linked together. You can useInstance ID of the primary table = parent instance ID of the subform dataAssociate


For example, to associatePurchase orderAndPurchase order-purchase subformThe data of the two tables can be configured as follows:

  • When you select a dataset, SelectMulti-table Association」;
  • Data table"Select 「Purchase orderAndPurchase order-purchase subformTwo tables;
  • SelectAdd Association, select the main tablePurchase order, field selectionInstance ID 」; Select an associated tablePurchase order-purchase subform, field selectionParent instance ID」;
  • Select the fields of the two tables;

Associated form

2.1 Introduction to Association

The left Association is the outer Association, which displays all the data of Table A and Table B. The inner Association only displays the fields associated with table A and Table B.

Left Association

Internal Association

(1) internal Association

The data on both sides is associated, and the intersection is taken. Only the data on both sides can be matched is displayed.

(2) left correlation

Data association between the two sides. The data in the left table shall prevail.

3. Try it online

YIDA in order to better optimize the content and quality of YIDA user manual, it takes you 3-5 minutes to fill in the document feedback questionnaire. The document feedback questionnaire is submitted anonymously, and the questionnaire information is only used for YIDA document experience feedback collection. Thank you for your support for YIDA!

Click here to fill in the questionnaire


-------------------- Get the latest information YIDA, welcome to follow US--------------------

This doc is generated using machine translation. Any discrepancies or differences created in the translation are not binding and have no legal effect for compliance or enforcement purposes.
Copyright © 2024钉钉(中国)信息技术有限公司和/或其关联公司浙ICP备18037475号-4