Skip to main content
Business metrics are named, reusable definitions — like “Revenue” or “Active Customers” — backed by a SQL query. Once a metric is approved, the AI uses your definition instead of guessing how to calculate it.

How metrics are discovered

During the Building metrics sync step, VexiData examines your schema to identify common business patterns like:
  • Revenue and financial totals
  • User signups and growth trends
  • Order volumes and conversion rates
  • Activity counts and engagement metrics
Discovered metrics start as Proposed and are labeled AI suggested. They aren’t used until someone approves them.

Viewing your metrics

  1. Go to Integrations
  2. Click the card of a connection with AI Ready status to open its page
  3. Open the Business Metrics tab
Use the All, Proposed, Approved, and Rejected filters to narrow the list.

Reviewing proposed metrics

1

Review each proposal

Check the metric’s name, description, and SQL. Click the check icon (Approve) or the cross icon (Reject) on the card, or use the same actions in its More options menu.
2

Approve in bulk

While proposed metrics are waiting, a banner shows how many are awaiting review. Click Approve all to approve every proposed metric at once.
Rejected metrics stay in the Rejected filter and are never used.

Creating and editing metrics

Click New Metric to define your own. Fill in the Metric name, Description, Category, Aggregation, and SQL query, then click Create. Metrics you create are approved straight away. The dialog also has an AI assistant that can help you write or refine the SQL. To change a metric, open its More options menu, choose Edit, and click Update; choose Delete to remove it. VexiData runs a metric’s SQL against your database when you save it, and refuses SQL that fails.
Creating, editing, approving, and rejecting metrics needs the Configure sources capability — Owners and Admins have it by default. Everyone who can reach the connection can view its metrics.

How metrics are used

Only Approved metrics are used. VexiData uses them to:
  • Generate dashboards with your exact definitions instead of guessed calculations
  • Suggest relevant questions on the dashboard page
  • Answer questions from AI assistants: the database_list_tables tool returns your approved metrics, and assistants are instructed to prefer them