Create calculation query
  • 14 Minutes to read
  • Dark
    Light

Create calculation query

  • Dark
    Light

Article summary

Post
/analysis-query

Create a calculation query.

Response will be either

  • 200 if the result is already available and can be retrieved by using the provided link (or calculationId)
  • 201 if the calculation is being queued. Status can be polled by using the provided link (or correlationId).
Security
OAuth
FlowClient credentials
Token URLhttps://intelligence.eu.mapp.com/analytics/api/oauth/token
Scopes:
mapp.intelligence-apiUse intelligence APIs
Body parameters

Analytics Request Format

Pivot
{
  "resultType": "DATA_ONLY",
  "queryObject": {
    "columns": [
      {
        "name": "time_days",
        "sortDirection": "ASCENDING",
        "sortIndex": "0",
        "scope": "OBJECT",
        "context": "NONE",
        "lowerLimit": "1",
        "upperLimit": "7"
      },
      {
        "name": "os_vendor",
        "context": "SESSION",
        "lowerLimit": "1",
        "upperLimit": "10",
        "scope": "OBJECT"
      },
      {
        "name": "visits",
        "columnPeriod": "ANALYSIS",
        "sortDirection": "DESCENDING",
        "sortIndex": "1",
        "scope": "OBJECT",
        "context": "SESSION"
      },
      {
        "name": "pages_pageImpressions",
        "columnPeriod": "ANALYSIS",
        "scope": "OBJECT",
        "context": "PAGE"
      },
      {
        "name": "visits_newShare",
        "columnPeriod": "ANALYSIS",
        "scope": "OBJECT"
      },
      {
        "name": "visit_duration_avg",
        "columnPeriod": "ANALYSIS",
        "scope": "OBJECT"
      },
      {
        "name": "visits_bounceRate",
        "columnPeriod": "ANALYSIS",
        "scope": "OBJECT"
      },
      {
        "name": "visits",
        "columnPeriod": "ANALYSIS",
        "scope": "OBJECT",
        "context": "SESSION",
        "predefinedContainer": {
          "filters": [
            {
              "name": "os_vendor",
              "caseSensitive": "false",
              "context": "SESSION",
              "filterPredicate": "LIKE",
              "connector": "AND",
              "value1": "Apple",
              "value2": ""
            }
          ],
          "containers": []
        }
      }
    ],
    "variant": "PIVOT",
    "predefinedContainer": {
      "filters": [
        {
          "name": "time_dynamic",
          "filterPredicate": "LIKE",
          "connector": "AND",
          "caseSensitive": "false",
          "context": "NONE",
          "intern": "false",
          "value1": "last_7_days",
          "value2": ""
        }
      ],
      "containers": []
    }
  }
}
Comparison
{
  "resultType": "DATA_ONLY",
  "queryObject": {
    "columns": [
      {
        "name": "browser_fullName",
        "scope": "OBJECT",
        "context": "SESSION",
        "variant": "NORMAL",
        "lowerLimit": "1",
        "upperLimit": "20"
      },
      {
        "name": "visits",
        "columnPeriod": "ANALYSIS",
        "sortDirection": "DESCENDING",
        "sortIndex": "1",
        "scope": "OBJECT",
        "context": "SESSION",
        "variant": "NORMAL"
      }
    ],
    "viewMode": {
      "active": "comparison",
      "comparison": {
        "type": "time",
        "values": {
          "time": [
            {
              "name": "time_dynamic",
              "value1": "last_14_days",
              "value2": "",
              "filterPredicate": "LIKE",
              "connector": "AND",
              "context": "NONE",
              "caseSensitive": "false"
            },
            {
              "name": "time_dynamic",
              "value1": "last_14_days_previous_year",
              "value2": "",
              "filterPredicate": "LIKE",
              "connector": "AND",
              "context": "NONE",
              "caseSensitive": "false"
            }
          ],
          "segment": []
        },
        "sorting": {
          "time": [
            {
              "resultColumn": "2",
              "direction": "DESCENDING"
            }
          ],
          "segment": []
        }
      }
    },
    "variant": "LIST",
    "predefinedContainer": {
      "filters": [
        {
          "name": "time_range",
          "filterPredicate": "BETWEEN",
          "connector": "AND",
          "caseSensitive": "false",
          "context": "NONE",
          "value1": "2022-12-23 00:00:00",
          "value2": "2023-01-20 00:00:00"
        }
      ],
      "containers": []
    }
  }
}
TimeSeries
{
  "resultType": "DATA_ONLY",
  "queryObject": {
    "columns": [
      {
        "name": "pages",
        "scope": "OBJECT",
        "context": "PAGE",
        "variant": "NORMAL",
        "lowerLimit": "1",
        "upperLimit": "20"
      },
      {
        "name": "pages_pageImpressions",
        "columnPeriod": "ANALYSIS",
        "sortDirection": "DESCENDING",
        "sortIndex": "1",
        "scope": "OBJECT",
        "context": "PAGE",
        "variant": "NORMAL",
        "inTimeSeries": "true"
      },
      {
        "name": "visits",
        "columnPeriod": "ANALYSIS",
        "scope": "OBJECT",
        "context": "SESSION",
        "variant": "NORMAL"
      },
      {
        "name": "pages_durationAvg",
        "columnPeriod": "ANALYSIS",
        "scope": "OBJECT",
        "variant": "NORMAL",
        "inTimeSeries": "true"
      },
      {
        "name": "visits_bounceRate",
        "columnPeriod": "ANALYSIS",
        "scope": "OBJECT",
        "variant": "NORMAL"
      },
      {
        "name": "pages_exitRate",
        "columnPeriod": "ANALYSIS",
        "scope": "OBJECT",
        "variant": "NORMAL"
      }
    ],
    "viewMode": {
      "active": "timeSeries",
      "timeSeries": {
        "timeName": "time_days",
        "values": [
          "Search",
          "Home",
          "Cart"
        ],
        "top": "3",
        "viewType": "top"
      }
    },
    "predefinedContainer": {
      "filters": [
        {
          "name": "time_dynamic",
          "connector": "AND",
          "filterPredicate": "LIKE",
          "value1": "last_28_days",
          "value2": "",
          "context": "NONE",
          "caseSensitive": "false"
        }
      ],
      "containers": []
    },
    "variant": "LIST"
  }
}
Expand All
object

