<?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: Calculate the Inventory OnHand Qty (FIFO) is remaining from which purchase transaction in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-Inventory-OnHand-Qty-FIFO-is-remaining-from-which/m-p/3086916#M107961</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="481642" data-lia-user-login="MahmoudElgendi" class="lia-mention lia-mention-user"&gt;MahmoudElgendi&lt;/a&gt; , refer if this approch can help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://radacad.com/dax-inventory-or-stock-valuation-using-fifo" target="_blank"&gt;https://radacad.com/dax-inventory-or-stock-valuation-using-fifo&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2023 01:44:25 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2023-02-20T01:44:25Z</dc:date>
    <item>
      <title>Calculate the Inventory OnHand Qty (FIFO) is remaining from which purchase transaction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-Inventory-OnHand-Qty-FIFO-is-remaining-from-which/m-p/3086525#M107932</link>
      <description>&lt;P&gt;Dears,&lt;BR /&gt;I’ve Purchases transactions for Items, and also sales transactions.&lt;/P&gt;&lt;P&gt;The requirements: assumes that the OnHand Qty as of Today is 748 Pcs,&lt;BR /&gt;I want a way to know from which purchase transactions these qty came from, assuming that FIFO is the inventory method (First In First Out)&lt;/P&gt;&lt;P&gt;In Excel, I used Offset and some other formulas&lt;/P&gt;&lt;P&gt;The result should be like that:&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;And the clean version keeps only the lines with Qty OnHand like that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;Then, I will create Aging for these Qty as I need to know how long this item is idle in the warehouse.&lt;/P&gt;&lt;P&gt;I want to achieve the same with DAX, I am attaching the Excel file.&lt;/P&gt;&lt;P&gt;I wish if someone can help me with this data and not to refer to other forum posts, as the Aging pattern will not work correctly until we do the same in the screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I uploaded the Excel file here, I need the result using DAX in Power BI&lt;BR /&gt;link to the file:&amp;nbsp;&lt;A href="https://rb.gy/vwtgbd" target="_blank" rel="noopener"&gt;https://rb.gy/vwtgbd&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 19 Feb 2023 12:58:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-Inventory-OnHand-Qty-FIFO-is-remaining-from-which/m-p/3086525#M107932</guid>
      <dc:creator>MahmoudElgendi</dc:creator>
      <dc:date>2023-02-19T12:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate the Inventory OnHand Qty (FIFO) is remaining from which purchase transaction</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-Inventory-OnHand-Qty-FIFO-is-remaining-from-which/m-p/3086916#M107961</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="481642" data-lia-user-login="MahmoudElgendi" class="lia-mention lia-mention-user"&gt;MahmoudElgendi&lt;/a&gt; , refer if this approch can help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://radacad.com/dax-inventory-or-stock-valuation-using-fifo" target="_blank"&gt;https://radacad.com/dax-inventory-or-stock-valuation-using-fifo&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 01:44:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-the-Inventory-OnHand-Qty-FIFO-is-remaining-from-which/m-p/3086916#M107961</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-02-20T01:44:25Z</dc:date>
    </item>
  </channel>
</rss>

