- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Getting Measure Value via JavaScript API
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
capture not only the event but also the filter context. Then run a query against the semantic model with the same filters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@lbendlin thank you for your quick response. I will forward this to our developers and if successful will post back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
07-23-2024 12:32 AM | |||
10-02-2024 10:54 PM | |||
07-10-2024 02:08 PM | |||
04-25-2024 07:31 AM | |||
04-16-2024 02:55 AM |
User | Count |
---|---|
16 | |
10 | |
5 | |
2 | |
2 |