# 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/May2024/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

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

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

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/qlikview/May2024/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() zwraca liczbę wykluczonych wartości odrębnych w podanym polu. Wartości wykluczone obejmują pola alternatywne (białe lub jasnożółte), pola wykluczone lub wybrane wykluczone (szare).

[GetExcludedCount](https://help.qlik.com/pl-PL/qlikview/May2024/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 w polu o nazwie fieldname. Ta funkcja ma zastosowanie, o ile dla pola ustawiono tryb And.

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

## 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/May2024/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/May2024/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/May2024/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/May2024/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

Funckja GetObjectMeasure() zwraca nazwę miary. Index jest opcjonalną liczbą całkowitą oznaczającą miarę, która powinna zostać zwrócona.

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