
Examples
Basic Usage

Custom Label and Filename

With Variant

With Large Limit

Attributes
string
required
Table or view to download
string
Text displayed on the download button (defaults to “Download” in the page language)
string
Name of the downloaded file (without extension)
string
default:"default"
Button style variantAllowed values:
defaultprimarydestructivesecondaryghostlink
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

