QPR Knowledge Base 2017.1

SetSCMeasureValuesForMeasure

SetSCMeasureValuesForMeasure

Previous topic Next topic No directory for this topic  

SetSCMeasureValuesForMeasure

Previous topic Next topic Topic directory requires JavaScript Mail us feedback on this topic!  

Revision history:

Introduced in QPR 8.0

Last changed in QPR 8.1 SP1

 

Sets measure values for a QPR Metrics measure.

 

Synopsis:

 

void SetSCMeasureValuesForMeasure(string sessionId, string measureId, string[][] values, string options)

 

Return Value:

 

None.

 

Parameters:

 

sessionId: String. ID of an authenticated session.

measureId: String. FullId of the QPR Metrics measure to modify.
values: Array. Two dimensional array of measure value identifiers and values. Arrays are formatted as follows:
[[Series symbol #1, Date #1 (in XML date format), Value #1],
[Series symbol #2, Date #2 (in XML date format), Value #2],
...
]

Note: You can define the date in three ways: By period index, by period name, or by date. To define a period index, prefix the value with a #, i.e. "#5" would make the value to be set for the fifth period. To define the target period by the period name, prefix the value with a $, e.g. "$Q3/2009". To define the period by a date, input the date in XML date format without any special control characters.
options: String. Comma-separated list of options used for setting values. Currently there are no supported options.

 

Note: If a row in the values array contains invalid data, that row is ignored, and the invalid row together with the error message is listed in the exception that is raised.