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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
chotu27
Post Patron
Post Patron

Persistent filters in Power BI Embeded

HI All,

 

We have Reports in Power BI Embeded to our own application. How to get  persistent filters working in embeding .

 

 

Can anyone help me please

2 REPLIES 2
v-micsh-msft
Microsoft Employee
Microsoft Employee

You could take use of the set filter API:

For example:

const filters: [
   ...
];

report.setFilters(filters)
 .catch(errors => {
   ...
 });. 

 For more information, see:

Filters

 

Regards,

Michael

I have a similar question.

 

We use Power BI embedded in a solution.

 

Users that come to the reports always get the same filters and defaults. Because the Application is the 'user', each user that uses the embedded reports is not seen as a unique user by Power BI and so the persistent filtering capability is not used.

 

Is there any way to solution this? Should we use Active Directory to create an AD account for every user that signs up and then insure that user context is used when calling the reports? Can a user context be sent with each report request?

 

Many thanks for any ideas/tips.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.