Creating Database Table Relationships
  • 02 Jun 2023
  • 1 Minute to read
  • Dark
    Light

Creating Database Table Relationships

  • Dark
    Light

Article Summary

Creating a Database Table Relationship is integrating data from two separate database tables and pulling from them simultaneously.

In v7.14+, Postgres table names allow up to 63 characters. Going over this number will result in the relationship table integration not working.

Viewing Relationships
There is not a dedicated dashboard or other mechanism that displays database relationships in a diagram within Decisions. 


Prerequisites:

  • Database tables

Example

  1. Navigate to System > Integrations > Databases and select a Database. 
  2. On the top action bar, click ADD RELATIONSHIP.
  3. In the Add Relationship window, enter a name under Relationship Name. Under the FROM and TO categories, select the Table and Field(s) that should be related. Click OK. 

  4. In a Designer Project, click CREATE REPORT to create a new Report.
  5. Under Data Sources, click Add. Expand Common and select one of the Tables from the relationship.  
  6. Because a relationship has been created, clicking Add will display an option called Add related table.

  7. Select the second table so it can be added to the Report.

For further information on Integrations, visit the Decisions Forum.

Was this article helpful?