# Funkcje pól

Te funkcje mogą być używane tylko w wyrażeniach wykresu.

Funkcje pól zwracają liczby całkowite albo ciągi określające różne aspekty dotyczące wyborów pól.

Przy każdej funkcji znajduje się pole rozwijane umożliwiające wyświetlenie składni i krótkiego opisu funkcji. Kliknij nazwę funkcji w opisie składni, aby uzyskać więcej informacji.

## Funkcje licznikowe

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetAlternativeCount

Funkcja GetAlternativeCount() służy do określenia liczby wartości alternatywnych (jasnoszarych) w podanym polu.

[**getalternativecount**](https://help.qlik.com/pl-PL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/getalternativecount.htm) (field\_name)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetExcludedCount

Funkcja GetExcludedCount() zwraca liczbę wartości wykluczonych w podanym polu. Liczone są tylko pola wykluczone (ciemnoszare). Wartości alternatywne (jasnoszare) i wybrane wykluczone (ciemnoszare ze znacznikiem wyboru) nie są liczone.

[**getexcludedcount**](https://help.qlik.com/pl-PL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/getexcludedcount.htm)(field\_name)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetPossibleCount

Funkcja GetPossibleCount() służy do określenia liczby możliwych wartości w podanym polu. Jeśli podane pole zawiera selekcje, liczone są pola wybrane (zielone). W przeciwnym razie liczone są wartości powiązane (białe).

[**getpossiblecount**](https://help.qlik.com/pl-PL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/getpossiblecount.htm)(field\_name)

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetSelectedCount

Funkcja GetSelectedCount() zwraca liczbę wybranych (zielonych) wartości w polu.

[**getselectedcount**](https://help.qlik.com/pl-PL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/getselectedcount.htm) (field\_name [, include\_excluded])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetStateCounts

Funkcja wykresu GetStateCounts() służy do obliczania łącznej liczby unikatowych wartości pasujących do określonych stanów zaznaczenia.

[**getstatecounts**](https://help.qlik.com/pl-PL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/getstatecounts.htm) (field\_name, state\_name [, state\_type1,...state\_typeN])

## Funkcje pól i selekcji

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetCurrentSelections

GetCurrentSelections() zwraca listę bieżących zaznaczeń w aplikacji. Jeśli zaznaczenia są zamiast tego wykonywane za pomocą szukanego ciągu w polu wyszukiwania, GetCurrentSelections() zwraca szukany ciąg.

[**getcurrentselections**](https://help.qlik.com/pl-PL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/getcurrentselections.htm)([record\_sep [,tag\_sep [,value\_sep [,max\_values]]]])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetFieldSelections

Funkcja GetFieldSelections() zwraca ciąg znaków (string) zawierający bieżące selekcje w danym polu.

[**getfieldselections**](https://help.qlik.com/pl-PL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/getfieldselections.htm) ( field\_name [, value\_sep [, max\_values]])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetObjectDimension

Funkcja GetObjectDimension() zwraca nazwę wymiaru. Index jest opcjonalną liczbą całkowitą wskazującą, który z wymiarów powinien być zwracany.

[**getobjectdimension**](https://help.qlik.com/pl-PL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/getobjectdimension.htm) ([index])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetObjectField

Funkcja GetObjectField() zwraca wyrażenie wymiaru. Index jest opcjonalną liczbą całkowitą określającą wymiar, który powinien zostać zwrócony.

[**GetObjectField**](https://help.qlik.com/pl-PL/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/SystemFunctions/GetObjectField.htm) ([index])

[](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetObjectMeasure

Funkcja GetObjectMeasure() zwraca nazwę miary. Index jest opcjonalną liczbą całkowitą wskazującą, która z miar powinna być zwracana.

[**getobjectmeasure**](https://help.qlik.com/pl-PL/cloud-services/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/FieldFunctions/getobjectmeasure.htm) ([index])