Forum Discussion
shahvinay194
7 years agoFrequent Visitor
Power BI Embedding- retain slicer/filter configuration
I have an app which embeds the report by using the concept of user owns data. I want to retain the slicers/filters configuration retained by user without saving the report in my app. Is this possible...
TedPattison
Microsoft Employee
7 years agoIf you do not save the desired filter in the report itself, you need to store it somewhere such as a SQL database or in some other media. If the user sets fitlering in the report itself, you client-side code can get he current filter settings by calling report.getFilters. You can take that filter info and save it to a database. Then when that use logs on in a future session, you could retrive that per-user filter state and reapply it o the report.
Is this the type of functionality you are looking for?