<?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 Bar chart data labels in percent in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/bar-chart-data-labels-in-percent/m-p/110030#M43466</link>
    <description>&lt;P&gt;Hello, I am currently working with bar visualizations in a new workbook editor. When I use labels, I can see the count of rows returned, and hovering over them shows the percentage of the two values returned. How can I make the percentage display on the chart in the same way the count does?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gm_co_0-1739384118290.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/14848iC8B84A79E3C5061C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gm_co_0-1739384118290.png" alt="gm_co_0-1739384118290.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2025 18:15:33 GMT</pubDate>
    <dc:creator>gm_co</dc:creator>
    <dc:date>2025-02-12T18:15:33Z</dc:date>
    <item>
      <title>Bar chart data labels in percent</title>
      <link>https://community.databricks.com/t5/data-engineering/bar-chart-data-labels-in-percent/m-p/110030#M43466</link>
      <description>&lt;P&gt;Hello, I am currently working with bar visualizations in a new workbook editor. When I use labels, I can see the count of rows returned, and hovering over them shows the percentage of the two values returned. How can I make the percentage display on the chart in the same way the count does?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gm_co_0-1739384118290.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/14848iC8B84A79E3C5061C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gm_co_0-1739384118290.png" alt="gm_co_0-1739384118290.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 18:15:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bar-chart-data-labels-in-percent/m-p/110030#M43466</guid>
      <dc:creator>gm_co</dc:creator>
      <dc:date>2025-02-12T18:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart data labels in percent</title>
      <link>https://community.databricks.com/t5/data-engineering/bar-chart-data-labels-in-percent/m-p/116207#M45269</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/148971"&gt;@gm_co&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Were you able to sort this out?&lt;BR /&gt;You can display % in two ways:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In the General settings, check the box for &lt;STRONG&gt;Normalize values to percentage.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;As you have enabled Labels, just set the Data labels to &lt;STRONG&gt;{{ @@yPercent }}.&lt;/STRONG&gt;&amp;nbsp;This will show the percentage directly on the chart, just like the count.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 22 Apr 2025 15:05:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/bar-chart-data-labels-in-percent/m-p/116207#M45269</guid>
      <dc:creator>Advika</dc:creator>
      <dc:date>2025-04-22T15:05:16Z</dc:date>
    </item>
  </channel>
</rss>

