<?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 using DAX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-using-DAX/m-p/5109157#M187216</link>
    <description>&lt;P&gt;&lt;STRONG&gt;1) Rule: “If any 3 measures are below threshold in the same month → highlight”&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Any3Below_ThisMonth =
VAR t1 = IF( [On Time Delivery %] &amp;lt; [OTD Threshold], 1, 0 )
VAR t2 = IF( [KPI2 %] &amp;lt; [KPI2 Threshold], 1, 0 )
VAR t3 = IF( [KPI3 %] &amp;lt; [KPI3 Threshold], 1, 0 )
RETURN
IF( t1 + t2 + t3 &amp;gt;= 3, 1, 0 )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2)&amp;nbsp;Rule: “If this measure is below threshold in 3 different months in last 12 months → highlight”&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;OTD_BadMonths_Last12 =
VAR EndDate = MAX('Date'[Date])
VAR MonthsToCheck =
    DATESINPERIOD( 'Date'[Date], EndDate, -12, MONTH )
RETURN
COUNTROWS(
    FILTER(
        SUMMARIZE( MonthsToCheck, 'Date'[YearMonth] ),
        CALCULATE( [On Time Delivery %] ) &amp;lt; [OTD Threshold]
    )
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;OTD_3BadMonths_Flag =
IF( [OTD_BadMonths_Last12] &amp;gt;= 3, 1, 0 )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3)&amp;nbsp;Final: Color measure for conditional formatting (for OTD)&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;OTD_CellColor =
VAR Rule1 = [Any3Below_ThisMonth] = 1
VAR Rule2 = [OTD_3BadMonths_Flag] = 1
RETURN
IF( Rule1 || Rule2, "#FF0000", BLANK() )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Feb 2026 19:15:17 GMT</pubDate>
    <dc:creator>cengizhanarslan</dc:creator>
    <dc:date>2026-02-20T19:15:17Z</dc:date>
    <item>
      <title>Conditional Formatting using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-using-DAX/m-p/5109036#M187214</link>
      <description>&lt;P&gt;Hi Community Members,&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;&lt;BR /&gt;I need to use conditional format on matrix with two condition&lt;BR /&gt;&lt;BR /&gt;1. if any three measure falls below threshold value in same month, i need to highlight that value red&lt;BR /&gt;2. if any particular measure falls below threshold value for 3 sepearate months in last 1 year, i need to highliht that value red.&lt;BR /&gt;&lt;BR /&gt;Please provide some solution&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 15:58:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-using-DAX/m-p/5109036#M187214</guid>
      <dc:creator>Balakrishnan_J</dc:creator>
      <dc:date>2026-02-20T15:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-using-DAX/m-p/5109157#M187216</link>
      <description>&lt;P&gt;&lt;STRONG&gt;1) Rule: “If any 3 measures are below threshold in the same month → highlight”&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Any3Below_ThisMonth =
VAR t1 = IF( [On Time Delivery %] &amp;lt; [OTD Threshold], 1, 0 )
VAR t2 = IF( [KPI2 %] &amp;lt; [KPI2 Threshold], 1, 0 )
VAR t3 = IF( [KPI3 %] &amp;lt; [KPI3 Threshold], 1, 0 )
RETURN
IF( t1 + t2 + t3 &amp;gt;= 3, 1, 0 )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2)&amp;nbsp;Rule: “If this measure is below threshold in 3 different months in last 12 months → highlight”&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;OTD_BadMonths_Last12 =
VAR EndDate = MAX('Date'[Date])
VAR MonthsToCheck =
    DATESINPERIOD( 'Date'[Date], EndDate, -12, MONTH )
RETURN
COUNTROWS(
    FILTER(
        SUMMARIZE( MonthsToCheck, 'Date'[YearMonth] ),
        CALCULATE( [On Time Delivery %] ) &amp;lt; [OTD Threshold]
    )
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;OTD_3BadMonths_Flag =
IF( [OTD_BadMonths_Last12] &amp;gt;= 3, 1, 0 )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3)&amp;nbsp;Final: Color measure for conditional formatting (for OTD)&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;OTD_CellColor =
VAR Rule1 = [Any3Below_ThisMonth] = 1
VAR Rule2 = [OTD_3BadMonths_Flag] = 1
RETURN
IF( Rule1 || Rule2, "#FF0000", BLANK() )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 19:15:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-using-DAX/m-p/5109157#M187216</guid>
      <dc:creator>cengizhanarslan</dc:creator>
      <dc:date>2026-02-20T19:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-using-DAX/m-p/5109441#M187224</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="937309" data-lia-user-login="Balakrishnan_J" class="lia-mention lia-mention-user"&gt;Balakrishnan_J&lt;/a&gt;&amp;nbsp;have tested using sample datasets, please review the attached file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Feb 2026 09:41:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-using-DAX/m-p/5109441#M187224</guid>
      <dc:creator>techies</dc:creator>
      <dc:date>2026-02-21T09:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-using-DAX/m-p/5120412#M187261</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="937309" data-lia-user-login="Balakrishnan_J" class="lia-mention lia-mention-user"&gt;Balakrishnan_J&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="645372" data-lia-user-login="techies" class="lia-mention lia-mention-user"&gt;techies&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1292787" data-lia-user-login="cengizhanarslan" class="lia-mention lia-mention-user"&gt;cengizhanarslan&lt;/a&gt;&amp;nbsp; for your inputs.&lt;/P&gt;
&lt;P&gt;We’d like to follow up regarding the recent concern. Kindly confirm whether the issue has been resolved, or if further assistance is still required. We are available to support you and are committed to helping you reach a resolution.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Chaithra E.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 06:48:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-using-DAX/m-p/5120412#M187261</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2026-02-26T06:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting using DAX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-using-DAX/m-p/5124221#M187286</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="937309" data-lia-user-login="Balakrishnan_J" class="lia-mention lia-mention-user"&gt;Balakrishnan_J&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2026 07:39:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-using-DAX/m-p/5124221#M187286</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2026-03-02T07:39:21Z</dc:date>
    </item>
  </channel>
</rss>

