<?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 blank date based on text from another field in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-for-blank-date-based-on-text-from-another/m-p/2900131#M94419</link>
    <description>&lt;LI-CODE lang="csharp"&gt;[Color Date MPLA] =
var StatusValue = 
    SELECTEDVALUE( 'PLP &amp;amp; MPLA Qualification Data'[MPLA Status] )
var DateValue_ =
    SELECTEDVALUE(
        'PLP &amp;amp; MPLA Qualification Data'[MPLA Date],
        // This value makes sure that when many dates are
        // visible in the current context BLANK is not
        // returned as that could change the logic.
        dt"3000-01-01" 
    )
var ColorCondition = 
    StatusValue = "Completed" &amp;amp;&amp;amp; ISBLANK( DateValue_ )
VAR Color =
    IF( ColorCondition, "red" )
return
    Color&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 11 Nov 2022 12:07:08 GMT</pubDate>
    <dc:creator>daXtreme</dc:creator>
    <dc:date>2022-11-11T12:07:08Z</dc:date>
    <item>
      <title>Conditional Formatting for blank date based on text from another field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-for-blank-date-based-on-text-from-another/m-p/2900098#M94415</link>
      <description>&lt;P&gt;Hi Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to highlight the date column red when the date is blank and the status field is "Completed"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I have been able to create a measure that turns the date field red when status is completed, how do i make this only happen when the date is blank?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Color Date MPLA = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;Name1&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;IF&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;'PLP &amp;amp; MPLA Qualification Data'[MPLA Status]&lt;/SPAN&gt;&lt;SPAN&gt;) = &lt;/SPAN&gt;&lt;SPAN&gt;"Completed"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;True&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;False&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;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TRUE&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Name1&lt;/SPAN&gt;&lt;SPAN&gt; , &lt;/SPAN&gt;&lt;SPAN&gt;"RED"&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;Thanks in advance for any advice. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 11:53:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-for-blank-date-based-on-text-from-another/m-p/2900098#M94415</guid>
      <dc:creator>Matt_W2022</dc:creator>
      <dc:date>2022-11-11T11:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting for blank date based on text from another field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-for-blank-date-based-on-text-from-another/m-p/2900131#M94419</link>
      <description>&lt;LI-CODE lang="csharp"&gt;[Color Date MPLA] =
var StatusValue = 
    SELECTEDVALUE( 'PLP &amp;amp; MPLA Qualification Data'[MPLA Status] )
var DateValue_ =
    SELECTEDVALUE(
        'PLP &amp;amp; MPLA Qualification Data'[MPLA Date],
        // This value makes sure that when many dates are
        // visible in the current context BLANK is not
        // returned as that could change the logic.
        dt"3000-01-01" 
    )
var ColorCondition = 
    StatusValue = "Completed" &amp;amp;&amp;amp; ISBLANK( DateValue_ )
VAR Color =
    IF( ColorCondition, "red" )
return
    Color&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 11 Nov 2022 12:07:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-for-blank-date-based-on-text-from-another/m-p/2900131#M94419</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-11-11T12:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Formatting for blank date based on text from another field</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-for-blank-date-based-on-text-from-another/m-p/2900211#M94431</link>
      <description>&lt;P&gt;That has worked a dream, thank you for your help&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="349489" data-lia-user-login="daXtreme" class="lia-mention lia-mention-user"&gt;daXtreme&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 12:50:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Conditional-Formatting-for-blank-date-based-on-text-from-another/m-p/2900211#M94431</guid>
      <dc:creator>Matt_W2022</dc:creator>
      <dc:date>2022-11-11T12:50:09Z</dc:date>
    </item>
  </channel>
</rss>