Defintiona of a anaylsis query structure

resultType
string Required

Type of result

Valid values[ "\"DATA_ONLY\"" ]
queryObject

Different type of queries are possible

OneOf
TableQuery
columns
Array of object Required

Array of columns

object
name
string
sortDirection
string

Possible sorting directions

Valid values[ "\"ASCENDING\"", "\"DESCENDING\"" ]
sortIndex
integer

Indicates order of sorting when there is more than one sorting column. (starting from 0).

lowerLimit
integer
upperLimit
integer
inTimeSeries
boolean

Optional property indicating if a column will be used in time series view mode; defaults to false. Can be omitted if it's value is not set to true.

columnPeriod
string

Indicates which Time range must be used for the column. ANALYSIS: uses the analysis time range. COLUMN: uses the time filter defined inside the column. ELEMENT: uses the time filter defined inside the element configuration - i.e. custom metric/formula

Valid values[ "\"ANALYSIS\"", "\"COLUMN\"", "\"ELEMENT\"" ]
scope
string
Valid values[ "\"OBJECT\"", "\"NONE\"" ]
context
string

Context to evaluate the metric/dimension. If context property is not given or empty the default context of the object will be used. The default context can be identified from the context property in the response list of /query-objects.

Valid values[ "\"VISITOR\"", "\"SESSION\"", "\"PAGE\"", "\"ACTION\"", "\"ATOMIC\"", "\"NONE\"" ]
predefinedContainer
object (Container)
filters
Array of object (Filter)

Array of filters

object
name
string

Name of the Metric or Dimension being filtered.

filterPredicate
string

