Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Lacodia
New Member

Interacting with reports in UWP App?

I'm new to PowerBi and am looking for some basic advice and direction to help us determine if our scenario is supported or not.

 

I want to embed reports into an C#, Azure/Power BI backed UWP app, drill down into the report, and click a button for an element to launch a form with the relevant data from the report, to populate the form. It looks like I can use the PowerBI-JavaScript library to find the correct page and filter to launch the correct PowerBI API to get the data, but will I be able to target the correct PowerBI element with a UWP Button using a combination of the PowerBI-JavaScript library and PowerBI API?

 

I'm not sure I understand how to filter to a user specified row and launch a UWP button form within PowerBi, or if I will need to have the user select an item within the embedded report, firing a javascrip event to load an external uwp button's datacontext?

 

Thank you,

Mark

1 ACCEPTED SOLUTION
v-ljerr-msft
Employee
Employee

Hi @Lacodia,


I'm not sure I understand how to filter to a user specified row and launch a UWP button form within PowerBi, or if I will need to have the user select an item within the embedded report, firing a javascrip event to load an external uwp button's datacontext?


I'm not familiar with UWP button, so I may not understand the requirement above totally.  With PowerBI-JavaScript library, you can also handle the report loaded/rendered or pageChanged event without having the user select on an item within the embedded report to interact with the uwp buttons. Smiley Happy

 

Reference:

https://github.com/Microsoft/PowerBI-JavaScript/wiki/Handling-Events

 

Regards

View solution in original post

2 REPLIES 2
v-ljerr-msft
Employee
Employee

Hi @Lacodia,


I'm not sure I understand how to filter to a user specified row and launch a UWP button form within PowerBi, or if I will need to have the user select an item within the embedded report, firing a javascrip event to load an external uwp button's datacontext?


I'm not familiar with UWP button, so I may not understand the requirement above totally.  With PowerBI-JavaScript library, you can also handle the report loaded/rendered or pageChanged event without having the user select on an item within the embedded report to interact with the uwp buttons. Smiley Happy

 

Reference:

https://github.com/Microsoft/PowerBI-JavaScript/wiki/Handling-Events

 

Regards

Thank you v-ljerr-msft, that's exactly what I was looking for!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors