<?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: Comparing Date Diff between Two Date fields but need to know if Met OnTime in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-Date-Diff-between-Two-Date-fields-but-need-to-know-if/m-p/1473053#M28005</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , You can have new columns like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;KPI Status = if([Close Date Month] &amp;gt;=[Expiration Date Month],"KPI Met (OnTime)", " KPI Met (not OnTIme)")&lt;/P&gt;
&lt;P&gt;Diff when not met = if([Close Date Month] &amp;gt;=[Expiration Date Month],blank() , datediff([Close Date Month],[Expiration Date Month],day))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&amp;nbsp; one combined &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;combined = if([Close Date Month] &amp;gt;=[Expiration Date Month],"KPI Met (OnTime)", " KPI Met (not OnTIme) ") &amp;amp; if([Close Date Month] &amp;gt;=[Expiration Date Month],blank() , datediff([Close Date Month],[Expiration Date Month],day)) &amp;amp; " months behind"&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2020 02:56:46 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2020-11-04T02:56:46Z</dc:date>
    <item>
      <title>Comparing Date Diff between Two Date fields but need to know if Met OnTime</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-Date-Diff-between-Two-Date-fields-but-need-to-know-if/m-p/1472637#M27992</link>
      <description>&lt;P&gt;Comparing Date Diff between Two Date fields to determine if my team is meeting expectations OnTime.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have determined the duration between the dates but need to know:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is the Close Date Month (field/column) is =/&amp;gt; Expiration Date Month (field/column)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If YES - KPI Met (OnTime)&lt;/P&gt;&lt;P&gt;If No - KPI Met (not OnTIme and how many months are we behind)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just can't seem to figure out this formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Lisa&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 21:42:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-Date-Diff-between-Two-Date-fields-but-need-to-know-if/m-p/1472637#M27992</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-03T21:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing Date Diff between Two Date fields but need to know if Met OnTime</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-Date-Diff-between-Two-Date-fields-but-need-to-know-if/m-p/1472760#M27994</link>
      <description>&lt;P&gt;Please provide some sample data with expected results.&lt;/P&gt;
&lt;P&gt;How to get good help fast. Help us help you.&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" rel="noopener" target="_blank"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" rel="noopener" target="_blank"&gt;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 23:03:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-Date-Diff-between-Two-Date-fields-but-need-to-know-if/m-p/1472760#M27994</guid>
      <dc:creator>edhans</dc:creator>
      <dc:date>2020-11-03T23:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing Date Diff between Two Date fields but need to know if Met OnTime</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-Date-Diff-between-Two-Date-fields-but-need-to-know-if/m-p/1473053#M28005</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , You can have new columns like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;KPI Status = if([Close Date Month] &amp;gt;=[Expiration Date Month],"KPI Met (OnTime)", " KPI Met (not OnTIme)")&lt;/P&gt;
&lt;P&gt;Diff when not met = if([Close Date Month] &amp;gt;=[Expiration Date Month],blank() , datediff([Close Date Month],[Expiration Date Month],day))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&amp;nbsp; one combined &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;combined = if([Close Date Month] &amp;gt;=[Expiration Date Month],"KPI Met (OnTime)", " KPI Met (not OnTIme) ") &amp;amp; if([Close Date Month] &amp;gt;=[Expiration Date Month],blank() , datediff([Close Date Month],[Expiration Date Month],day)) &amp;amp; " months behind"&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 02:56:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-Date-Diff-between-Two-Date-fields-but-need-to-know-if/m-p/1473053#M28005</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-11-04T02:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing Date Diff between Two Date fields but need to know if Met OnTime</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-Date-Diff-between-Two-Date-fields-but-need-to-know-if/m-p/1474999#M28062</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 17:48:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-Date-Diff-between-Two-Date-fields-but-need-to-know-if/m-p/1474999#M28062</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-04T17:48:11Z</dc:date>
    </item>
  </channel>
</rss>

