<?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: DAX: Background colours for whole row in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Background-colours-for-whole-row/m-p/3499190#M134140</link>
    <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2023 14:18:50 GMT</pubDate>
    <dc:creator>LABrowne</dc:creator>
    <dc:date>2023-10-26T14:18:50Z</dc:date>
    <item>
      <title>DAX: Background colours for whole row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Background-colours-for-whole-row/m-p/3499141#M134130</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on creating a table of sales orders. Sometimes we have orders that have later been cancelled but show up on the orders table. Usually someone will log this info with the order name and at the end put "- Cancelled" e.g. Sarah Jane - Cancelled. This is so we can see which orders have been cancelled. If an order has Cancelled at the end of it I want the whole row's background color to be Red. This what I have so far:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Background Cancellation Colours =&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;IF&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;MAX&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(Orders[OrderName]) = "Cancelled" , &lt;/SPAN&gt;&lt;SPAN&gt;"Red"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;())&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I believe I am going wrong because no order name is just "Cancelled" it's just apart of it if there is a contains formula it might work.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any help would be great!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Luke&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Oct 2023 13:56:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Background-colours-for-whole-row/m-p/3499141#M134130</guid>
      <dc:creator>LABrowne</dc:creator>
      <dc:date>2023-10-26T13:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: DAX: Background colours for whole row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Background-colours-for-whole-row/m-p/3499154#M134131</link>
      <description>&lt;P&gt;hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="636377" data-lia-user-login="LABrowne" class="lia-mention lia-mention-user"&gt;LABrowne&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try like:&lt;/P&gt;
&lt;DIV&gt;Background Cancellation Colours =&lt;/DIV&gt;
&lt;DIV&gt;IF ( CONTAINSSTRING(MAX (Orders[OrderName]), "Cancelled") , "Red", BLANK())&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Oct 2023 14:01:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Background-colours-for-whole-row/m-p/3499154#M134131</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-10-26T14:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: DAX: Background colours for whole row</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Background-colours-for-whole-row/m-p/3499190#M134140</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 14:18:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Background-colours-for-whole-row/m-p/3499190#M134140</guid>
      <dc:creator>LABrowne</dc:creator>
      <dc:date>2023-10-26T14:18:50Z</dc:date>
    </item>
  </channel>
</rss>

