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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Powerbi Embed dataSelected Event not getting captured by report.on('dataSelected')

 

I have 2 bar chart visuals and they have a similar config, uses the same table but different columns. When I perform data selection on one visual I am able to capture that event using JS SDK but in case of the another I get the following error

 

AI: StringValueTooLong message:"string value is too long. It has been truncated to 1024 characters." props:"{value:Throwing exception: {}.\nStack:\nError\n at

 

I am unable to figure out the RCA behind this. Can someone please help here ?

Status: New
Comments
v-lili6-msft
Community Support

hi

if there is an empty Top N or an empty Include Exclude Filter in this visual? and if you change the fields for this visual see if it works well?

 

Regards,

Lin