Filter predicates

Valid values[ "\"EQUAL\"", "\"UNEQUAL\"", "\"LESS\"", "\"LESSEQUAL\"", "\"GREATER\"", "\"GREATEREQUAL\"", "\"BETWEEN\"", "\"LIKE\"", "\"NOT_LIKE\"" ]
connector
string

Connectors

Valid values[ "\"AND\"", "\"OR\"" ]
caseSensitive
boolean
context
string

Context to evaluate the metric/dimension. If context property is not given or empty the default context of the object will be used. The default context can be identified from the context property in the response list of /query-objects.

Valid values[ "\"VISITOR\"", "\"SESSION\"", "\"PAGE\"", "\"ACTION\"", "\"ATOMIC\"", "\"NONE\"" ]
intern
boolean

Indicates if filter should be prioritized (Advanced).

Default"False"
value1
string
value2
string
containers
Array of object (Container)

array of containers (recursion)

object Recursive
connector
string

Connectors

Valid values[ "\"AND\"", "\"OR\"" ]
context
string

Context to evaluate the metric/dimension. If context property is not given or empty the default context of the object will be used. The default context can be identified from the context property in the response list of /query-objects.

Valid values[ "\"VISITOR\"", "\"SESSION\"", "\"PAGE\"", "\"ACTION\"", "\"ATOMIC\"", "\"NONE\"" ]
type
string

Indicates how filters must be applied. TIME_ORDER is sequential, NORMAL not

Valid values[ "\"NORMAL\"", "\"TIME_ORDER\"" ]
inOrNotIn
string
Valid values[ "\"IN\"", "\"NOT_IN\"" ]
variant
string Required

Type of Data Structure

Valid values[ "\"LIST\"", "\"PIVOT\"", "\"PIVOT_AS_LIST\"", "\"COMPARISON\"" ]
predefinedContainer
object (Container)Required
filters
Array of object (Filter)

Array of filters

object
name
string

Name of the Metric or Dimension being filtered.

filterPredicate
string

Filter predicates

Valid values[ "\"EQUAL\"", "\"UNEQUAL\"", "\"LESS\"", "\"LESSEQUAL\"", "\"GREATER\"", "\"GREATEREQUAL\"", "\"BETWEEN\"", "\"LIKE\"", "\"NOT_LIKE\"" ]
connector
string

Connectors

Valid values[ "\"AND\"", "\"OR\"" ]
caseSensitive
boolean
context
string

Context to evaluate the metric/dimension. If context property is not given or empty the default context of the object will be used. The default context can be identified from the context property in the response list of /query-objects.

Valid values[ "\"VISITOR\"", "\"SESSION\"", "\"PAGE\"", "\"ACTION\"", "\"ATOMIC\"", "\"NONE\"" ]
intern
boolean

Indicates if filter should be prioritized (Advanced).

Default"False"
value1
string
value2
string
containers
Array of object (Container)

array of containers (recursion)

object Recursive
connector
string

Connectors

Valid values[ "\"AND\"", "\"OR\"" ]
context
string

Context to evaluate the metric/dimension. If context property is not given or empty the default context of the object will be used. The default context can be identified from the context property in the response list of /query-objects.

Valid values[ "\"VISITOR\"", "\"SESSION\"", "\"PAGE\"", "\"ACTION\"", "\"ATOMIC\"", "\"NONE\"" ]
type
string

Indicates how filters must be applied. TIME_ORDER is sequential, NORMAL not

Valid values[ "\"NORMAL\"", "\"TIME_ORDER\"" ]
inOrNotIn
string
Valid values[ "\"IN\"", "\"NOT_IN\"" ]
predefinedSegmentConnections
Array of object (Filter)
object
name
string

Name of the Metric or Dimension being filtered.

filterPredicate
string

Filter predicates

Valid values[ "\"EQUAL\"", "\"UNEQUAL\"", "\"LESS\"", "\"LESSEQUAL\"", "\"GREATER\"", "\"GREATEREQUAL\"", "\"BETWEEN\"", "\"LIKE\"", "\"NOT_LIKE\"" ]
connector
string

