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

withForecast()

Home > @gooddata/sdk-backend-spi > IDataView > withForecast

IDataView.withForecast() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Adds forecast for this data view.

Signature:

withForecast(config?: IForecastConfig, result?: IForecastResult): IDataView;

Parameters

ParameterTypeDescription
configIForecastConfig(Optional) forecast configuration
resultIForecastResult(Optional) forecast result

Returns:

IDataView

new data view with forecasting enabled

  • IDataView.withForecast() method
  • Parameters
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