<?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 OTIF Formula to Included Scheduled Pickup in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-OTIF-Formula-to-Included-Scheduled-Pickup/m-p/3636370#M140676</link>
    <description>&lt;P&gt;thank you for your response but I guess I was not 100% on what I need. In my screen shot below I want the first delivery 88004495 to show On-Time since the &lt;STRONG&gt;Pick up Appt Date&amp;nbsp;&lt;/STRONG&gt;was after the &lt;STRONG&gt;Dlv Plnd PGI dt&lt;/STRONG&gt;. There was no other reason for this to be late as it was not delayed due to waiting for product.&amp;nbsp; The next delivery is showing late as it should since it was shipped short.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jan 2024 16:56:26 GMT</pubDate>
    <dc:creator>GMadd</dc:creator>
    <dc:date>2024-01-12T16:56:26Z</dc:date>
    <item>
      <title>DAX OTIF Formula to Included Scheduled Pickup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-OTIF-Formula-to-Included-Scheduled-Pickup/m-p/3634343#M140592</link>
      <description>&lt;P&gt;I have the formula below to help calculate my OTIF but I forgot to include any order (delivery) that has a pick up appointment. Some of our customers will schedule pick up appointment that is after the planned ship date (&lt;STRONG&gt;Dlv Plnd PGI dt)&lt;/STRONG&gt; and if that is the case I do not want the order flagged as late due to the scheduled pickup appointment being different that the planned ship date. I have a column on my table that includes a date if there is a pick up appointment and is blank if it does not have a pick up appointment. What do I need to add to my formula below to take orders with pick up appoinments into consideration? Basically if the delivery has the &lt;STRONG&gt;Act. Gds Mvmnt Date&lt;/STRONG&gt; after the &lt;STRONG&gt;Dlv Plnd PGI dt &lt;/STRONG&gt;but has a &lt;STRONG&gt;Pick up Appt Date&lt;/STRONG&gt; after the &lt;STRONG&gt;Dlv Plnd PGI dt&amp;nbsp;&lt;/STRONG&gt;I want the &lt;STRONG&gt;Category&lt;/STRONG&gt; to be "On-Time".&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Category = &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;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;TRUE&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; OTIF[Credit]= &lt;/SPAN&gt;&lt;SPAN&gt;"VERKBELEG"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"Credit"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; OTIF[Full]= &lt;/SPAN&gt;&lt;SPAN&gt;"Short"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"Late"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; OTIF[Delivery Created Dat]&amp;gt; OTIF[Act. Gds Mvmnt Date], &lt;/SPAN&gt;&lt;SPAN&gt;"Held for Material"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; OTIF[Act. Gds Mvmnt Date]&amp;gt; OTIF[Dlv Plnd PGI dt], &lt;/SPAN&gt;&lt;SPAN&gt;"Late"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"On-Time"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 21:41:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-OTIF-Formula-to-Included-Scheduled-Pickup/m-p/3634343#M140592</guid>
      <dc:creator>GMadd</dc:creator>
      <dc:date>2024-01-11T21:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: DAX OTIF Formula to Included Scheduled Pickup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-OTIF-Formula-to-Included-Scheduled-Pickup/m-p/3635063#M140620</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="663206" data-lia-user-login="GMadd" class="lia-mention lia-mention-user"&gt;GMadd&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt; updated version of your formula&lt;/SPAN&gt;&lt;BR /&gt;Category =&lt;BR /&gt;SWITCH(&lt;BR /&gt;TRUE(),&lt;BR /&gt;OTIF[Credit]= "VERKBELEG", "Credit",&lt;BR /&gt;OTIF[Full]= "Short", "Late",&lt;BR /&gt;OTIF[Delivery Created Dat] &amp;gt; OTIF[Act. Gds Mvmnt Date], "Held for Material",&lt;BR /&gt;OTIF[Act. Gds Mvmnt Date] &amp;gt; OTIF[Dlv Plnd PGI dt], "Late",&lt;BR /&gt;NOT(ISBLANK(OTIF[Pickup Appt Date])) &amp;amp;&amp;amp; OTIF[Pickup Appt Date] &amp;gt; OTIF[Dlv Plnd PGI dt], "On-Time",&amp;nbsp;&lt;BR /&gt;"On-Time"&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 06:09:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-OTIF-Formula-to-Included-Scheduled-Pickup/m-p/3635063#M140620</guid>
      <dc:creator>saurabhtd</dc:creator>
      <dc:date>2024-01-12T06:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: DAX OTIF Formula to Included Scheduled Pickup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-OTIF-Formula-to-Included-Scheduled-Pickup/m-p/3636370#M140676</link>
      <description>&lt;P&gt;thank you for your response but I guess I was not 100% on what I need. In my screen shot below I want the first delivery 88004495 to show On-Time since the &lt;STRONG&gt;Pick up Appt Date&amp;nbsp;&lt;/STRONG&gt;was after the &lt;STRONG&gt;Dlv Plnd PGI dt&lt;/STRONG&gt;. There was no other reason for this to be late as it was not delayed due to waiting for product.&amp;nbsp; The next delivery is showing late as it should since it was shipped short.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 16:56:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-OTIF-Formula-to-Included-Scheduled-Pickup/m-p/3636370#M140676</guid>
      <dc:creator>GMadd</dc:creator>
      <dc:date>2024-01-12T16:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: DAX OTIF Formula to Included Scheduled Pickup</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-OTIF-Formula-to-Included-Scheduled-Pickup/m-p/3658053#M141739</link>
      <description>&lt;P&gt;Any chance you can look at me question above as the measure you supplied in not what I am looking for.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 21:54:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-OTIF-Formula-to-Included-Scheduled-Pickup/m-p/3658053#M141739</guid>
      <dc:creator>GMadd</dc:creator>
      <dc:date>2024-01-24T21:54:30Z</dc:date>
    </item>
  </channel>
</rss>