Connectors

Valid values[ "\"AND\"", "\"OR\"" ]
caseSensitive
boolean
context
string

Context to evaluate the metric/dimension. If context property is not given or empty the default context of the object will be used. The default context can be identified from the context property in the response list of /query-objects.

Valid values[ "\"VISITOR\"", "\"SESSION\"", "\"PAGE\"", "\"ACTION\"", "\"ATOMIC\"", "\"NONE\"" ]
intern
boolean

Indicates if filter should be prioritized (Advanced).

Default"False"
value1
string
value2
string
viewMode
object (ViewMode)
active
string
Valid values[ "\"comparison\"", "\"timeSeries\"" ]
comparison
object
type
string

type of comparison. It can be either on time or segment. The corresponding properties must be filled accordingly in values and sorting

Valid values[ "\"time\"", "\"segment\"" ]
values
object
time
Array of object (Filter)
object
name
string

Name of the Metric or Dimension being filtered.

filterPredicate
string

Filter predicates

Valid values[ "\"EQUAL\"", "\"UNEQUAL\"", "\"LESS\"", "\"LESSEQUAL\"", "\"GREATER\"", "\"GREATEREQUAL\"", "\"BETWEEN\"", "\"LIKE\"", "\"NOT_LIKE\"" ]
connector
string

Connectors

Valid values[ "\"AND\"", "\"OR\"" ]
caseSensitive
boolean
context
string

Context to evaluate the metric/dimension. If context property is not given or empty the default context of the object will be used. The default context can be identified from the context property in the response list of /query-objects.

Valid values[ "\"VISITOR\"", "\"SESSION\"", "\"PAGE\"", "\"ACTION\"", "\"ATOMIC\"", "\"NONE\"" ]
intern
boolean

Indicates if filter should be prioritized (Advanced).

Default"False"
value1
string
value2
string
segment
Array of object (SegmentContainer)
object
segmentID
string

ID of the Segment

connectorPredicate
string
inOrNotInPredicate
string
context
string

Context to evaluate the metric/dimension. If context property is not given or empty the default context of the object will be used. The default context can be identified from the context property in the response list of /query-objects.

Valid values[ "\"VISITOR\"", "\"SESSION\"", "\"PAGE\"", "\"ACTION\"", "\"ATOMIC\"", "\"NONE\"" ]
position
integer

Indicates segment ordering in case of several Segment

sorting
object
time
Array of object (ViewModeComparisonSortingItem)
object

Sorting of comparison

alias
string

alias of the column being sorted

direction
string

Possible sorting directions

Valid values[ "\"ASCENDING\"", "\"DESCENDING\"" ]
segment
Array of object (ViewModeComparisonSortingItem)
object

Sorting of comparison

alias
string

alias of the column being sorted

direction
string

Possible sorting directions

Valid values[ "\"ASCENDING\"", "\"DESCENDING\"" ]
timeSeries
object
timeName
string

The name of the time dimension used in the time series - i.e. "time_days" for days.

viewType
string

The type of the time series view mode. Set "top" for time series of the top "x" number of objects. Set "values" based on specific object values populated in the values list of this configuration.

Valid values[ "\"top\"", "\"values\"" ]
top
integer

The number of top objects the time series is build upon.

values
Array of string

A list of object values - i.e. ["Seach", "Cart", "Home"] for object "pages".

string
KpiQuery
elementPeriod
string

One of the following periods should be used:

  • ELEMENT: when the time filter is either inherited from the report or the time filter configured in the report element configuration.
  • MONAD: when the time filter is inherited from the custom metric configuration.
Valid values[ "\"ELEMENT\"", "\"MONAD\"" ]
type
string

Type of the query

Valid values[ "\"KPI\"", "\"SPARKLINE\"" ]
metricName
string

name of the metric of the KPI

dimensionName
string

name of the dimension of the KPI

comparison
object (Comparison)

Comparison definition

type
string

