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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Gracie
Helper II
Helper II

API filter function in web app filters data before the whole dataset loads or after ?

Hello,

 

I want to use API to load power bi dashboards to my web application. I need to use filter to show different report to different visitors. Since my whole dataset is very big, I don't wanna load the whole dataset in the application. I am wondering if the filter function filters the original dataset and then load to web applicaiton?? Or it loads the whole dataset first then do the filter?

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee


@Gracie wrote:

Hello,

 

I want to use API to load power bi dashboards to my web application. I need to use filter to show different report to different visitors. Since my whole dataset is very big, I don't wanna load the whole dataset in the application. I am wondering if the filter function filters the original dataset and then load to web applicaiton?? Or it loads the whole dataset first then do the filter?


@Gracie

I don't think it would load the whole dataset, eg, you have a dataset as huge as 1GB, however when rendering the report, it only loads the data aggregated in the report visuals, the tranferred data size shall be much more more less than 1GB.

 

Based on my understanding, when applying filters, it is actually the Javascript APIs that send some request, then data is queried and filtered at server end and then response with filtered data. So most probably you would get the similar performance when rendering an embedded report with filters comparing to playing filters in the same report in Power BI Service.

 

As to different users seeing the report with individual data, you may check Row Level Security.

 

Regarding how to use the Javascript API to filter reports, you can check Filters.

 

By the way, have you ever got any actual performance issue when applying a filter?

View solution in original post

1 REPLY 1
Eric_Zhang
Microsoft Employee
Microsoft Employee


@Gracie wrote:

Hello,

 

I want to use API to load power bi dashboards to my web application. I need to use filter to show different report to different visitors. Since my whole dataset is very big, I don't wanna load the whole dataset in the application. I am wondering if the filter function filters the original dataset and then load to web applicaiton?? Or it loads the whole dataset first then do the filter?


@Gracie

I don't think it would load the whole dataset, eg, you have a dataset as huge as 1GB, however when rendering the report, it only loads the data aggregated in the report visuals, the tranferred data size shall be much more more less than 1GB.

 

Based on my understanding, when applying filters, it is actually the Javascript APIs that send some request, then data is queried and filtered at server end and then response with filtered data. So most probably you would get the similar performance when rendering an embedded report with filters comparing to playing filters in the same report in Power BI Service.

 

As to different users seeing the report with individual data, you may check Row Level Security.

 

Regarding how to use the Javascript API to filter reports, you can check Filters.

 

By the way, have you ever got any actual performance issue when applying a filter?

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.