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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
viveksasi94
Helper I
Helper I

When are the filters applied to the data?

Hi All, I have a doubt regarding the application of filters to the data. When are the filters applied to the data?. I'm considering the following two scenarios in Direct Query mode: 1. All the data field is pulled into the report and then the page level or report level filter is applied to the whole data. 2. A query consisting of all the filters applied to report is sent to the database and only the filtered data is being pulled into the report. Kindly clarify me with the above two options or let me know if it is not these two.

2 ACCEPTED SOLUTIONS
PattemManohar
Community Champion
Community Champion

@viveksasi94  It will be option 1 in Direct Query mode.





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




View solution in original post

MFelix
Super User
Super User

Hi @viveksasi94,

Both options are viable in power bi. You can have a data model without any filter and then place filters at report level, page level, visual level or even at a measure level (DAX) or you can make the model filtered before.

On the second option you also have several options depending on the data source. You can make filters at query level getting only the information you want, you can create parameters to have the filters be applied after getting the query data on PBI and in this case the information consider to your model is filtered out however you see it as a part of the steps of your data treatment.

You have several options as you can see and the have several pros and cons and depend on the needs on your setup.

Regards
MFelix

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi @viveksasi94,

Both options are viable in power bi. You can have a data model without any filter and then place filters at report level, page level, visual level or even at a measure level (DAX) or you can make the model filtered before.

On the second option you also have several options depending on the data source. You can make filters at query level getting only the information you want, you can create parameters to have the filters be applied after getting the query data on PBI and in this case the information consider to your model is filtered out however you see it as a part of the steps of your data treatment.

You have several options as you can see and the have several pros and cons and depend on the needs on your setup.

Regards
MFelix

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



PattemManohar
Community Champion
Community Champion

@viveksasi94  It will be option 1 in Direct Query mode.





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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