Share via

Power BI - Active Directory Query Performance

Arsenio Quijano Larrosa 21 Reputation points
2021-04-12T11:01:07.8+00:00

We want query from Power BI to the active directory, asking for users and groups of those users, but the query is very expensive. Poor performance. There is some way to optimize it or get this data in another way.
The query we currently use is:

let
Origen = ActiveDirectory.Domains("domain.local"),
domain.local = Origen{[Domain="domain.local"]}[#"Object Categories"],
user1 = domain.local{[Category="user"]}[Objects],
#"Se expandió top" = Table.ExpandRecordColumn(user1, "top", {"memberOf"}, {"top.memberOf"}),
#"Se expandió top.memberOf" = Table.ExpandListColumn(#"Se expandió top", "top.memberOf"),
#"Se expandió top.memberOf1" = Table.ExpandRecordColumn(#"Se expandió top.memberOf", "top.memberOf", {"cn"}, {"top.memberOf.cn"})
in
#"Se expandió top.memberOf1"

where "domain.local" is our domain.

Thank you

Community Center | Not monitored
0 comments No comments

Answer accepted by question author

Anonymous
2021-04-12T12:42:33.5+00:00

Power Bi is not currently supported here on QnA. The product group for Power Bi actively monitors questions over at
https://community.powerbi.com/

--please don't forget to Accept as answer if the reply is helpful--

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.