---
schema_version: "1"
id: a77766242978ea7251e716605945f0d107d52e66df95def0a804e9fb457859ca
title: include
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/metadata_api/reference/include.doc.md
canonical_url: https://help.tableau.com/current/api/metadata_api/en-us/reference/include.doc.html
source_site: help.tableau.com
content_type: documentation
content_hash: 5cff667ae62744562dc9c03a90403093bfc24a7da68a16b0e00427e995b9db41
---
_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/current/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