Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
We have an embedded PBI Report and are having trouble getting Measure values via the JavaScript API.
Specifically, we have a button configured with a Web URL that points to a measure. When the user clicks the button, we can catch the event via the JavaScript API, but how to get the measure value? This seems elusive, if not impossible.
Web searches and AI results have not been helpful. Any code examples would be great!
Thanks in advance.
Hi @WishAskedSooner,
I wanted to follow up since we haven't heard back from you regarding our last response. We hope your issue has been resolved.
If the community member's answer your query, please mark it as "Accept as Solution" and select "Yes" if it was helpful.
If you need any further assistance, feel free to reach out.
Please continue using Microsoft community forum.
Thank you,
Pavan.
Our developers were able to find a solution, but it didn't involve querying the semantic model. Not exactly sure how they went about it because I am not a software developer.
Hi @WishAskedSooner,
Thank you for reaching out in Microsoft Community Forum.
Is your issue resolved? If yes, please mark it as "Accept as Solution" and give it a 'Kudos' if it was helpful. This will help other members find it more easily.
Regards,
Pavan.
Hi @WishAskedSooner,
Thank you for reaching out in Microsoft Community Forum.
As you mentioned your issue has been resolved, so kindly consider marking it as "Accept as Solution" and give it a 'Kudos'. if it was helpful and help other members find it more easily.
Please continue using Microsoft community forum.
Regards,
Pavan.
capture not only the event but also the filter context. Then run a query against the semantic model with the same filters.
@lbendlin thank you for your quick response. I will forward this to our developers and if successful will post back.
Hi @WishAskedSooner,
Thank you for reaching out to the Microsoft Community Forum.
Thank you @lbendlin for the helpful response.
We hope your issue has been resolved using the solution suggested by Ibendlin. Please let us know if the issue is resolved or if you need any further assistance.
Please continue using the Microsoft Community Forum.
If you found this post helpful, please consider marking it as "Accept as Solution" and giving it a 'Kudos' to help other members find it more easily.
Regards,
Pavan.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |