<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom visual to get data from other visuals in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-to-get-data-from-other-visuals/m-p/3194530#M42269</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="547635" data-lia-user-login="ChayaL" class="lia-mention lia-mention-user"&gt;ChayaL&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2023 21:35:50 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2023-04-18T21:35:50Z</dc:date>
    <item>
      <title>Custom visual to get data from other visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-to-get-data-from-other-visuals/m-p/3193250#M42250</link>
      <description>&lt;P&gt;I'm trying to write a custom visual which will export the data of all the other visuals in the report as well as the filter selection. I can't find a way to get information from the other visuals. Is there a way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently doing something similar with an embedded report by calling&lt;/P&gt;&lt;P&gt;report = powerbi.get(embedContainer);&lt;/P&gt;&lt;P&gt;pages = await report.getPages();&lt;/P&gt;&lt;P&gt;and then looping through the pages and their visuals and calling&lt;/P&gt;&lt;P&gt;visuals[i].exportData();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to do this from a visual within the report so I don't need to embed the report.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 09:38:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-to-get-data-from-other-visuals/m-p/3193250#M42250</guid>
      <dc:creator>ChayaL</dc:creator>
      <dc:date>2023-04-18T09:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual to get data from other visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-to-get-data-from-other-visuals/m-p/3194530#M42269</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="547635" data-lia-user-login="ChayaL" class="lia-mention lia-mention-user"&gt;ChayaL&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 21:35:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-to-get-data-from-other-visuals/m-p/3194530#M42269</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2023-04-18T21:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual to get data from other visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-to-get-data-from-other-visuals/m-p/3195134#M42276</link>
      <description>&lt;P&gt;Thank you for the explanation!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 07:32:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-to-get-data-from-other-visuals/m-p/3195134#M42276</guid>
      <dc:creator>ChayaL</dc:creator>
      <dc:date>2023-04-19T07:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual to get data from other visuals</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-to-get-data-from-other-visuals/m-p/3199862#M42329</link>
      <description>&lt;P&gt;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&amp;nbsp;&lt;SPAN&gt;Daniel's awnser seems imposible though the custom visual to get out of visual scope and retrive data from page or report scope level.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 10:49:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-to-get-data-from-other-visuals/m-p/3199862#M42329</guid>
      <dc:creator>S19K15</dc:creator>
      <dc:date>2023-04-21T10:49:08Z</dc:date>
    </item>
  </channel>
</rss>

