<?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 Power Bi Data Bar Enhancement in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Data-Bar-Enhancement/m-p/1968281#M30603</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Can you please help me someone I have scenario Like&lt;/P&gt;&lt;P&gt;For Clustered Column Chart Like below Image Should be above average Bars Red and Below Average Bars Green.&lt;BR /&gt;PFA Screen Shot&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AjithR_0-1626780499228.png" style="width: 352px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/556931i70AA9401F8E3F029/image-dimensions/352x125?v=v2" width="352" height="125" role="button" title="AjithR_0-1626780499228.png" alt="AjithR_0-1626780499228.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jul 2021 11:31:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-07-20T11:31:38Z</dc:date>
    <item>
      <title>Power Bi Data Bar Enhancement</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Data-Bar-Enhancement/m-p/1968281#M30603</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Can you please help me someone I have scenario Like&lt;/P&gt;&lt;P&gt;For Clustered Column Chart Like below Image Should be above average Bars Red and Below Average Bars Green.&lt;BR /&gt;PFA Screen Shot&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AjithR_0-1626780499228.png" style="width: 352px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/556931i70AA9401F8E3F029/image-dimensions/352x125?v=v2" width="352" height="125" role="button" title="AjithR_0-1626780499228.png" alt="AjithR_0-1626780499228.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 11:31:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Data-Bar-Enhancement/m-p/1968281#M30603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-20T11:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi Data Bar Enhancement</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Data-Bar-Enhancement/m-p/1972245#M30645</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Firstly I build a sample same like yours.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/558293iA0FDB98F300FC9C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Due to you add value in Legend in column chart, conditional formatting will be disable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here I will show you two ways to achieve your goal.&lt;/P&gt;
&lt;P&gt;1. Keep your visual, change data color manually in Data Color in Format.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/558302i59AD0BA0A027EEBD/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Change your visual and use conditional formatting.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 180px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/558304i183DDDB1751DDA30/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Build a color measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Color Measure = 
VAR _Avg = CALCULATE(AVERAGE('Table'[Value]),ALL('Table'))
RETURN
IF(SUM('Table'[Value])&amp;gt;=_Avg,"Red","Green")&lt;/LI-CODE&gt;
&lt;P&gt;Click fx in Data colors in Format and format by Field value based on Color Measure.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/558307i683DFB380290A1B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 982px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/558313iBB500742175FE3AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rico Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 07:26:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Data-Bar-Enhancement/m-p/1972245#M30645</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-22T07:26:46Z</dc:date>
    </item>
  </channel>
</rss>

