Tableau icon

Tableau

Interact with the Tableau REST API

VizQL Data Service → Build Query

AI-generated

Summary

Builds and runs a Tableau VizQL Data Service query against a datasource, selecting fields and optionally applying aggregations, sorting, filters, and parameter overrides.

Inputs

  • Authentication — Choose Connected App (JWT), the default, or Personal Access Token. With Connected App authentication, you can optionally set an impersonated username; it requires site administrator privileges.
  • Datasource ID (required) — The datasource LUID used to query data and load field choices.
  • Fields — Add fields to return. For each field, choose a field name or ID, optionally set a measure aggregation (AVG, COUNT, COUNTD, MAX, MEDIAN, MIN, or SUM), an output alias, and sort direction and priority. A priority of 0 omits sorting for that field.
  • Filters — Add at most one filter per field. Filter types include string matching (contains, ends with, or starts with), numeric or RFC 3339 date ranges, included value sets provided as a JSON array, and top or bottom N. Filter-specific values are entered in the corresponding fields.
  • Parameters — Optionally override datasource parameter values by name.

Output shape

A single record containing the Tableau query result.

The operation executes the query for the selected datasource and fields; the supplied source pack does not expose its response construction, so the precise record fields and row representation are unclear.

Links

Discussion