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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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