Forum Discussion

andrehawari's avatar
andrehawari
Helper II
7 years ago

Getting Usergroup in the Active Directory

Hi, 

I am using power bi service that connected to azure analysis services using live connection.

 

I need a function that similar like function : username(), but to retreive the user group that the username belongs to.

 

For ex: use username() function I can get string like : [email protected]

[email protected] is under AD group [email protected] --> this one is the value I want

 

Any suggestion how to do that in dax ?

 

Thanks