Defining Tableau Global Filters
These should be located under the tableau
element located within the client
element and must be located after the definition of any view-group
elements.
A Tableau Global Filter is defined using a global-filter
tag and has a mandatory name
attribute. The contents of the attribute should match exactly the filter or parameter name as defined within the Tableau view. These can be obtained from the Filters and Parameters sections of the view when shown within Tableau Desktop.
A Tableau Global Filter can have zero or more include
or exclude
elements. By default it will apply to all views unless one or more exclude
elements are defined. When an include
element is added the Tableau Global Filter immediately changes so that all views are excluded except for those specifically included.
exclude
/
include
elements have a mandatory
workbook
attribute and an optional
view
attribute. These should match exactly with the names of the workbook and view.
![]() |
Note: When a combination of
include /
exclude elements are defined for a Tableau Global Filter, the
include elements are processed before the
exclude elements irrespective of the order in which they were defined.
|
<client>
<view-group title=”Tableau views”>
<tableau-workbook title="workbook1" workbook="Workbook1" managed="true"/>
<tableau-workbook title="workbook2" workbook="Workbook2" managed="true"/>
</view-group>
<tableau>
<!-- Applied to all views in all workbooks -->
<global-filter name=”MyEx1”/>
<!-- Applied to all views except the views in Workbook2 -->
<global-filter name=”MyEx2”>
<exclude workbook=”Workbook2”/>
</global-filter>
<!-- Applied to all views except for the MyW2View view -->
<global-filter name=”MyEx3”>
<exclude workbook=”Workbook2” view=”MyW2View”/>
</global-filter>
<!-- Applied only to views in Workbook1 -->
<global-filter name=”MyEx4”>
<include workbook=”Workbook1”/>
</global-filter>
<!-- Applied only to the MyW1View view in Workbook1 -->
<global-filter name=”MyEx5”>
<include workbook=”Workbook1” view=”MyW1View”/>
</global-filter>
<!-- Applied only to the MyW1View and MyW2View views in Workbook1 and Workbook2 -->
<global-filter name=”MyEx6”>
<include workbook=”Workbook1” view=”MyW1View”/>
<include workbook=”Workbook2” view=”MyW2View”/>
</global-filter>
</tableau>
</client>
© 2001-2023 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.