# Funzioni di campo

Queste funzioni possono essere utilizzate solo nelle espressioni grafiche.

Le funzioni di campo restituiscono numeri interi o stringhe che identificano aspetti differenti delle selezioni dei campi.

Utilizzare l'elenco a discesa su ciascuna funzione per visualizzare una breve descrizione e la sintassi di ciascuna di esse. Per ulteriori informazioni, fare clic sul nome della funzione nella descrizione della sintassi.

## Funzioni di conteggio

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetSelectedCount

GetSelectedCount() trova il numero di valori selezionati (verdi) in un campo.

[**getselectedcount**](https://help.qlik.com/it-IT/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/getselectedcount.htm) (field\_name [, include\_excluded])

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetAlternativeCount

GetAlternativeCount() viene utilizzato per trovare il numero di valori alternativi (grigio chiaro) nel campo identificato.

[**getalternativecount**](https://help.qlik.com/it-IT/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/getalternativecount.htm) (field\_name)

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetPossibleCount

La funzione GetPossibleCount() viene utilizzata per trovare il numero di valori possibili (bianchi) nel campo identificato. Se il campo identificato include delle selezioni, vengono conteggiati anche i campi selezionati (verdi).

[**getpossiblecount**](https://help.qlik.com/it-IT/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/getpossiblecount.htm)(field\_name)

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetExcludedCount

GetExcludedCount() trova il numero di valori esclusi nel campo identificato. Vengono conteggiati solo i valori esclusi (cella grigia con testo bianco). I valori alternativi (cella bianca con testo grigio) e quelli selezionati esclusi (cella grigia con testo verde) non vengono conteggiati.

[**getexcludedcount**](https://help.qlik.com/it-IT/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/getexcludedcount.htm)(field\_name)

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetNotSelectedCount

Questa funzione grafica restituisce il numero di valori non selezionati (cella rossa con testo nero) nel campo denominato fieldname. Affinché questa funzione risulti pertinente, il campo deve essere in modalità And.

[**GetNotSelectedCount**](https://help.qlik.com/it-IT/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/GetNotSelectedCount.htm)(fieldname [, includeexcluded=false])

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetStateCounts

La funzione grafico GetStateCounts() viene utilizzata per calcolare il numero totale di valori unici corrispondenti agli stati di selezione specificati.

[**getstatecounts**](https://help.qlik.com/it-IT/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/getstatecounts.htm) (field\_name, state\_name [, state\_type1,...state\_typeN])

## Funzioni di campo e di selezione

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetCurrentField

GetCurrentField() viene utilizzata per trovare il campo attualmente attivo nel gruppo specificato.

[**getcurrentfield**](https://help.qlik.com/it-IT/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/getcurrentfield.htm) (group\_name)

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetCurrentSelections

GetCurrentSelections() restituisce le selezioni correnti nel documento.

[**getcurrentselections**](https://help.qlik.com/it-IT/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/getcurrentselections.htm)([record\_sep [,tag\_sep [,value\_sep [,max\_values]]]])

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetFieldSelections

GetFieldSelections() restituisce un valore string con le selezioni attuali in un campo.

[**getfieldselections**](https://help.qlik.com/it-IT/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/getfieldselections.htm) ( field\_name [, value\_sep [, max\_values]])

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetObjectField

GetObjectField() restituisce il nome della dimensione. Index è un numero intero opzionale che indica la dimensione che deve essere restituita.

[GetObjectField](https://help.qlik.com/it-IT/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/GetObjectField.htm) ([index])

[](https://help.qlik.com/en-US/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetObjectMeasure

GetObjectMeasure() restituisce il nome della misura. Index è un numero intero opzionale che indica la misura da restituire.

[**getobjectmeasure**](https://help.qlik.com/it-IT/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/getobjectmeasure.htm) ([index])