microsoft / powerbi-client-angular

Power BI Angular component. This library lets you embed Power BI report, dashboard, dashboard tile, report visual, or Q&A in your Angular application.
Other
135 stars 65 forks source link

Clear Selection Programmatically #35

Closed jainanuj0812 closed 1 year ago

jainanuj0812 commented 1 year ago

Can we have a method for the Report to clear the selection on the report?

Case:- Let's suppose we have a bar report rendered in the application and I have clicked on the particular bar. Now just like we have an option for 'Clear Selection' in the more option of the report. We can do it programmatically by introducing a new method for the report.

jainanuj0812 commented 1 year ago

Did it non-programtically. I know we can unselect any selection by clicking anywhere in the visual canvas, but my requirement need a button through which all selection resets.

Let me know if anyone wants the steps to achieve. I can share it