Skip to main content
Create fact tables that contain measurements describing your entities.

Before You Begin

Before creating a fact table, ensure you have:
  • An API access token with appropriate permissions
  • Created the entities you want to measure
  • Prepared a SQL query that selects measurement rows from your data warehouse
  • Identified timestamp, entity, and measurement columns

Create a Fact Table

Create a fact table with a boolean measurement:

Create a Fact Table with Numeric Measurements

For tables with numeric measurements like revenue:

Create a Fact Table with Multiple Entities

Track measurements across multiple entities:

Column Types

Supported measurement types:
  • COLUMN_TYPE_BOOLEAN: True/false values
  • COLUMN_TYPE_INTEGER: Whole numbers
  • COLUMN_TYPE_DOUBLE: Decimal numbers
  • COLUMN_TYPE_STRING: Text values

Data Delivery

After creation, the fact table enters the CREATING state. Confidence runs a sample query to verify the SQL produces the expected columns, then transitions to either ACTIVE or FAILED.

Next Steps

After creating fact tables: