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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Direct Query Filtering

I'm working with a dataset in a data warehouse. It is a very large dataset but I suspect in most cases the users will only be querying newer data. I think a Direct Query solution will likely work, but I wondered what the best place is to put in my date filters would be. Is it better to insert these filters at the Power Query level or in Power BI? Or does it matter since the queries are only actually sent when a visualization is refreshed?

 

Theoretically, then, I could insert a report-level filter for dates and have that set as default but allow report viewers to change it if for some reason they want to query older data? In most cases that should keep performance within reasonable bounds, right? If that works, it seems like a nice compromise.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Doesn't really matter in Direct Query but you can use Power Query as a sort of safety net. Whatever the users filter in the UI will be added to the Power Query filters.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Doesn't really matter in Direct Query but you can use Power Query as a sort of safety net. Whatever the users filter in the UI will be added to the Power Query filters.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.