<?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: Colour/highlight a row based on multiple criteria in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Colour-highlight-a-row-based-on-multiple-criteria/m-p/2911809#M95166</link>
    <description>&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
    <pubDate>Thu, 17 Nov 2022 07:51:27 GMT</pubDate>
    <dc:creator>Matt_W2022</dc:creator>
    <dc:date>2022-11-17T07:51:27Z</dc:date>
    <item>
      <title>Colour/highlight a row based on multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Colour-highlight-a-row-based-on-multiple-criteria/m-p/2909726#M95064</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to format the rows to highlight SQEP like in the example below;&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;Where role is SRO or Programme Manager and Status is Completed then 'green', if status is blank then 'red'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is really appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 14:07:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Colour-highlight-a-row-based-on-multiple-criteria/m-p/2909726#M95064</guid>
      <dc:creator>Matt_W2022</dc:creator>
      <dc:date>2022-11-16T14:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Colour/highlight a row based on multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Colour-highlight-a-row-based-on-multiple-criteria/m-p/2911210#M95130</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="470599" data-lia-user-login="Matt_W2022" class="lia-mention lia-mention-user"&gt;Matt_W2022&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, you want to "&lt;SPAN&gt;Colour/highlight a row based on multiple criteria&lt;/SPAN&gt;".&lt;/P&gt;
&lt;P&gt;Here are the steps you can refer to:&lt;BR /&gt;(1)This is my test data :&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;(2)We can create a measure :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = var _role =SELECTEDVALUE('Table'[Role])
var _status = SELECTEDVALUE('Table'[MPLA Status])
return
IF(_role in {"SRO","Programme Manager"} &amp;amp;&amp;amp; _status="Completed" , "green", "red")&lt;/LI-CODE&gt;
&lt;P&gt;(3)Then we can configure the measure on the table field :&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;We can click the "fx" icon to configure it:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you want to show color in a row, you need to configure the measure for all the fileds:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;(4)The result is as follows:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Aniya Zhang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt; it as the solution&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 02:39:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Colour-highlight-a-row-based-on-multiple-criteria/m-p/2911210#M95130</guid>
      <dc:creator>v-yueyunzh-msft</dc:creator>
      <dc:date>2022-11-17T02:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Colour/highlight a row based on multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Colour-highlight-a-row-based-on-multiple-criteria/m-p/2911809#M95166</link>
      <description>&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 07:51:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Colour-highlight-a-row-based-on-multiple-criteria/m-p/2911809#M95166</guid>
      <dc:creator>Matt_W2022</dc:creator>
      <dc:date>2022-11-17T07:51:27Z</dc:date>
    </item>
  </channel>
</rss>

