<!--# if expr="$arg_server = /^(node|python|go|php|ruby|dotnet)$/" --><!--# set var="stack_server" value="$arg_server" --><!--# else --><!--# set var="stack_server" value="node" --><!--# endif --><!--# if expr="$arg_database = /^(postgresql|redshift|mysql|mssql|clickhouse|snowflake|bigquery|databricks)$/" --><!--# set var="stack_database" value="$arg_database" --><!--# else --><!--# set var="stack_database" value="postgresql" --><!--# endif --><!--# if expr="$arg_cache = /^(none|duckdb|redis)$/" --><!--# set var="stack_cache" value="$arg_cache" --><!--# else --><!--# set var="stack_cache" value="none" --><!--# endif -->
# Reporting

Minimal report builder powered by useReport.

> The code on this page is for the stack in its URL's query, by default `?server=node&database=postgresql&cache=none`. Server: `node`, `python`, `go`, `php`, `ruby`, `dotnet`. Database: `postgresql`, `redshift`, `mysql`, `mssql`, `clickhouse`, `snowflake`, `bigquery`, `databricks`. Cache: `none`, `duckdb` (`node` only), `redis`. A missing or unknown value is the default, the first listed.

[Open the demo](https://quill.co/docs-demo/blocks/#/report-builder)

`ReportBuilder.tsx`

Source is included with Quill Enterprise. [Get Quill Enterprise](https://cal.com/quillsql/30min)

<!--# include virtual="/docs-md/code/server-file/$stack_server/$stack_database/$stack_cache.md" -->

## Advanced filters

[Open the demo](https://quill.co/docs-demo/blocks/#/report-builder-advanced)

`ReportBuilderAdvanced.tsx`

Source is included with Quill Enterprise. [Get Quill Enterprise](https://cal.com/quillsql/30min)

<!--# include virtual="/docs-md/code/server-file/$stack_server/$stack_database/$stack_cache.md" -->

## Sidebar

[Open the demo](https://quill.co/docs-demo/blocks/#/report-builder-sidebar)

`ReportBuilderSidebar.tsx`

Source is included with Quill Enterprise. [Get Quill Enterprise](https://cal.com/quillsql/30min)

`ReportBuilder.module.css`

Source is included with Quill Enterprise. [Get Quill Enterprise](https://cal.com/quillsql/30min)

<!--# include virtual="/docs-md/code/server-file/$stack_server/$stack_database/$stack_cache.md" -->

## Sidebar with advanced filtering

[Open the demo](https://quill.co/docs-demo/blocks/#/report-builder-sidebar-advanced)

`ReportBuilderSidebarAdvanced.tsx`

Source is included with Quill Enterprise. [Get Quill Enterprise](https://cal.com/quillsql/30min)

`ReportBuilder.module.css`

Source is included with Quill Enterprise. [Get Quill Enterprise](https://cal.com/quillsql/30min)

<!--# include virtual="/docs-md/code/server-file/$stack_server/$stack_database/$stack_cache.md" -->
