Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

GetSymbolWeight

Use this function to return the weight of the specified symbol to a specific parent. The weight is returned as a string. Review the following table for a summary of possible return values and their corresponding status.

Return ValueDescription

+

Symbol adds to the parent value.    

-

Symbol subtracts from the parent value.

0

Symbol has no mathematical effect on the specified parent.

Syntax

GetSymbolWeight( "dimension", "symName", "parentSymame")

where:

  • dimension is the name of the dimension that contains the symbol.
  • symName is the name of the symbol whose weight is to be retrieved.
  • parentSymName is a parent symbol of the specified symbol.

Syntax example

Set Variable symWeight = GetSymbolWeight("ACCOUNTS", "Cash", "Total_Assets")

Published:

GetSymbolWeight

Use this function to return the weight of the specified symbol to a specific parent. The weight is returned as a string. Review the following table for a summary of possible return values and their corresponding status.

Return ValueDescription

+

Symbol adds to the parent value.    

-

Symbol subtracts from the parent value.

0

Symbol has no mathematical effect on the specified parent.

Syntax

GetSymbolWeight( "dimension", "symName", "parentSymame")

where:

  • dimension is the name of the dimension that contains the symbol.
  • symName is the name of the symbol whose weight is to be retrieved.
  • parentSymName is a parent symbol of the specified symbol.

Syntax example

Set Variable symWeight = GetSymbolWeight("ACCOUNTS", "Cash", "Total_Assets")

For an optimal Community experience, Please view on Desktop