SourceMember (PQL)

Returns the source member used in a cross-model interaction  

  • Returned Output: Member
  • Library: PQL \ Action \ Cross-Model
  • Version: 2018.00.000
  • Compatibility: Any content (regardless of data source) in the relevant parts of the application

Syntax

SourceMember()
Comments
  • The function returns the designated source member object in the interaction.
  • The function is used together with the other cross model functions like MemberCaption and HierarchyCaption.

Examples

The example below shows how to get the caption of the source member's hierarchy in an interaction to be used in the mapping formula. If the source member was "[Customer].[Country].[Australia]" (triggered from an interaction), the formula would return "Country"

sourceMember().HierarchyCaption()

For a more complete example, please see member captions.