Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi all, Im using embedded power bi report using javascript in my project. Each and every login, the dropdown options may be differ. Can we selete any option of following via javascript? (Means not filtering, only seleting)
For logins, im using following filter
const filter = {
$schema: "http://powerbi.com/product/schema#basic",
target: {
table: "Master",
column: "companyId"
},
operator: "In",
values: [${company}] //setting company ids here in jsp page
}
Hi @varman,
These filters in your post are filters rather than slicers. It seems we can't manipulate slicers by JS API for now. The workaround could be "Apply a bookmark". Please refer to the demo.
Best Regards,
Dale
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 44 | |
| 38 | |
| 34 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 65 | |
| 30 | |
| 26 | |
| 25 |