<?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: Conditional Formatting - Bar Chart from Field values in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131440#M1461663</link>
    <description>&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;My measure is something like that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CF Resolution Target =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;_value&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;[Avg Resolution Time]&lt;/SPAN&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;SPAN&gt;[Tickets Resolution Target]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;_value&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Red"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"Green"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;As you see in the image , in the table this measure returns the expected value Green or Red based on the condition.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But it does not works in the bar chart.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I used the same process as you mentioned above to apply color format&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 13 Mar 2026 07:27:57 GMT</pubDate>
    <dc:creator>3mmanuel_12</dc:creator>
    <dc:date>2026-03-13T07:27:57Z</dc:date>
    <item>
      <title>Conditional Formatting - Bar Chart from Field values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131415#M1461658</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me.&lt;/P&gt;&lt;P&gt;I have a bar chart to show SLA category.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to implement a conditional formatting based on the SLA Policies. My issue is all measures work fine but the bar does not match with the appropriate color.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that the average time is in Hours&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See image below.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks for your support.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 06:54:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131415#M1461658</guid>
      <dc:creator>3mmanuel_12</dc:creator>
      <dc:date>2026-03-13T06:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting - Bar Chart from Field values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131438#M1461662</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1429538" data-lia-user-login="3mmanuel_12" class="lia-mention lia-mention-user"&gt;3mmanuel_12&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;BR /&gt;Your measure should look like below(as you memtioned it's working fine)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;SLA Color = &lt;BR /&gt;VAR AvgHours = [Average Time Hours]&lt;BR /&gt;&lt;BR /&gt;RETURN&lt;BR /&gt;SWITCH(&lt;BR /&gt;TRUE(),&lt;BR /&gt;AvgHours &amp;lt;= 24, "#28A745", -- Green&lt;BR /&gt;AvgHours &amp;lt;= 48, "#FFC107", -- Yellow&lt;BR /&gt;AvgHours &amp;gt; 48, "#DC3545", -- Red&lt;BR /&gt;"#808080" -- Default Grey&lt;BR /&gt;)&lt;/PRE&gt;
