---
schema_version: "1"
id: 96c3e9da436f28614d44b8e18e0ca2ee2d8471ccf9f51f10c30183999d4d64b1
title: include
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/api/metadata_api/reference/include.doc.md
canonical_url: https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/include.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 005cd593cad0cf73a5b207ed08a64ffdfdfd3d17c5ecc8e721251ad46b353807
---
_menu_ Types

# include

Directs the executor to include this field or fragment only when the `if` argument is true

## [_link_](#graphql-schema-definition) GraphQL Schema definition

`   - directive @include(if: [Boolean](https://help.tableau.com/v0.0/api/metadata_api/en-us/reference/boolean.doc.html)!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT   `

## [_link_](#require-by) Require by

This element is not required by anyone