Tableau Workbook Policy Enforcement: Technical Guide & Rules | Wiiisdom Support

Tableau: Workbook Policy Enforcement Guide

Introduction

The Workbook Policy Enforcement step allows administrators to automatically validate Tableau workbooks against a set of predefined best practices and organisational policies. This step ensures that workbooks promoted or tested within Wiiisdom Cloud Platform meet specific performance and usability standards.

Prerequisites

  1. Feature Toggle: Ensure the workbook-policy-enforcement-features is enabled in your environment.
  2. Permissions: You must have administrative access to the BI Asset Policies menu to configure rules.

How to Configure Workbook Policies

  1. Access Administration: Navigate to the BI Asset Policies administration menu and select the Tableau tab.
  2. Define Rules: Configure the thresholds and severity for the available rules. Rules are categorised into two main gates:
    1. Performance: Focuses on technical efficiency (e.g., Custom SQL usage, Extract vs. Live).
    2. Usability: Focuses on end-user experience (e.g., number of views, dashboard complexity).
  3. Set Severity: Assign a severity level (Informational, Best Practice, Critical, or Blocker) to each rule. These levels impact the final Quality Gate score (A to E).

Key Points of Attention & Troubleshooting

This guide provides a technical breakdown of how each rule is calculated, where the data is retrieved from, and what is included or excluded.

Performance Rules: Technical Details

Rule Name
Scope
Data Retrieval Method
Specifics & Limitations

Render Duration

Per View

Tableau Simulation Engine: Uses Playwright and the Tableau Embedding API to simulate a user opening the workbook in a browser.

Counted: Published Worksheets and Dashboards.


Excluded: Stories.

Hidden Fields

Per Data Source

XML Parsing: Analyzes the .twb file.

Logic: The ratio is calculated by dividing the number of hidden fields by the total number of fields.

Rounding: Rounded up to the nearest hundredth (ceiling).

Excluded: Fields automatically generated by Tableau are notre retrieved.

Limitation: Complex fields like drill-downs, sets, or groups may result in an Unknown status due to current technical limitations.

Custom SQL Query

Per Data Source

XML, REST API & TDS Parsing: Parses the .twb file. For published data sources, it also uses the Tableau REST API to query all data sources, retrieve the datasourceId from the contentUrl, and parse the .tds file.



Live or Extract

Per Data Source

XML Parsing: Analyzes the .twb file.


Data Source Embedded

Per Data Source

XML Parsing: Analyzes the .twb file.


Level of Detail (LOD)

Workbook

REST API & XML Parsing: Retrieves published views via REST API and parses the .twb file.

Counted: Only LOD expressions actually used in the workbook's views (worksheets) are counted. If an unpublished worksheet is used in a published dashboard, the LOD expressions it contains are also counted.

Excluded: LOD calculations created within the workbook but not present in any active view.


Workbook Extract Size

Workbook

Tableau REST API: Performed via a HEAD request to the server.


Usability Rules

Rule Name
Scope
Data Retrieval MethodSpecifics & Limitations

Context Filters

Per Worksheet

REST API & XML Parsing: Retrieves published views via REST API and parses the .twb file.

Counted: Published worksheets and unpublished worksheets used in a published dashboard. These worksheets will appear with an "(unpublished)" badge.

Dashboards in the Workbook

Workbook

REST API & XML Parsing: Retrieves published views via REST API and parses the .twb file.

Counted: Published Dashboards.

Global Filters

Workbook

REST API & XML Parsing: Retrieves published views via REST API and parses the .twb file.

Counted: Filters in Data Sources and published Worksheets.

Views in the Workbook

Workbook

REST API: Retrieves published views via REST API.

Counted: Published Worksheets, Dashboards and Stories.

Worksheets in Dashboard

Per Dashboard

REST API & XML Parsing: Retrieves published views via REST API and parses the .twb file.

Counted: All worksheets in published Dashboards.


    • Related Articles

    • WCP Cannot Create Workbook Version When First View Is Inaccessible

      Summary When Wiiisdom Cloud Platform (WCP) attempts to create a version of a Tableau workbook, the process fails if the initiating user or service account does not have view permissions on the workbook’s first/default view. This issue occurs only ...
    • Hidden views are displayed when publishing using WCP and WTAB

      Summary When promoting content using WTAB Desktop, TVM Restoration, or WCP Promote content, workbooks that contain hidden dashboards or worksheets may have these views published instead of remaining hidden. This behavior differs from manual ...
    • Known Issues

      Power BI Pipeline execution RLS with empty roles and simulation steps In Open Report and Simulation Journey steps, support for dataset chaining was introduced in version 1.18.0. This support requires us to perform additional checks on the dataset ...
    • Unable to set the "Exclude Null Values" option for filters

      Known Issue Date filter configuration is not able to exclude null values when executed through the filter simulation method, leading to mismatched results compared to the dashboard behavior. Summary When using Tableau’s method to simulate dashboard ...
    • Troubleshooting 'Access to the resource is forbidden' Error in Predictive Scoring OData API

      Introduction This article provides a comprehensive guide to troubleshoot the 'Access to the resource is forbidden' error when attempting to extract predictive scoring data using the Wiiisdom Cloud Platform's OData API. Follow the steps below to ...