All resources
Product Releases VDM Reporting & Analytics

VDM 2026.12.2 brings data from two Connection Profiles into one report

Suppose your account system holds current balances and a separate payment system records when each payment posted. With the December 2 VDM release, one Advanced Query can show the balance and the most recent payment date side by side. Each source query runs on its own Connection Profile, so you can use each system’s table names and SQL syntax.

Give each source one row per account

In this example, the two systems share an account ID. In the accounts query, select that ID and the current balance. Name the result Accounts by ending the query with MQN_As Accounts. In the payments query, group posted payments by account ID and take the latest posting date. Name that result LastPayment. Grouping here keeps an account with five payments from appearing five times in the report.

Join the two results

Select the SQL Server database VDM should use under Settings > MDS > SQL Database. VDM loads the named results into temporary tables there. The final segment uses SQL Server syntax to join those tables on the shared account ID.

{MDSQuery}
SELECT a.AccountID, a.Balance, p.LastPaymentDate
FROM #Accounts AS a
LEFT JOIN #LastPayment AS p ON p.AccountID = a.AccountID

Choose Run View to see the combined grid. The left join keeps accounts that have never had a payment, with a blank date beside their balance. Once the balances and dates agree with your source reports, you can reuse the View. To run it on a schedule, set the MDS SQL Database in the Scheduler Service as well.

KEEP EXPLORING

More from BridgeWorks.