Type of comparison

Valid values[ "\"NONE\"", "\"PERIOD\"", "\"LIMIT\"", "\"SLIDING_WINDOW\"" ]
slidingWindowWeekdayAdjust
boolean
slidingWindowTimeShift
string
Valid values[ "\"PRECEDING\"", "\"PREVIOUS_MONTH\"", "\"PREVIOUS_QUARTER\"", "\"PREVIOUS_YEAR\"" ]
filter
object (Filter)
name
string

Name of the Metric or Dimension being filtered.

filterPredicate
string

Filter predicates

Valid values[ "\"EQUAL\"", "\"UNEQUAL\"", "\"LESS\"", "\"LESSEQUAL\"", "\"GREATER\"", "\"GREATEREQUAL\"", "\"BETWEEN\"", "\"LIKE\"", "\"NOT_LIKE\"" ]
connector
string

Connectors

Valid values[ "\"AND\"", "\"OR\"" ]
caseSensitive
boolean
context
string

Context to evaluate the metric/dimension. If context property is not given or empty the default context of the object will be used. The default context can be identified from the context property in the response list of /query-objects.

Valid values[ "\"VISITOR\"", "\"SESSION\"", "\"PAGE\"", "\"ACTION\"", "\"ATOMIC\"", "\"NONE\"" ]
intern
boolean

Indicates if filter should be prioritized (Advanced).

Default"False"
value1
string
value2
string
predefinedContainer
object (Container)
filters
Array of object (Filter)

Array of filters

object
name
string

Name of the Metric or Dimension being filtered.

filterPredicate
string

Filter predicates

Valid values[ "\"EQUAL\"", "\"UNEQUAL\"", "\"LESS\"", "\"LESSEQUAL\"", "\"GREATER\"", "\"GREATEREQUAL\"", "\"BETWEEN\"", "\"LIKE\"", "\"NOT_LIKE\"" ]
connector
string

Connectors

Valid values[ "\"AND\"", "\"OR\"" ]
caseSensitive
boolean
context
string

Context to evaluate the metric/dimension. If context property is not given or empty the default context of the object will be used. The default context can be identified from the context property in the response list of /query-objects.

Valid values[ "\"VISITOR\"", "\"SESSION\"", "\"PAGE\"", "\"ACTION\"", "\"ATOMIC\"", "\"NONE\"" ]
intern
boolean

Indicates if filter should be prioritized (Advanced).

Default"False"
value1
string
value2
string
containers
Array of object (Container)

array of containers (recursion)

object Recursive
connector
string

Connectors

Valid values[ "\"AND\"", "\"OR\"" ]
context
string

Context to evaluate the metric/dimension. If context property is not given or empty the default context of the object will be used. The default context can be identified from the context property in the response list of /query-objects.

Valid values[ "\"VISITOR\"", "\"SESSION\"", "\"PAGE\"", "\"ACTION\"", "\"ATOMIC\"", "\"NONE\"" ]
type
string

Indicates how filters must be applied. TIME_ORDER is sequential, NORMAL not

Valid values[ "\"NORMAL\"", "\"TIME_ORDER\"" ]
inOrNotIn
string
Valid values[ "\"IN\"", "\"NOT_IN\"" ]
predefinedSegmentConnections
Array of object (Filter)
object
name
string

Name of the Metric or Dimension being filtered.

filterPredicate
string

Filter predicates

Valid values[ "\"EQUAL\"", "\"UNEQUAL\"", "\"LESS\"", "\"LESSEQUAL\"", "\"GREATER\"", "\"GREATEREQUAL\"", "\"BETWEEN\"", "\"LIKE\"", "\"NOT_LIKE\"" ]
connector
string

Connectors

Valid values[ "\"AND\"", "\"OR\"" ]
caseSensitive
boolean
context
string

Context to evaluate the metric/dimension. If context property is not given or empty the default context of the object will be used. The default context can be identified from the context property in the response list of /query-objects.

