Data warehouses & BI (BigQuery, Snowflake, PowerBI, Sigma)
Keep KPI goals in sync with live SQL or BI tool data from BigQuery, Snowflake, PowerBI or Sigma.
Last updated Nov 30, 2026
Connect your data warehouse or BI tool so a goal's value stays in sync with your data, with no hand updates. Use it for ARR, MAU, churn or anything else you'd report on from a dashboard: point the goal at a query or report.
Supported warehouses & BI tools #
- Warehouses (run SQL directly)
- BigQuery and Snowflake. Brev runs queries against your warehouse and stores only the result, not the underlying rows.
- BI tools (pin a saved view)
- PowerBI and Sigma. Brev pulls a value from a dataset or report you've already built in the BI tool, the same number you'd see if you opened it.
Connect a warehouse or BI tool #
To connect your warehouse or BI tool:
- Click Connect on your tool's rowIn Settings, click Connections and search for your warehouse or BI tool. On its row, click Connect.
- Sign in or enter credentialsBigQuery and PowerBI use OAuth: Brev sends you to sign in with Google or Microsoft. Snowflake and Sigma open a dialog that asks for credentials, listed below.
Each dialog asks for these credentials:
- Snowflake, Key pair tab (recommended)
- The dialog opens on this tab. Enter your Account URL (the https://….snowflakecomputing.com address), the Username Brev connects as and its Private key (PKCS#8 PEM). Fill in Passphrase (optional) only for an encrypted key. Register the public key on that user first: see Set up a Snowflake key pair.
- Snowflake, Access token tab
- Enter your Account URL and a Programmatic access token (PAT) you generate in Snowsight. By default Snowflake only accepts a PAT from a user under a network policy, so a key pair is usually simpler.
- Sigma
- A Client ID and Secret from Sigma's Developer Access page, plus your Cloud Region (AWS (US), GCP or EU). Brev talks only to Sigma's own https://….sigmacomputing.com API addresses. A Sigma connection saved with any other address stops refreshing and asks you to reconnect and choose your region.
Brev checks what you enter:
- On the Snowflake dialog, Connect stays disabled until the required fields are filled.
- An address that isn't an https Snowflake URL, or a key Brev can't read, is turned down before Brev contacts Snowflake.
Set up a Snowflake key pair #
Key pairs don't expire, and unlike a PAT they don't need a network policy on the user. These commands make one, with an unencrypted private key:
openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out rsa_key.p8 -nocrypt
openssl rsa -in rsa_key.p8 -pubout -out rsa_key.pub- Generate the key pairRun the commands above on your own machine. Drop -nocrypt to protect the private key with a passphrase.
- Register the public key on the userIn Snowflake, run
ALTER USER <user> SET RSA_PUBLIC_KEY='<key>'with the contents of rsa_key.pub, without its BEGIN and END lines. A service user (TYPE = SERVICE) with a read-only role is best. - Connect in BrevPaste the whole rsa_key.p8 file, BEGIN and END lines included, into Private key (PKCS#8 PEM). Leave Passphrase (optional) empty for a key made with -nocrypt.
Then point a goal at your data:
- Pick your tool on the goalOpen a goal that should be data-driven, click Auto-track, and pick your warehouse or BI tool.
- Choose where the data livesThere's no default to set on the Integrations page: you choose per goal. For Snowflake, pick the warehouse that runs your queries. BigQuery opens on Describe a value instead, where Brev finds the table and writes the query.
- Add the query or tilePaste the query (for a warehouse) or pick a dashboard tile (for a BI tool). Brev runs it once to confirm a number comes back, then schedules it.
Track a BigQuery value #
New goals track BigQuery through Google BigQuery and Describe a value. Say what to measure, and Brev writes one SQL query, checks it and shows today's value.
For the full steps, see Connect BigQuery.
Sigma #
On a Metric goal, Sigma asks for a workbook, then a page and an element. The Metric is Row Count or a column's sum, and an optional filter counts only some rows.
For the full steps, see Connect Sigma.
Campfire #
Campfire feeds a Metric goal from your books, such as revenue or cash. Connect signs in to Campfire, then the goal opens on Describe a value, where you say the number in words.
Operator reads Campfire read-only. In a shared channel it reads Campfire only for a channel routine you set up that names it.
For the full steps, see Connect Campfire.
Where warehouse and BI data appears #
- KPI values
- Connected KPIs show live values pulled from the warehouse. The KPI row on every goals view reflects the most recent query result.
- Goal trajectory
- Successful refreshes can add warehouse-derived check-ins to the goal's chart. Failed or rejected refreshes do not add a point; manual check-ins may also appear in the goal's history.
- AI Goal Insights
- Insights commentary picks up on trends, dips and acceleration in the connected metric.
- Suggested check-ins
- When Brev drafts a check-in for the goal after a meeting about it, the draft uses the latest values from the connection and cites the connection as a source.
How often warehouse and BI data refreshes #
- By default, Warehouse and BI tool connections refresh every 30 minutes from 7 AM to 7 PM on weekdays (Sydney, New York or San Francisco time). Otherwise, every 4 hours.
- Each goal's Update frequency can slow it down. See How often it updates.
- Click the refresh icon on a goal's connection to re-run its query right away.
What it costs in your warehouse #
Each scheduled refresh is one query in your warehouse. For a goal connected to a simple aggregation, the cost is typically negligible. For an expensive view, it adds up:
- Brev runs the query about 229 to 242 times a week, mostly during weekday office hours. Multiply that by the number of weeks you'll track the goal.
- If your warehouse bills per query (BigQuery on-demand, Snowflake compute time), factor that in when picking what to anchor goals on.
- To keep the cost down, materialize an expensive query into a daily-refreshed table and point Brev at the table instead.
Warehouse and BI connection issues #
- Query failed
- Open the goal's integration connection to see the exact error your warehouse returned. The most common causes are a missing permission on a new dataset, a query timeout (raise the timeout in your warehouse) or a renamed column.
- Connect says "Snowflake's network policy is blocking Brev"
- The account's network policy rejects Brev's servers before Snowflake checks the token (error code 390422), so this error does not establish whether the token is valid. Add Brev's IP addresses, listed in the message and the Connect dialog, to the network policy allowlist, then reconnect.
- Result is a row instead of a number
- Brev expects a single scalar value per query: one row, one column, one number. If your query returns multiple columns or rows, wrap it in SELECT … FROM (your-query) or pre-aggregate.
- The KPI preview says "This query doesn't return a number"
- The query returns text, such as a name, a date or a label, so Connect stays disabled. Select a numeric column or an aggregate instead, such as COUNT(*) or SUM(amount). Salesforce fields, Sigma metrics and HubSpot values get the same check.
- The KPI preview shows a PowerBI error
- PowerBI rejected the DAX syntax. The preview runs your query live and shows PowerBI's own error inline, so you can fix the query before you connect.
- I'm seeing a number that disagrees with my dashboard
- Most likely the dashboard and Brev's query filter differently (a different date window or segment). Open the dashboard's underlying query and the goal's connected query side by side. If they're identical and still disagree, click the refresh icon on the goal's connection.
Was this page helpful?
Related
- Connecting an integration
Connect an app to Brev, learn what Brev sees and how often it refreshes, and fix or remove a connection.
- Goal detail
One goal's page: its progress and check-ins, insights, alignment, milestones and actions, and how progress rolls up from sub-goals.
- CRM (HubSpot, Salesforce)
Connect your CRM so revenue goals can pull live pipeline data and the AI can spot what's moving (and what's stuck).
- Connections
Calendars, chat, data, meeting notes and other apps Brev works with: connect, configure, reconnect or remove them from one page, grouped by job.