<?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: Last Date Supplied DAX Help Please in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-Supplied-DAX-Help-Please/m-p/4295123#M170474</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343036" data-lia-user-login="mark_endicott" class="lia-mention lia-mention-user"&gt;mark_endicott&lt;/a&gt;&amp;nbsp;thanks Mark, im just going to remove the blank out of the dax, and use a visual filter to remove the blanks from the table.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 10:46:43 GMT</pubDate>
    <dc:creator>MVenables</dc:creator>
    <dc:date>2024-11-21T10:46:43Z</dc:date>
    <item>
      <title>Last Date Supplied DAX Help Please</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-Supplied-DAX-Help-Please/m-p/4295098#M170469</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a measure in place called [PO QTY Sent] this just Sums PurchaseOrder[QtySent].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My goal with this dax i need is to be able to see the LASTDATESUPPLIED by using that and PurchaseOrder[ProcessDate]. In my screenshot below it contains all of these fields. But i want LastDateSupplied to show me the 22 October 2024 date as that was the last time PO QTY Sent was more than "0". This is so i can identify when we actually had stock delivered to us last.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also want the condition when [PO QTY Sent] is more than 0 show as blank.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The below is the dax im using that currently shows me the incorrect dates as the 3 dates above i want them all to say 22/10/2024 which is in theory the last date it was [PO QTY Sent] greater than "0".&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LastDateSupplied =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&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;[PO QTY Sent]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;0&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;BLANK&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;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;PurchaseOrder&lt;/SPAN&gt;&lt;SPAN&gt;[ProcessDate]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;PurchaseOrder&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;[PO QTY Sent]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;0&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;Any help will be great, i know using the MAX is causing this issue but need a work around.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks for reading, hope you can help.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Nov 2024 10:20:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-Supplied-DAX-Help-Please/m-p/4295098#M170469</guid>
      <dc:creator>MVenables</dc:creator>
      <dc:date>2024-11-21T10:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Last Date Supplied DAX Help Please</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-Supplied-DAX-Help-Please/m-p/4295105#M170470</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="711451" data-lia-user-login="MVenables" class="lia-mention lia-mention-user"&gt;MVenables&lt;/a&gt;&amp;nbsp;- Try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF(
    [PO QTY Sent] &amp;gt; 0,
    BLANK(),
    CALCULATE(
        MAX(PurchaseOrder[ProcessDate]),
        FILTER(
            ALL(PurchaseOrder[ProcessDate]),
            [PO QTY Sent] &amp;gt; 0)))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this works, please accept as the solution to help others with the same issue&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 10:34:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-Supplied-DAX-Help-Please/m-p/4295105#M170470</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-11-21T10:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Last Date Supplied DAX Help Please</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-Supplied-DAX-Help-Please/m-p/4295110#M170471</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its almost there its just showing me 22/10/2024 against every date now though as per below. Rather than using the original screenshot as an example. i would need it to show me 22/10/2024 on just the top 3 lines as [PO QTY Sent] is 0&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 10:38:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-Supplied-DAX-Help-Please/m-p/4295110#M170471</guid>
      <dc:creator>MVenables</dc:creator>
      <dc:date>2024-11-21T10:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Last Date Supplied DAX Help Please</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-Supplied-DAX-Help-Please/m-p/4295121#M170473</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="711451" data-lia-user-login="MVenables" class="lia-mention lia-mention-user"&gt;MVenables&lt;/a&gt;&amp;nbsp;- It's showing against Process Dates where the result is BLANK this is the same as 0. Notice it does not show on 22/10/2024 where the value is above 0.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could apply a filter to this table to remove the BLANK rows from PO QTY Sent.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 10:43:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-Supplied-DAX-Help-Please/m-p/4295121#M170473</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-11-21T10:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Last Date Supplied DAX Help Please</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-Supplied-DAX-Help-Please/m-p/4295123#M170474</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343036" data-lia-user-login="mark_endicott" class="lia-mention lia-mention-user"&gt;mark_endicott&lt;/a&gt;&amp;nbsp;thanks Mark, im just going to remove the blank out of the dax, and use a visual filter to remove the blanks from the table.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 10:46:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-Date-Supplied-DAX-Help-Please/m-p/4295123#M170474</guid>
      <dc:creator>MVenables</dc:creator>
      <dc:date>2024-11-21T10:46:43Z</dc:date>
    </item>
  </channel>
</rss>

