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

withDimensions()

Home > @gooddata/sdk-backend-spi > IPreparedExecution > withDimensions

IPreparedExecution.withDimensions() method

Configures dimensions of the resulting data. Any dimension settings accumulated so far WILL be wiped out.

Signature:

withDimensions(...dim: Array<IDimension | DimensionGenerator>): IPreparedExecution;

Parameters

ParameterTypeDescription
dimArray<IDimension | DimensionGenerator>dimensions to set

Returns:

IPreparedExecution

new execution with the updated dimensions

Remarks

The realizations of analytical backend MAY impose constraints on the minimum and maximum number of dimensions. This call WILL fail if the input dimensions do not match constraints imposed by the backend.

  • IPreparedExecution.withDimensions() method
  • Parameters
  • 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