Forum Discussion

anupdeval's avatar
anupdeval
Frequent Visitor
7 years ago

Reg. Filter implementation

Hello,

 

WE are using Report Level Filter to implement a functionality to display data based on CLient Number.

 

I am using the basic filter to achive the same.

 

Question is, for implementation of filter,

Power BI brings all the data  (e.g 10 clients) & then applies filter in UI

OR

Power BI sends the filter condition to database to filter the data

 

THanks
Anup

2 Replies

  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    Community Support

    Hi anupdeval,

     

    If you connect to the data source in Import mode, the filter you mentioned is applied to Power BI data model, which is imported data in Power BI desktop. 

     

    If you are using DirectQuery or Connect Live mode, the filter condition is send to the corresponding data source. 

     

    Best Regards,
    Qiuyun Yu 

    • Anonymous's avatar
      Anonymous
      Not applicable

      v-qiuyu-msft
      We are using direct query and we have added a "Report Level Filter" and passing the value to this report level filter using URL prameter. 

      So, when we login to the report using this URL with parameter set for one client, will Power-BI executes the query for all clients first and then filter for the selected client on the visual level? 

      Or will it apply to my Where clause on the SQL it self?