Building Custom Reports with the Report Builder

Last updated: November 26, 2026

The Report Builder is built for your internal data team. It lets the people who write SQL answer your own questions about your book, such as written premium by transaction type, policies in force on a date, or transactions between two dates, without waiting for a new standard report. They build a report once and save it, and the rest of your team can run it whenever they need it, with their own filters, and download every row as a CSV.

The Report Builder is available for customers on the Pro tier and above.

What are the Analytics Database and the Report Builder?

  • The Analytics Database is a separate copy of your BindHQ data that is organised for reporting: production, transactions, bordereau premium, quotes, locations, claims and more. BindHQ refreshes it automatically through the day, so heavy reports don't slow down the screens your team works in.

  • The Report Builder sits on top of the Analytics Database, under Reports > Custom Reports. Your data team writes a report in SQL once, adds filters such as a date range, and saves it. Anyone on your team with access can then run it and download the results.

Who can use it

The Report Builder is included for customers on the Pro tier and above. Users with access see two tabs under Reports: Custom Reports and User Datasets.

A report reads across all of your site's analytics data, not just one division. Only give access to people who should see data across your whole business.

Not technical? Soon you'll be able to build reports by asking an AI app such as Claude, through the BindHQ MCP.

Building a report

  1. Go to Reports > Custom Reports and click New Custom Report.

  2. Step 1: Write Query. Give the report a Name and an optional Description, and write your query in the SQL Query editor. Click Browse Data Tables to see every table and column you can use (it opens in a new tab). Then click Validate Query. If something is wrong, the error is shown and the problem is highlighted in the editor.

  3. Step 2: Preview & Save. Each filter in your query gets a row with a suggested Label, which you can change, and a Default value. Click Preview to see the first 100 rows, then Save Report. Click Edit to go back to step 1.

Adding filters

Put $1, $2 and so on in your SQL wherever the person running the report should choose a value. For example:

SELECT endorsement_type, (sum(premium) / 100)::bigint AS written_premium_usd
FROM enriched.production
WHERE posted_date BETWEEN $1 AND $2
  AND endorsement_type <> 'broker_fee'
GROUP BY endorsement_type
ORDER BY written_premium_usd DESC

This report shows written premium for each transaction type as it is stored in the data (for example bind, cancellation, audit or additional_insured), and asks for a start date and an end date. Older binds may show as legacy_bind. Amounts are stored in cents, so the example divides by 100 and rounds to whole dollars. Broker fees are left out because they aren't premium. BindHQ works out the right input for each filter: a date picker for dates, a number box for amounts, and a dropdown where the column only holds a fixed set of values, such as endorsement types or policy statuses. To let people pick several values, write column = ANY($1).

Filters must be numbered from $1 with no gaps, and every filter needs a label.

Rules for queries

  • A report is a single SELECT statement. It can't change any data.

  • It can read the enriched tables and your own uploaded datasets.

  • Don't use LIMIT or OFFSET, recursive WITH, or comma joins (FROM a, b). Use JOIN ... ON ... instead.

Running, downloading and sharing a report

Open a saved report from Reports > Custom Reports. Each filter is shown with its default value, which you can change.

  • RUN REPORT shows the results on the page, up to 100 rows.

  • DOWNLOAD CSV downloads every row, using the same filters.

Every report is shared: everyone with access to the Report Builder can see and run every report on your site. New reports start as Draft. When a report is ready to be relied on, click Publish, and its status changes to Published on the list. You can Unpublish it again later. Draft is a label for your team, not a privacy setting: a draft can still be seen and run by everyone with access.

The person who created a report, and your admins, can edit it (Edit Report), publish it or delete it. Other users don't see these buttons.

Using your own data (User Datasets)

Under Reports > User Datasets you can upload a CSV file, for example a list of agency targets or a carrier's own figures. Once you confirm its columns, you can join it to your BindHQ data in any report. A dataset can't be deleted while a report uses it.

Standard reports

Your existing reports under Reports > Standard, such as the bordereau and production reports, are unchanged. The Report Builder is for the questions those reports don't answer.

Limits

  • Time limit: a report can run for up to 45 seconds. If it takes longer, you see "This report hit the 45 second limit. Narrow the filters." Try a shorter date range or fewer values. This also applies to DOWNLOAD CSV: if a download hits the limit partway through, the file will be incomplete.

  • On-screen results: RUN REPORT and Preview show the first 100 rows. Use DOWNLOAD CSV for everything.

  • Freshness: the Analytics Database is refreshed automatically through the day, so a recent change may not be in a report yet.

  • One at a time: you can run one report or download at a time.

  • SQL: building a report needs someone on your data team who writes SQL. Running a saved report needs no SQL at all.

  • Uploads: User Datasets accept CSV files up to 20 MB and 50 columns, with dataset names up to 55 characters.

  • No charts or scheduled emails. Results are a table and a CSV download.

FAQ

Do I need to know SQL? Only to build a report, which is why the Report Builder is aimed at your data team. Anyone with access can run a saved report and change its filters without touching the SQL. Building reports without SQL, through the BindHQ MCP, is coming soon.

Who can see my reports? Everyone on your site with access to the Report Builder can see and run every report, including drafts.

Can a report change or delete my data? No. Reports can only read data. Anything other than a SELECT is refused when you validate the query.

Why doesn't my report show a policy I bound a few minutes ago? The Analytics Database is refreshed through the day. Run the report again a little later.

Is the data limited to my division? No. A report reads across all of your site's analytics data, so only give access to people who should see data across your whole business.

My report stops with "hit the 45 second limit". What can I do? Narrow the filters, for example a shorter date range, or simplify the query.

Which plans include the Report Builder? It's available for customers on the Pro tier and above. If you're on Basic, talk to your BindHQ contact.

Last Update: November 2026