---
schema_version: "1"
id: 2b5a4c3875f312ef78f1c4cf10419d78379b8d08a8d633dd494946a8825c2ab7
title: SelectionCriteria | Tableau Embedding API
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/api/embedding_api/reference/interfaces/SelectionCriteria.md
canonical_url: https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/interfaces/SelectionCriteria.html
source_site: help.tableau.com
content_type: documentation
content_hash: 718255167cb282c851e325ee59589e95c07285a6954c0b5856c817282cc41625
description: Documentation for Tableau Embedding API
---
- SelectionCriteria

# Interface SelectionCriteria

SelectionCriteria interface is used to specify to the fieldName to values for Hierarchical, Categorical and Range based selections.

interface SelectionCriteria {  
    [fieldName](#fieldname): string;  
    [value](#value): [CategoricalValue](https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/types/CategoricalValue.html) | [RangeValue](https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/interfaces/RangeValue.html);  
}

- Defined in packages/api-external-contract-js/src/ExternalContract/Shared/SelectionInterfaces.ts:43

##### Index

### Properties

[fieldName](#fieldname) [value](#value)

## Properties

### `Readonly`fieldName[](#fieldname)

fieldName: string

Fieldname of the mark that is intended to be selected. Hierarchical fields follow the convention of "\[{parentField}\].\[{selectingField}\]"

- Defined in packages/api-external-contract-js/src/ExternalContract/Shared/SelectionInterfaces.ts:53

### `Readonly`value[](#value)

value: [CategoricalValue](https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/types/CategoricalValue.html) | [RangeValue](https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/interfaces/RangeValue.html)

Value that is intended to be selected. This can be specified as the list of values or a single value. Range-based selections need to provide the value in the format of RangeValue interface. To select a single quantitative value, use the RangeValue interface where both max and min are the value you want to select.

- Defined in packages/api-external-contract-js/src/ExternalContract/Shared/SelectionInterfaces.ts:60

### Settings

Member Visibility

- Protected
- Inherited
- External

ThemeOSLightDark

### On This Page

Properties

[fieldName](#fieldname)[value](#value)