Hello,
I want to filter assignee by all Members who are in 2 groups on the same time. for example on Developers group and Approvers groups.
I found on the doc this filter.
Filter(
[Reporter].[User].Members,
CoalesceEmpty([Reporter].CurrentMember.get('Groups'), '') MATCHES '.*developers.*'
)
I can filter by only developers group but not Approvers group.
Any help pleaze ?
Thanks in advance.
Regards,
Seif,
Why woud you use the "Reporter" dimension if you need to filter assignees?
The way I understand your question you need to create a calculated member in the "Assignee" dimension using the following formula:
Filter(
[Assignee].[User].Members,
CoalesceEmpty([Assignee].CurrentMember.get('Groups'), '') MATCHES '.*developers.*'
AND
CoalesceEmpty([Assignee].CurrentMember.get('Groups'), '') MATCHES '.*approvers.*'
)
Martins / eazyBI
Thanks @Martins Vanags -eazyBI- it works.
For your remak, i just copy the code from the docs. But, you have right i should put assignee instead of Reporter.
Have a great day !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.