Shortcodes

Tableau Embeds

tableau

Note: Any other named parameters are added as additional attributes on the <tableau-viz> element.

  • src: URL of visualization to embed
  • toolbar: visible | hidden, default: hidden
  • hide-tabs: true | false, default: false

Basic Example

1
{{< tableau "https://us-west-2b.online.tableau.com/t/gitlabpublic/views/OKR4_7EngKPITest/PastDueSecurityIssues" />}}

Advanced Example

1
2
3
4
{{< tableau toolbar="visible" src="https://us-west-2b.online.tableau.com/t/gitlabpublic/views/OKR4_7EngKPITest/PastDueSecurityIssues" >}}
  {{< tableau/filters key="value" >}}
  {{< tableau/params param1="value" param2="value" >}}
{{< /tableau >}}

tableau/filters

Renders a viz-filter element for each of the key/value pairs passed as parameters.

1
{{< tableau/filters filter1="value1" filter2="value2" >}}
1
2
<viz-filter field="filter1" value="value1" />
<viz-filter field="filter2" value="value2" />

tableau/params

Renders a viz-parameter element for each of the key/value pairs passed as parameters.

1
{{< tableau/params param1="value1" param2="value2" >}}
1
2
<viz-parameter name="param1" value="value1" />
<viz-parameter name="param2" value="value2" />