&lt;P&gt;Now follow the below steps:&amp;nbsp;&lt;/P&gt;
&lt;P data-start="815" data-end="837"&gt;In your &lt;STRONG data-start="823" data-end="836"&gt;Bar Chart&lt;/STRONG&gt;:&lt;/P&gt;
&lt;OL data-start="839" data-end="945"&gt;
&lt;LI data-section-id="i32uwv" data-start="839" data-end="861"&gt;
&lt;P data-start="842" data-end="861"&gt;Select the visual&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-section-id="8yvydv" data-start="862" data-end="888"&gt;
&lt;P data-start="865" data-end="888"&gt;Go to &lt;STRONG data-start="871" data-end="886"&gt;Format Pane&lt;/STRONG&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-section-id="u3bgio" data-start="889" data-end="916"&gt;
&lt;P data-start="892" data-end="916"&gt;Expand &lt;STRONG data-start="899" data-end="914"&gt;Data Colors&lt;/STRONG&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-section-id="dhq3nz" data-start="917" data-end="934"&gt;
&lt;P data-start="920" data-end="934"&gt;Click &lt;STRONG data-start="926" data-end="932"&gt;fx&lt;/STRONG&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-section-id="k6mxi1" data-start="935" data-end="945"&gt;
&lt;P data-start="938" data-end="945"&gt;Choose:&amp;nbsp;Format by → Field value&lt;BR /&gt;Based on field → SLA Color&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This should fulfill your requirement&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt; I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":military_medal:"&gt;🎖&lt;/span&gt; As a proud &lt;STRONG&gt;SuperUser&lt;/STRONG&gt; and &lt;STRONG&gt;Microsoft Partner&lt;/STRONG&gt;, we’re here to empower your data journey and the Power BI Community at large.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt; Curious to explore more? &lt;SPAN&gt;&lt;A href="https://www.grazitti.com/services/data-science/solutions/data-visualization/?utm_source=community&amp;amp;utm_medium=powerbi-community&amp;amp;utm_campaign=Community-Outreach-By-Analytics" target="_blank"&gt;[Discover here]&lt;/A&gt;&lt;/SPAN&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Let’s keep building smarter solutions together!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 07:14:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131438#M1461662</guid>
      <dc:creator>grazitti_sapna</dc:creator>
      <dc:date>2026-03-13T07:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting - Bar Chart from Field values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131440#M1461663</link>
      <description>&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;My measure is something like that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CF Resolution Target =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;_value&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;[Avg Resolution Time]&lt;/SPAN&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;SPAN&gt;[Tickets Resolution Target]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;_value&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Red"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"Green"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;As you see in the image , in the table this measure returns the expected value Green or Red based on the condition.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But it does not works in the bar chart.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I used the same process as you mentioned above to apply color format&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 Mar 2026 07:27:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131440#M1461663</guid>
      <dc:creator>3mmanuel_12</dc:creator>
      <dc:date>2026-03-13T07:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting - Bar Chart from Field values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131475#M1461666</link>
      <description>&lt;P&gt;if you put hex code in measure it should work, select the colour from conditional format options visualization based on feild value&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 08:21:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131475#M1461666</guid>
      <dc:creator>AnalyticPulse</dc:creator>
      <dc:date>2026-03-13T08:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting - Bar Chart from Field values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131476#M1461667</link>
      <description>&lt;P&gt;I already use hex code for color but still the same issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 08:23:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131476#M1461667</guid>
      <dc:creator>3mmanuel_12</dc:creator>
      <dc:date>2026-03-13T08:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting - Bar Chart from Field values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131480#M1461668</link>
      <description>&lt;P&gt;can you please try the measure using switch function,&amp;nbsp; as suggested by &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="546935" data-lia-user-login="grazitti_sapna" class="lia-mention lia-mention-user"&gt;grazitti_sapna&lt;/a&gt;&amp;nbsp;. it always works for me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 08:28:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131480#M1461668</guid>
      <dc:creator>AnalyticPulse</dc:creator>
      <dc:date>2026-03-13T08:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting - Bar Chart from Field values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131492#M1461670</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;If you look at my measure and the bar chart. I added the color value as data label.&lt;/P&gt;&lt;P&gt;As you can see the measure returns the exact value that i need. But the bar chart color does not reflect the same color.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2026 08:48:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5131492#M1461670</guid>
      <dc:creator>3mmanuel_12</dc:creator>
      <dc:date>2026-03-13T08:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting - Bar Chart from Field values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5133487#M1461872</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1429538" data-lia-user-login="3mmanuel_12" class="lia-mention lia-mention-user"&gt;3mmanuel_12&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="546935" data-lia-user-login="grazitti_sapna" class="lia-mention lia-mention-user"&gt;grazitti_sapna&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="586473" data-lia-user-login="AnalyticPulse" class="lia-mention lia-mention-user"&gt;AnalyticPulse&lt;/a&gt;, for your insights,&lt;/P&gt;
&lt;P&gt;I reproduced the scenario using sample data in Power BI Desktop and was able to observe the same behavior where the measure returns the correct Red/Green values, but the column chart color does not reflect the same result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 10:21:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5133487#M1461872</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2026-03-16T10:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting - Bar Chart from Field values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5136137#M1462286</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1429538" data-lia-user-login="3mmanuel_12" class="lia-mention lia-mention-user"&gt;3mmanuel_12&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Have you had a chance to review the solution we shared earlier? If the issue persists, feel free to reply so we can help further.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2026 04:35:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5136137#M1462286</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2026-03-20T04:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting - Bar Chart from Field values</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5137175#M1462460</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1429538" data-lia-user-login="3mmanuel_12" class="lia-mention lia-mention-user"&gt;3mmanuel_12&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Checking in to see if your issue has been resolved. let us know if you still need any assistance.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2026 03:37:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Conditional-Formatting-Bar-Chart-from-Field-values/m-p/5137175#M1462460</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2026-03-23T03:37:34Z</dc:date>
    </item>
  </channel>
</rss>

