Forum Discussion
Custom visual to get data from other visuals
- 3 years ago
Hi ChayaL,
What you are looking to do will not be possible to solve with custom visuals. The approach you're using with embedding is the "correct" way to approach what you're doing.
For security reasons, custom visuals cannot communicate (or even know about) other visuals on the same page, or other report assets such as the data model. They are only permitted to access the data that Power BI gives them (i.e., what columns and measures the creator supplied to make the visual dataset, or any measures used for conditional formatting).
Regards,
Daniel
I was looking exacly the same theese days, so I can create a ChatGPT visual to get data insights into the same report or page. I also tried the same code of PowerBI embeded during my trials inside custom visuals but it did't work. Based also on Daniel's awnser seems imposible though the custom visual to get out of visual scope and retrive data from page or report scope level.