We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I would like to know is it possible to use the power Bi report drill through using the Javascript API. I had gone through the power javascript playground(https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html) but didn't find any information. If yes can anyone provide any reference links or any alternatives for the same?
Hi @tarunitron ,
Do you want to achieve Drill through in the custom visual or do you want to achieve Drill through through buttons?
Custom visual:
You need to create selection IDs so that Power BI can signal the correct context to other visuals.
https://docs.microsoft.com/en-nz/power-bi/developer/visuals/selection-api
The menu displays this option by binding the context menu to an element with a valid selection ID that matches the measure or field set to drill.
https://docs.microsoft.com/en-nz/power-bi/developer/visuals/context-menu
Drill through buttons:
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-drill-through-buttons
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |