Skip to main content Skip to complementary content

GetNotSelectedCount

This chart function returns the number of not-selected (red cell with black text) values in the field named fieldname. The field must be in and-mode for this function to be relevant.

Syntax:  

GetNotSelectedCount ( field_name [, include_excluded])

(Inherited)GetNotSelectedCount ( FieldName [, IncludeExcluded])

Arguments:  

  • field_name: The field containing the range of data to be measured.
  • include_excluded: If IncludeExcluded is True(), the count will include selected values, which are currently excluded by selections in other fields. If False or omitted, these values will not be included.

The following table lists other functions that are related to this function.

Related functions
Function Interaction
GetStateCounts

Using GetStateCounts(), you can combine the calculation of the following counts using a single function call:

  • Count of selected included values.

  • Count of possible values.

  • Count of deselected values (only available if the field is in and-mode).

  • Count of alternative values.

  • Count of excluded values, not including alternative and selected excluded values.

  • Count of selected excluded values.

GetSelectedCount Returns the count of selected included values.
GetPossibleCount Returns the count of possible values.
GetAlternativeCount Returns the count of alternative values.
GetNotSelectedCount Returns the count of excluded values, not including alternative and selected excluded values.

Example:  

GetNotSelectedCount ( Year )  

GetNotSelectedCount (Year,True())

Color of selection states in List Boxes

All information on this page refers to the color of selection states in a List Box with specific settings:

The following table outlines the color scheme for each selection state in a List Box with this configuration.

Color scheme for List box with given configuration
State Cell color Text color
Alternative White Gray
Deselected Red Black
Excluded Gray White
Possible White Black
Selected Green Black
Selected excluded Gray Green

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com