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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
pyskaty
Frequent Visitor

Power Bi embedded - interaction through dataSelected event

hello,

I'm trying to implement interaction between my app and embedded power bi raport. I've seen demos with dataSelected event but this all seems to be insufficent. 

Let's say I have a table that shows users: user name and some aggregated data. I click on user name and through dataSelected event I can get 'user name' value and nothing more. Using 'user name' as a key to do something on my app side is not acceptable. I need userId. I don't want to put userId as a column in table visual. 

Is there any way to pass something 'extra' with dataSelected event? Not only value that was clicked.

 

best regards,

JJ

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @pyskaty,

For the 'data selected' event, it seems only got the current operation fields. So if you not add the field to your report visuals, it was not pick up other fields value based on the 'data selected' event.

In my opinion, I'd like to suggest you add processing with rest API to lookup specific value fields. The data selected event will show the table and column which the filter/slicer hosted.
if they stored in the same data table, you can use the rest API to get the data table and use the current value as a parameter to find out other field values.

"dataPoints": [
    {
      "identity": [
        {
          "target": {
            "table": "Product",
            "column": "Manufacturer"
          },
          "equals": "xxxxxx"
        }
]

Push Datasets - Datasets GetTables 

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @pyskaty,

For the 'data selected' event, it seems only got the current operation fields. So if you not add the field to your report visuals, it was not pick up other fields value based on the 'data selected' event.

In my opinion, I'd like to suggest you add processing with rest API to lookup specific value fields. The data selected event will show the table and column which the filter/slicer hosted.
if they stored in the same data table, you can use the rest API to get the data table and use the current value as a parameter to find out other field values.

"dataPoints": [
    {
      "identity": [
        {
          "target": {
            "table": "Product",
            "column": "Manufacturer"
          },
          "equals": "xxxxxx"
        }
]

Push Datasets - Datasets GetTables 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.