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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
siddrow
Helper III
Helper III

Why does my whole dataset refresh when I've removed most of the data by filtering out lines?

Hi

 

In my power query for the dataset, I've removed out heaps of lines by using the filter function, so I'm left with about 200 lines. When I refresh my dataset, it still loads all rows (the original data is about 80k lines) and takes forever. How do I avoid this? This dataset is pulled from active directory and I need the live data, no just a data dump, so I can't bring it in any other way. 

1 ACCEPTED SOLUTION
3 REPLIES 3
lbendlin
Super User
Super User

The ActiveDirectory connector most likely doesn't support query folding.  Use an ODATA query against the Graph API instead, including your filters. Or - find an AD extract in CSV form that surely must exist in your company.

Hi

 

Thanks for the reply. I have never done that before - can you please explain " Use an ODATA query against the Graph API instead, including your filters"

 

thank you

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.