<?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 Can we Add/Remove fields from selected data source dynamically in custom visual script ? in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Can-we-Add-Remove-fields-from-selected-data-source-dynamically/m-p/3039894#M6682</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a power BI custom visual developer. I have defined two data roles (sections) in capabilities.json of my custom visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So below is my question:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we Add/Remove fields dynamically from custom visual script into the defined data roles/sections (Category Data and Drilling Data) in below image ? If yes, please guide how can I get this behaiour ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hamid_Son_0-1674556086450.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/860641iFB8EE9B179D80B8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hamid_Son_0-1674556086450.png" alt="Hamid_Son_0-1674556086450.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tanveer Hamid.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2023 10:30:50 GMT</pubDate>
    <dc:creator>Hamid_Son</dc:creator>
    <dc:date>2023-01-24T10:30:50Z</dc:date>
    <item>
      <title>Can we Add/Remove fields from selected data source dynamically in custom visual script ?</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Can-we-Add-Remove-fields-from-selected-data-source-dynamically/m-p/3039894#M6682</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a power BI custom visual developer. I have defined two data roles (sections) in capabilities.json of my custom visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So below is my question:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we Add/Remove fields dynamically from custom visual script into the defined data roles/sections (Category Data and Drilling Data) in below image ? If yes, please guide how can I get this behaiour ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Hamid_Son_0-1674556086450.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/860641iFB8EE9B179D80B8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Hamid_Son_0-1674556086450.png" alt="Hamid_Son_0-1674556086450.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Tanveer Hamid.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 10:30:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Can-we-Add-Remove-fields-from-selected-data-source-dynamically/m-p/3039894#M6682</guid>
      <dc:creator>Hamid_Son</dc:creator>
      <dc:date>2023-01-24T10:30:50Z</dc:date>
    </item>
  </channel>
</rss>

