<?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 per row on Matrix in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-per-row-on-Matrix/m-p/3096369#M108660</link>
    <description>&lt;P&gt;Im assuming the Facts[Value] is a column in the table. What is the Facts[Value] is a measure? How to change the formula?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have a similar situtaion where I have a measure "TurnOverRate" and I used the same formula you suggested but my measure is not detectable.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Feb 2023 19:17:14 GMT</pubDate>
    <dc:creator>Thamizh_hfhs</dc:creator>
    <dc:date>2023-02-23T19:17:14Z</dc:date>
    <item>
      <title>Conditional Formatting per row on Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-per-row-on-Matrix/m-p/2472761#M67398</link>
      <description>&lt;P&gt;Hi, I have a KPI dashboard to make and was wondering if there was a way to have conditional formating per row? Each metric will have different targets and I am trying compare each target to the different results per date. Some metrics have more complex statements where it will have different targets per location as well. I have attached a picture of some dummy data that shows what I am trying to portray. Thanks!&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2022 16:49:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-per-row-on-Matrix/m-p/2472761#M67398</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-23T16:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting per row on Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-per-row-on-Matrix/m-p/2472772#M67400</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi jostho99&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please consider this solution and remember I am an unpaid Power BI volunteer, so click the thumbs up button if you like me helping you and the solved button if I fix your problem.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://1drv.ms/u/s!AgMTUY3Uvq3bg6RicgCaR-sIpa3Wqw?e=D5SFYh" target="_self"&gt;Click here for an example solution&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This example has the targets in table but you could hard code them in a switch statement.&lt;BR /&gt;A table is better because the users can edit the targets without a PBI developer changing DAX.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Create a dax measure like this&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;KPI Colour = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;mytarget&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Facts[Target]&lt;/SPAN&gt;&lt;SPAN&gt;)&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;SPAN&gt;SUM&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Facts[Value]&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;mytarget&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;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Then in conditioinal formating select&lt;BR /&gt;Format Style = Field Value&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;What field should we base this on = KPI Colour&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2022 17:19:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-per-row-on-Matrix/m-p/2472772#M67400</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2022-04-23T17:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting per row on Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-per-row-on-Matrix/m-p/3096369#M108660</link>
      <description>&lt;P&gt;Im assuming the Facts[Value] is a column in the table. What is the Facts[Value] is a measure? How to change the formula?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have a similar situtaion where I have a measure "TurnOverRate" and I used the same formula you suggested but my measure is not detectable.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2023 19:17:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-per-row-on-Matrix/m-p/3096369#M108660</guid>
      <dc:creator>Thamizh_hfhs</dc:creator>
      <dc:date>2023-02-23T19:17:14Z</dc:date>
    </item>
  </channel>
</rss>

