Hi,
I have a custom user picker field called Reviewer, and I want to use it as in calculated member to check if a user in a group. I’ve successfully used the Assignee field, and the following code from documentation works:
Aggregate(
Filter([Assignee].[User].Members,
CoalesceEmpty([Assignee].CurrentMember.get('Groups'), '')
MATCHES '.*(^|,)JIRA_Test Group($|,).*'
)
)
However, when I replace Assignee with Reviewer, I encounter an error: “Formula is not valid: More than one function matches signature ‘.Members’; they are: .Members, .Members.”
Aggregate(
Filter([Reviewer].[User].Members,
CoalesceEmpty([Reviewer].CurrentMember.get('Groups'), '')
MATCHES '.*(^|,)JIRA_Test Group($|,).*'
)
)
I’ve attempted to check if the Group property exists using the following measure:
[Reviewer].CurrentMember.AllProperties
However, it only returns Key. Contrastingly, when I use the same measure for Assignee, I can see Group among the properties.
Can anyone help me understand how to retrieve the Group property for a user from the custom user picker field Reviewer?