# 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 selekcji 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/qlikview/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/field-functions-charts.htm)

#### GetSelectedCount

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

[**getselectedcount**](https://help.qlik.com/pl-PL/qlikview/September2025/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() służy do określenia liczby wartości alternatywnych (jasnoszarych) w podanym polu.

[**getalternativecount**](https://help.qlik.com/pl-PL/qlikview/September2025/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

GetPossibleCount() służy do określenia liczby możliwych (białych) wartości w podanym polu. Jeśli zidentyfikowane pole zawiera wybory, liczone są pola wybrane (zielone).

[**getpossiblecount**](https://help.qlik.com/pl-PL/qlikview/September2025/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

Funkcja GetExcludedCount() zwraca liczbę wykluczonych wartości odrębnych w podanym polu. Liczone są tylko wartości wykluczone (szara komórka z białym tekstem). Wartości alternatywne (biała komórka z szarym tekstem) i wybrane wykluczone (szara komórka z zielonym tekstem) nie są liczone.

[**getexcludedcount**](https://help.qlik.com/pl-PL/qlikview/September2025/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

Ta funkcja wykresu zwraca liczbę niewybranych wartości (czerwona komórka z czarnym tekstem) w polu o nazwie fieldname. Ta funkcja ma zastosowanie, jeżeli dla pola ustawiono tryb And.

[**GetNotSelectedCount**](https://help.qlik.com/pl-PL/qlikview/September2025/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

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/qlikview/September2025/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/getstatecounts.htm) (field\_name, state\_name [, state\_type1,...state\_typeN])

## Funkcje pól i selekcji

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

#### GetCurrentField

Funkcja GetCurrentField() umożliwia określenia aktualnie aktywnego pola z podanej grupy.

[**getcurrentfield**](https://help.qlik.com/pl-PL/qlikview/September2025/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

Funkcja GetCurrentSelections() zwraca bieżące selekcje w dokumencie.

[**getcurrentselections**](https://help.qlik.com/pl-PL/qlikview/September2025/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

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

[**getfieldselections**](https://help.qlik.com/pl-PL/qlikview/September2025/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

Funckja GetObjectField() zwraca nazwę wymiaru. Index jest opcjonalną liczbą całkowitą oznaczającą wymiar, który powinien zostać zwrócony.

[GetObjectField](https://help.qlik.com/pl-PL/qlikview/September2025/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

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

[**getobjectmeasure**](https://help.qlik.com/pl-PL/qlikview/September2025/Subsystems/Client/Content/QV_QlikView/ChartFunctions/FieldFunctions/getobjectmeasure.htm) ([index])