Valid values[ "\"VISITOR\"", "\"SESSION\"", "\"PAGE\"", "\"ACTION\"", "\"ATOMIC\"", "\"NONE\"" ]
intern
boolean

Indicates if filter should be prioritized (Advanced).

Default"False"
value1
string
value2
string
Responses
200

Analysis completed

Calculated data available
{
  "calculationId": "8612fa1eaada53fbb1956402bbded4db732074e7e399645880ae6a54b99a2bd9_294915650484552",
  "resultUrl": "https://analytics-qa.nbg.webtrekk.com/analytics-service/intelligence-api/analysis-result/8612fa1eaada53fbb1956402bbded4db732074e7e399645880ae6a54b99a2bd9_294915650484552"
}
calculationId
string
resultUrl
string
201

Analysis enqueued

Query enqueued
{
  "correlationId": "94295cef-5b64-4934-ba25-011dd997aa81",
  "statusUrl": "https://analytics-qa.nbg.webtrekk.com/analytics-service/intelligence-api/analysis-query/94295cef-5b64-4934-ba25-011dd997aa81"
}
correlationId
string
statusUrl
string
403

No permission to execute operation

AnalysisNotFound

Invalid Token

{
  "title": "Invalid Token",
  "status": 403,
  "detail": "Token not valid",
  "statusCode": "INVALID_TOKEN"
}
Expand All
object
status
integer

HTTP Status Code

statusCode
string

Specific Mapp Error Code

title
string

Short description of the problem

detail
string

Detailed informations about the problem

errors
Array of object (Error)
object
name
string

Each error has specific properties described in following table:

ErrorDescriptionRelevant parameters
UnmappedNameAt least one object name cannot be found.List of objects not found in names array.
PivotIncompatibleMetricMetric not usable in Pivot detected.List of incompatible Metrics in names array.
PivotIncompatibleDimensionDimension not usable in Pivot detected.List of incompatible Dimensions in names array.
AnalysisLogicalCubeMismatchAll Dimensions and Metrics are not compatible.List of incompatible objects in names array.
InvalidSortingCriteriaSorting is applied on a non-sortable object.List of invalid sorted objects in names array.
TimeFilterMissingEach query must have a minimum of one Time Filter.N/A
InvalidSegmentNoneContainerA segment container has context set to NONE but either its connector is not set to AND or its inOrNotIn property is not set to IN.N/A
Valid values[ "\"UnmappedName\"", "\"PivotIncompatibleMetric\"", "\"PivotIncompatibleDimension\"", "\"AnalysisLogicalCubeMismatch\"", "\"InvalidSortingCriteria\"", "\"TimeFilterMissing\"", "\"InvalidSegmentNoneContainer\"" ]
parameters
object
arrangeTypes
Array of string

List of internal object names (dimension, metrics, filter, ...) that corresponds to the error.

string
aliases
Array of string

List of columns aliases that corresponds to the error. See Result Header alias property.

string
names
Array of string

List of object names (dimension, metrics, filter, ...) that corresponds to the error.

string
warnings
Array of object (Warning)
object
name
string

Each warnings has specific properties described in following table:

WarningDescriptionRelevant parameters
FilterLogicalCubeMismatchAt least one filter is ignored due to incompatibily with Dimensions and Metrics used.List of incomptible filter objects in names array.
InvalidMetricContextMetric used in an invalid context.List of metric with invalid context in aliases array.
SortingEnforcedSorting criteria has been added automaticallyList of objects that were sorted automatically in aliases array.
NoSortingDefinedSorting criteria is required for some dimensions.List of dimensions requiring a sorting in names array.
SortingLimitExceeded3 sorting criteria are allowed. All additional sorting criteria have been omitted.List of columns ignored for sorting in aliases array.
SortingRemovedA requested sorting criteria has been removedList of objects that were removed automatically in aliases array.
TodayRemovedToday date has been removed from calculation time range because the selected datasource does not contain it.daysInDataSource, todayDate
Valid values[ "\"FilterLogicalCubeMismatch\"", "\"InvalidMetricContext\"", "\"SortingEnforced\"", "\"NoSortingDefined\"", "\"SortingLimitExceeded\"", "\"SortingRemoved\"", "\"TodayRemoved\"" ]
parameters
object
arrangeTypes
Array of string

