<?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 percentage in format options of custom visual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/percentage-in-format-options-of-custom-visual/m-p/2230549#M33371</link>
    <description>&lt;P&gt;I am creating a bar chart and I want to have a property in format page in percentage for Inner Padding between bars. Can anyone please help me with how to declare this in capebilities.json along with the visual setting?&lt;BR /&gt;It would be helpful if you can share any tutorials for the same.&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SonaliDhotre_0-1639398438639.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/643072i213F2949CE8AE4BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SonaliDhotre_0-1639398438639.png" alt="SonaliDhotre_0-1639398438639.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Dec 2021 12:27:26 GMT</pubDate>
    <dc:creator>SonaliDhotre</dc:creator>
    <dc:date>2021-12-13T12:27:26Z</dc:date>
    <item>
      <title>percentage in format options of custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/percentage-in-format-options-of-custom-visual/m-p/2230549#M33371</link>
      <description>&lt;P&gt;I am creating a bar chart and I want to have a property in format page in percentage for Inner Padding between bars. Can anyone please help me with how to declare this in capebilities.json along with the visual setting?&lt;BR /&gt;It would be helpful if you can share any tutorials for the same.&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SonaliDhotre_0-1639398438639.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/643072i213F2949CE8AE4BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SonaliDhotre_0-1639398438639.png" alt="SonaliDhotre_0-1639398438639.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 12:27:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/percentage-in-format-options-of-custom-visual/m-p/2230549#M33371</guid>
      <dc:creator>SonaliDhotre</dc:creator>
      <dc:date>2021-12-13T12:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: percentage in format options of custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/percentage-in-format-options-of-custom-visual/m-p/2235022#M33411</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/301917"&gt;@SonaliDhotre&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;If you create a bar chart using default bar chart, it can be achieved by the solution in the following threads.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://geekdecoders.blogspot.com/2019/12/how-to-show-percentages-in-power-bi-bar.html" target="_self"&gt;&lt;STRONG&gt;How to Show Percentages in Power BI Bar or Column Chart&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;1. Create a measure to get the percentage
&lt;P&gt;2. Put the measure onto &lt;STRONG&gt;Values&lt;/STRONG&gt; field&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;DIV class="lia-message-subject"&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Bar-chart-with-data-label-percentage/td-p/2127567" target="_self"&gt;&lt;STRONG&gt;Bar chart with data label percentage&lt;/STRONG&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT size="3"&gt;Select a table visual instead of a graph.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="3"&gt;Drag your category to the Axis&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="3"&gt;Drag sales twice to the Values field well.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="3"&gt;Right click on the 1st sales values &amp;gt; Conditional formatting &amp;gt; Data bars.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT size="3"&gt;&lt;FONT size="3"&gt;Right click on the 2nd sales values &amp;gt; Show values as &amp;gt; Percentage of grand total.&lt;/FONT&gt;&lt;/FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_0-1639382478723.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/642940i7E7B29DD35D86B13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yingyinr_0-1639382478723.png" alt="yingyinr_0-1639382478723.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;I created a sample pbix file with creating default bar chart and unzipp the pbix file. I didn't find a specific property in the theme file to set the percentage display. Maybe you can try to contact &lt;A tabindex="-1" title="mailto:pbicvsupport@microsoft.com" href="mailto:pbicvsupport@microsoft.com" target="_blank" rel="noopener noreferrer" aria-label="Link custom visual support"&gt;custom visual support&lt;/A&gt; for professional help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 08:08:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/percentage-in-format-options-of-custom-visual/m-p/2235022#M33411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-13T08:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: percentage in format options of custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/percentage-in-format-options-of-custom-visual/m-p/2235512#M33416</link>
      <description>&lt;P&gt;Hey&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;BR /&gt;sorry for not being earlier but I think you misunderstood the use case.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SonaliDhotre_0-1639398344774.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/643070i5C141CF6AA5CA7A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SonaliDhotre_0-1639398344774.png" alt="SonaliDhotre_0-1639398344774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to have the following property in the Format pane for my custom visual. Can you please help me with this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 12:26:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/percentage-in-format-options-of-custom-visual/m-p/2235512#M33416</guid>
      <dc:creator>SonaliDhotre</dc:creator>
      <dc:date>2021-12-13T12:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: percentage in format options of custom visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/percentage-in-format-options-of-custom-visual/m-p/2236555#M33429</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/301917"&gt;@SonaliDhotre&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Percentage sliders are only available in special cases for reserved names, and these are not documented anywhere (despite it being a common ask).&lt;/P&gt;
&lt;P&gt;That being said, you should be able to manage this particular case by naming it &lt;FONT face="courier new,courier"&gt;innerPadding&lt;/FONT&gt; with a type of &lt;FONT face="courier new,courier"&gt;integer&lt;/FONT&gt; - the naming has to be exactly right, including case.&lt;/P&gt;
&lt;P&gt;In capabilities.json:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;        ....
        "innerPadding": {
          "displayName": "Inner Padding",
          "type": {
            "integer": true
          }
        },
        ....&lt;/LI-CODE&gt;
&lt;P&gt;And you need to instantiate the property in the approprate settings class property with an initial value between 1 and 100.&lt;/P&gt;
&lt;P&gt;This will then show as desired in the properties pane:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dmp_0-1639431856083.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/643323i67BBBCF864258C27/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dmp_0-1639431856083.png" alt="dmp_0-1639431856083.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For these properties (if you can find them), the property pane validation and enumeration is handled by the main window.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 13 Dec 2021 21:45:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/percentage-in-format-options-of-custom-visual/m-p/2236555#M33429</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-12-13T21:45:35Z</dc:date>
    </item>
  </channel>
</rss>

