GoodData.UI API reference
  • All Products
  • All Products
  • GoodData.UI
  • API Reference
  • University
  • Community
  • Documentation
  • Support
  • 11.28.0
  • Code samples
  • GitHub

MetricSort

Home > @gooddata/sdk-code-schemas > v1 > MetricSort

v1.MetricSort interface

Signature:

export interface MetricSort 

Properties

Property

Modifiers

Type

Description

direction

"ASC" | "DESC"

Sort direction.

metrics

[ (string | { by: string | AttributeIdentifier12 | LabelIdentifier9; element?: string; function?: "SUM" | "AVG" | "MIN" | "MAX" | "MED" | "NAT"; }), ...(string | { by: string | AttributeIdentifier12 | LabelIdentifier9; element?: string; function?: "SUM" | "AVG" | "MIN" | "MAX" | "MED" | "NAT"; })[] ]

type

"metric_sort"

  • v1.MetricSort interface
  • Properties
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2026 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