Skip to main content Skip to complementary content

NxTrendlineDef

Trendline input definition

Warning noteEXPERIMENTAL.
This API is under development. Do not rely on it. It may change or be removed in future versions.

Properties

Name Description Type
qType

The type of trendline to calculate

One of:

  • AVERAGE or Average
  • LINEAR or Linear
  • POLYNOMIAL2 or Polynomial2
  • POLYNOMIAL3 or Polynomial3
  • POLYNOMIAL4 or Polynomial4
  • EXPONENTIAL or Exponential
  • POWER or Power
  • LOG or Logarithmic
String
qXColIx

The column in the hypercube to be used as x axis. Can point to either a dimension (numeric or text) or a measure

Integer
qCalcR2

Set to true to calulatate the R2 score

Boolean
qContinuousXAxis

Set if the numerical value of x axis dimension should be used

One of:

  • Never or CONTINUOUS_NEVER
  • Possible or CONTINUOUS_IF_POSSIBLE
  • Time or CONTINUOUS_IF_TIME
String
qMultiDimMode

If you have a hypercube with two dimensions and qXColIx refers to a dimension This determines if you get one trendline of each value in the other dimension or Or trendline based on the sum of the value in the other dimension The sum variant is only supported when qXColIx is 0 and qMode (on the hypercube) is K or T

One of:

  • Multi or TRENDLINE_MULTILINE
  • Sum or TRENDLINE_SUM
String

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!