List of internal object names (dimension, metrics, filter, ...) that corresponds to the warning.

string
aliases
Array of string

List of columns aliases that corresponds to the error. See Result Header alias property.

string
names
Array of string

List of object names (dimension, metrics, filter, ...) that corresponds to the warning.

string
daysInDataSource
string

Number of days in the datasource which is beeing cut

todayDate
string

Date of the day being cut

422

Invalid JSON input

Expand All
object
status
integer

HTTP Status Code

statusCode
string

Specific Mapp Error Code

title
string

Short description of the problem

detail
string

Detailed informations about the problem

errors
Array of object (Error)
object
name
string

Each error has specific properties described in following table:

ErrorDescriptionRelevant parameters
UnmappedNameAt least one object name cannot be found.List of objects not found in names array.
PivotIncompatibleMetricMetric not usable in Pivot detected.List of incompatible Metrics in names array.
PivotIncompatibleDimensionDimension not usable in Pivot detected.List of incompatible Dimensions in names array.
AnalysisLogicalCubeMismatchAll Dimensions and Metrics are not compatible.List of incompatible objects in names array.
InvalidSortingCriteriaSorting is applied on a non-sortable object.List of invalid sorted objects in names array.
TimeFilterMissingEach query must have a minimum of one Time Filter.N/A
InvalidSegmentNoneContainerA segment container has context set to NONE but either its connector is not set to AND or its inOrNotIn property is not set to IN.N/A
Valid values[ "\"UnmappedName\"", "\"PivotIncompatibleMetric\"", "\"PivotIncompatibleDimension\"", "\"AnalysisLogicalCubeMismatch\"", "\"InvalidSortingCriteria\"", "\"TimeFilterMissing\"", "\"InvalidSegmentNoneContainer\"" ]
parameters
object
arrangeTypes
Array of string

List of internal object names (dimension, metrics, filter, ...) that corresponds to the error.

string
aliases
Array of string

List of columns aliases that corresponds to the error. See Result Header alias property.

string
names
Array of string

List of object names (dimension, metrics, filter, ...) that corresponds to the error.

string
warnings
Array of object (Warning)
object
name
string

Each warnings has specific properties described in following table:

WarningDescriptionRelevant parameters
FilterLogicalCubeMismatchAt least one filter is ignored due to incompatibily with Dimensions and Metrics used.List of incomptible filter objects in names array.
InvalidMetricContextMetric used in an invalid context.List of metric with invalid context in aliases array.
SortingEnforcedSorting criteria has been added automaticallyList of objects that were sorted automatically in aliases array.
NoSortingDefinedSorting criteria is required for some dimensions.List of dimensions requiring a sorting in names array.
SortingLimitExceeded3 sorting criteria are allowed. All additional sorting criteria have been omitted.List of columns ignored for sorting in aliases array.
SortingRemovedA requested sorting criteria has been removedList of objects that were removed automatically in aliases array.
TodayRemovedToday date has been removed from calculation time range because the selected datasource does not contain it.daysInDataSource, todayDate
Valid values[ "\"FilterLogicalCubeMismatch\"", "\"InvalidMetricContext\"", "\"SortingEnforced\"", "\"NoSortingDefined\"", "\"SortingLimitExceeded\"", "\"SortingRemoved\"", "\"TodayRemoved\"" ]
parameters
object
arrangeTypes
Array of string

List of internal object names (dimension, metrics, filter, ...) that corresponds to the warning.

string
aliases
Array of string

List of columns aliases that corresponds to the error. See Result Header alias property.

string
names
Array of string

List of object names (dimension, metrics, filter, ...) that corresponds to the warning.

string
daysInDataSource
string

Number of days in the datasource which is beeing cut

todayDate
string

Date of the day being cut


Was this article helpful?