If multiple datasets come from the same data source, I recommend combining queries.
If multiple datasets come from different data sources, you can link them together using the shared dataset feature in BIRT.
To link two separate datasets together:
- Right-click on the datasets in the Data Explorer panel in the BIRT Report Designer and select New Dataset.
- In the New Collocated Dataset dialog box, select the dataset and field ("Operator" here) to be combined in the left list.
- Select the type of connection (internal, left external, right external, full external) from the parameters between the two lists.
- Select the dataset and field (operator again, here) that will be connected to it in the right list.
- Give the resulting new dataset a meaningful name in the option at the bottom of the dialog box.
- Click Finish.
- Edit the resulting dataset to obtain the result as necessary from the Edit Dataset dialog box.
You can create shared datasets from only two existing datasets. However, shared datasets can be included as input datasets for other shared datasets, so if you need to combine three datasets together, this can be achieved by combining two of them into one shared dataset, and then creating a new shared dataset data based on the first joint data set and the third original data set.
There is no need to fulfill any of the existing queries to join data sets. The parameter condition for the operator in the query should be included only if the goal is to restrict the operators returned in this data set (for example, to return only operators 100-121).
source share