Cube DataareaCalculateHash (10.3.1)
Calculates the hash value for each value in a data area and continuously adds the hash values to a resulting hash value. The data area used for this operation is the last data area that has been defined on this session.
Request
<Alea:Document xmlns:Alea="http://www.misag.com">
<Alea:Request RequestID="002" Class="Cube" Method="DataareaCalculateHash">
<Alea:DataQuery NonExistentCellSuppression="false" UseOnlyBasicElements="true" IncludeElementNames="true" Key="myKey" TreatZeroAsEmptyCell="false" />
</Alea:Request>
</Alea:Document>
This table describes the parameters:
Parameter | Value |
---|---|
UseOnlyBasicElements
|
False: all base
and consolidated cells are used. True: calculated cells (on all levels, rule-calculated base cells as well) are not considered. This parameter is optional. If this parameter is
included, it overrides the parameter from |
NonExistentCellSuppression
|
This XML attribute can be True or False. It specifies if empty cells are included in the respective query. A special case is that a string cell can contain an empty string. That is not the same as an empty cell. |
TreatZeroAsEmptyCell
|
True: all zero
values (<EPSILON, that is, values between 1e-10 and -1e-10) are treated
as #N/A. False: all zero values are treated as values and converted to string in scientific format with decimal separator '.' . |
IncludeElementNames
|
True or False
Defines whether element names are included in building the hash values. |
Key | Key for the hash calculation. This is optional. |
Answer
<Alea:Document xmlns:Alea="http://www.misag.com">
<Alea:Request RequestID="001">
<Alea:Value>0C0A3CD93D5E4D3107A2B75452BCF49627C77416
</Alea:Value>
</Alea:Request>
</Alea:Document>
Error
<Alea:Document xmlns:Alea="http://www.misag.com">
<Alea:Request RequestID="001">
<Alea:Error ErrorID="error_code"/>
</Alea:Request>
</Alea:Document>