Sort by

 

Foreword

See Postman example

The "-" allows you to sort in a decreasing way.

It is possible to sort on as many columns (metrics and properties) as desired.

It is not possible to sort on a column not present in the “columns” parameter of the URL.

 

Examples:

// Simple sorting:
"space": {
"s":[547656]
},

// If you have 2 periods, you can sort on the comparison period metric values:

"space": {
"s":[547656, 547657]
},

// You can filter on several metrics and several properties:

"sort": [
  "-geo_country",
  "device_type",
  "-m_visits",
  "m_users"
]

# Simple sorting:
"space": {
"s":[547656]
},

# If you have 2 periods, you can sort on the comparison period metric values:

"space": {
"s":[547656, 547657]
},

# You can filter on several metrics and several properties:

"sort": [
  "-geo_country",
  "device_type",
  "-m_visits",
  "m_users"
]

# Simple sorting:
"space": {
"s":[547656]
},

# If you have 2 periods, you can sort on the comparison period metric values:

"space": {
"s":[547656, 547657]
},

# You can filter on several metrics and several properties:

"sort": [
  "-geo_country",
  "device_type",
  "-m_visits",
  "m_users"
]

# Simple sorting:
"space": {
"s":[547656]
},

# If you have 2 periods, you can sort on the comparison period metric values:

"space": {
"s":[547656, 547657]
},

# You can filter on several metrics and several properties:

"sort": [
  "-geo_country",
  "device_type",
  "-m_visits",
  "m_users"
]