Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
J013
Advocate I
Advocate I

Power Query for specific OU

I am creating a report to show user metrics for a specific subset of users in AD. I am using the Active Directory connector in Power BI Desktop and while it works and pulls back the data I need, it is SLOW..... I am only looking to pull back information on currently about 100 user objects, but it seems to need to query over 30k across the entire domain before I can filter down to the specific OU I am looking for.

 

Does anyone know if it is possible using Power Query to specify the OU up front, like a base search string? Right now it takes like 5-10 minutes to pull data back when I think it should only take seconds.

 

Thanks.

1 REPLY 1
Anonymous
Not applicable

@J013,


I haven't found any methods that can be used to prefilter the OU before you load data into Power BI Desktop. It is only possible to filter specific OU after loading all the data in Power BI.

There is an idea about this issue, please vote it up.

Regards,
Lydia

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.