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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.