<?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: Adding multiple percentile lines to custom visual in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Adding-multiple-percentile-lines-to-custom-visual/m-p/2542358#M4551</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="393019" data-lia-user-login="veroreinah" class="lia-mention lia-mention-user"&gt;veroreinah&lt;/a&gt;&amp;nbsp;- &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/analytics-pane#considerations-and-limitations" target="_self"&gt;as per the documentation&lt;/A&gt;, the analytics pane currently doesn't support multiple instances or selectors for custom visuals, so you can currently only have one instance per object. I'm not aware of this being on the teams roadmap currently - &lt;A href="https://github.com/microsoft/PowerBI-visuals-tools/issues/398" target="_self"&gt;these is an issue for some enhancements here&lt;/A&gt;&amp;nbsp;though that you might be able to add your requirements on.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2022 22:51:14 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2022-05-26T22:51:14Z</dc:date>
    <item>
      <title>Adding multiple percentile lines to custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Adding-multiple-percentile-lines-to-custom-visual/m-p/2533805#M4548</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I'm developing a custom visual and need to replicate part of the behavior of the Percentile line field you can find in the Analytics pane in the Clustered bar chart, for example.&lt;/P&gt;&lt;P&gt;So far, I've updated my capabilities.json file, so the percentile line can be customized in the Analytics Pane, but it only allows me to create one single line, instead of multiple. Does anyone have any idea how to do it?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;My percentile line.&lt;/STRONG&gt; Once I've added one line, I cannot add more, the "+ Add" button disappears:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Clustered bar chart Percentile line.&lt;/STRONG&gt; I've already added 2 lines, but can add more (the button "+ Add" is visible):&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is the field definition in capabilities.json:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    ...
    "objects": {
        ...
        "percentileLine": {
            "displayName": "Percentile line",
            "displayNameKey": "Visual_PercentileLine",
            "objectCategory": 2,
            "properties": {
                "show": {
                    "type": {
                        "bool": true
                    }
                },
                "displayName": {
                    "type": {
                        "text": true
                    }
                },
                "percentile": {
                    "displayName": "Percentile",
                    "displayNameKey": "Visual_Percentile",
                    "type": {
                        "integer": true
                    }
                },
                "color": {
                    "displayName": "Color",
                    "displayNameKey": "Visual_Color",
                    "type": {
                        "fill": {
                            "solid": {
                                "color": true
                            }
                        }
                    }
                }
            }
        }
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 15:19:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Adding-multiple-percentile-lines-to-custom-visual/m-p/2533805#M4548</guid>
      <dc:creator>veroreinah</dc:creator>
      <dc:date>2022-05-23T15:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding multiple percentile lines to custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Adding-multiple-percentile-lines-to-custom-visual/m-p/2542358#M4551</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="393019" data-lia-user-login="veroreinah" class="lia-mention lia-mention-user"&gt;veroreinah&lt;/a&gt;&amp;nbsp;- &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/analytics-pane#considerations-and-limitations" target="_self"&gt;as per the documentation&lt;/A&gt;, the analytics pane currently doesn't support multiple instances or selectors for custom visuals, so you can currently only have one instance per object. I'm not aware of this being on the teams roadmap currently - &lt;A href="https://github.com/microsoft/PowerBI-visuals-tools/issues/398" target="_self"&gt;these is an issue for some enhancements here&lt;/A&gt;&amp;nbsp;though that you might be able to add your requirements on.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 22:51:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Adding-multiple-percentile-lines-to-custom-visual/m-p/2542358#M4551</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2022-05-26T22:51:14Z</dc:date>
    </item>
  </channel>
</rss>

