TargetMember (PQL)

Returns the target 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

TargetMember()
Comments
  • The function returns the designated target 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 target member's hierarchy in an interaction to be used in the mapping formula. If the target member was "[Customer].[Country].[Australia]" (triggered from an interaction), the formula would return "Country"

targetMember().HierarchyCaption()

For a more complete example, please see member captions.