Skip to main content
Basic Usage

Examples

Basic Usage

Basic Usage

Custom Label and Filename

Custom Label and Filename

With Variant

With Variant

With Large Limit

With Large Limit

Attributes

string
required
Table or view to download
string
default:"Download"
Text displayed on the download button
string
Name of the downloaded file (without extension)
string
default:"default"
Button style variantAllowed values:
  • default
  • primary
  • destructive
  • secondary
  • ghost
  • link
array
IDs of filters to apply to the query
string
Custom SQL WHERE condition to apply to the query. For date filters, use date_range instead.
string
Custom SQL HAVING condition to apply to the query after GROUP BY
number
Maximum number of rows to return from the query. Note: When used with tables, limit will disable subtotals to prevent incomplete subtotal rows.
string
Column name(s) with optional direction (e.g. “column_name”, “column_name desc”)
string
Custom SQL QUALIFY condition to filter windowed results