GoodData.UI API reference
  • GoodData.UI
  • Docs & APIs
  • Developers
  • GoodData.CN
  • GoodData.UI
  • Docs & APIs
  • Get GoodData.CN Community Edition
  • 10.26.0
  • Code samples
  • Gallery
  • GitHub

excludePrimaryLabel

Home > @gooddata/sdk-backend-spi > IElementsQueryOptions > excludePrimaryLabel

IElementsQueryOptions.excludePrimaryLabel property

Decides whether result will include also the primary label elements or only requested label ones. It changes also the cardinality of result.

If true, returned label values are in cardinality of primary label, i.e., result could contain duplicated values.

If false, returned label values are unique values and smaller amount of label values can be returned than the number of primary label values.

Signature:

excludePrimaryLabel?: boolean;

Remarks

This is used mainly in filters to not display duplicate values where each of them filter out the same records from an insight when text value attribute filters are used.

The value is applied only on backends without the supportsElementUris capability.

  • IElementsQueryOptions.excludePrimaryLabel property
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2025 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use