Jira Assets merge two tables

Hi all,
I’ve created 2 reports/tables with Jira assets (insight) data from 2 different object types. Object type A contains items (hardware, software, …) with their prices and Object type B contains total budget. Both object types share some attributes, e.g. department, type.
My question is: is is somehow possible to merge these tables? The point is, I need to pick a department and see the remaining budget (difference between expenses and budget).
Thanks for any suggestions or help.