<?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 for a text based field using Measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting-for-a-text-based-field-using-Measure/m-p/1282646#M21902</link>
    <description>&lt;P&gt;You can specify colors directly and also simplify the Switch statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;switch(ChaRMstatus,"Created","Green","In Development","#2F4F6F","white")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are lookup tables available on the interwebs with the accepted colo(u)r names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then do the conditional formatting based on field value rather than rules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: Not sure if naming a variable the same as the measure it is in is a good idea.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 09 Aug 2020 18:04:23 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2020-08-09T18:04:23Z</dc:date>
    <item>
      <title>Conditional formatting for a text based field using Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting-for-a-text-based-field-using-Measure/m-p/1282508#M21898</link>
      <description>&lt;P&gt;Referenced this youtube video: &lt;A href="https://www.youtube.com/watch?v=Y8xmJgVjdZs" target="_blank"&gt;https://www.youtube.com/watch?v=Y8xmJgVjdZs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a measure in the measures table to perform conditional formatting on a field that has text values&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the conditional formatting for section&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can’t seem to find out why only conditional formatting is working for some fields that have the same Value: This is occuring for throughout the dashboard for even other values mentioned in the DAX measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to decipher with no luck. Any pointers will be greatly appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;SK78&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 14:34:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting-for-a-text-based-field-using-Measure/m-p/1282508#M21898</guid>
      <dc:creator>SK78</dc:creator>
      <dc:date>2020-08-09T14:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting for a text based field using Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting-for-a-text-based-field-using-Measure/m-p/1282646#M21902</link>
      <description>&lt;P&gt;You can specify colors directly and also simplify the Switch statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;switch(ChaRMstatus,"Created","Green","In Development","#2F4F6F","white")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are lookup tables available on the interwebs with the accepted colo(u)r names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then do the conditional formatting based on field value rather than rules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: Not sure if naming a variable the same as the measure it is in is a good idea.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 18:04:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting-for-a-text-based-field-using-Measure/m-p/1282646#M21902</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-08-09T18:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting for a text based field using Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting-for-a-text-based-field-using-Measure/m-p/1282851#M21913</link>
      <description>&lt;P&gt;I tried the suggestion you shared but still running into error..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts or pointer - can't seem to figure out why some entries of the same value&amp;nbsp;get highlighted but others don't.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 00:06:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting-for-a-text-based-field-using-Measure/m-p/1282851#M21913</guid>
      <dc:creator>SK78</dc:creator>
      <dc:date>2020-08-10T00:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional formatting for a text based field using Measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting-for-a-text-based-field-using-Measure/m-p/1282853#M21915</link>
      <description>&lt;P&gt;Check your data strings for leading or trailing spaces or other fancy invisible characters that might return a negative comparison result.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 00:09:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-formatting-for-a-text-based-field-using-Measure/m-p/1282853#M21915</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-08-10T00:09:25Z</dc:date>
    </item>
  </channel>
</rss>

