Merging Two tables to fetch the report in List View
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2022 05:43 AM
We have a requirement, where we need to merge two tables based on OA(s) column, where OA is a List Collector field on table A (Highlighted in green as shown in SC).
Table B is highlighted in Blue, based on OA(S) field we have to pull data from table B.
we have to merge tables A and B and show it in the List form as shown in the above screenshot.
For example: If product ABC is mapped with three OA(s), then we need to display three-row with the same product data having unique mapped application details (PROD ID, APP ID, AS) like TEST1, TEST2, and TEST3.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2022 06:14 AM
Any chance both tables are configuration item classes? You could use CMDB Query Builder to obtain the two tables and logic. Once you save, schedule a report, this will make a data source from both tables that you can use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2022 11:17 PM
Thanks for the reply!
Tables are not configuration item classes, they are the custom table starting with u_tablename.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2022 06:17 AM
If you are an admin, you could create what is known as a database view. Here is a docs page (and sub pages) which may help out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2023 11:37 PM
We tried it creating a Database view, but we get stuck on Owned Application field as per show in the attached SC. it is the list collector field-based that that field we have to segregate the data.
the field contains comma-separated values, we want to separate them, and show separate data for each value.