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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.