MemberKey (PQL)

Returns the key of the target or source member used in a cross-model interaction

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

Syntax

MemberKey()

Comments
  • The function returns the key of the designated member object in the interaction.
  • The function can only be used together with the SourceMember and TargetMember functions.

Examples

The example below shows how to get the key of the target member in an interaction to be used in the mapping formula. If the target member's unique name was [Customer].[Country].[100] , the formula would return "100 "

targetMember().memberKey()

For a more complete example, please see member captions.