<?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: Inventory Value end month per Warehouse in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2861051#M92132</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Ailsa Tao,&lt;BR /&gt;&lt;BR /&gt;It did not worked yet.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Kind regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Walid&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2022 07:57:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-10-25T07:57:17Z</dc:date>
    <item>
      <title>Inventory Value end month per Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2858748#M91971</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;BR /&gt;I want to have the Inventory value per end of each month per warehouse and per Materialcode.&lt;BR /&gt;This is an example of the data i have:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 09:36:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2858748#M91971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-24T09:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Inventory Value end month per Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2858871#M91980</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure whether I understood your question correctly, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check if it is suitable for your datamodel.&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;&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;last nonblankdate: =
VAR _lastdate =
    LASTNONBLANK ( 'Calendar'[Date], CALCULATE ( SUM ( Data[New Inventory] ) ) )
VAR _lastinventory =
    CALCULATE ( SUM ( Data[New Inventory] ), 'Calendar'[Date] = _lastdate )
RETURN
    _lastinventory
&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 24 Oct 2022 10:18:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2858871#M91980</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-10-24T10:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Inventory Value end month per Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2858877#M91982</link>
      <description>&lt;P&gt;I am gonna assume you don't need a running total here because the value is new inventory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my dataset&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I generated roughly 7 months. And here are the steps i take, please note if u use a calendar table you should do that in there, not in the table itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. In power query i extract the year and month from the date field, I do this by duplicating the date field and extracting the year. In a calendar table you would use MONTH and YEAR to extract these. But in this example i will use Power Query. I made 2 duplicates (right click date column and duplicate, then in transform, choose date, year, year) (Do the same to the other column but go for Month).&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now apply the changes and go back to the report editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Right click &lt;STRONG&gt;year&lt;/STRONG&gt; and Create Hierarchy. After that add the month field to the hierarchy, rightclick add to hierarchy&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Add the year and month to a table with as seperate columns from the hierarchy and then add the value field, you now have a total for the value per month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now the splitting into category part&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I added a column category to my dataset. Which contains either 1 or 2.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now all i have to do is just throw the category in there. And there view of Year and Month, categorized:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 10:20:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2858877#M91982</guid>
      <dc:creator>Waldo35</dc:creator>
      <dc:date>2022-10-24T10:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Inventory Value end month per Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2858964#M91991</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;Hi Jihwan Kim&lt;BR /&gt;Thank you for your effort!&lt;BR /&gt;My data contains inventory value per date. For example :&lt;BR /&gt;In Warehouse " NLMA3.0-2" on 03-10-2022&amp;nbsp; 6 pieces in stock&lt;BR /&gt;In Warehouse "NLMA3.0-2" on 11-10-2022&amp;nbsp; 5&amp;nbsp;pieces in stock&lt;BR /&gt;In Warehouse "NLMA3.0-2" on 18-10-2022&amp;nbsp; 4&amp;nbsp;pieces in stock&lt;BR /&gt;De last value&amp;nbsp; in Oktober for this article is 18-10-2022. So the value should be: 4&amp;nbsp;pieces on end of Oktober. Now it gives the som of these three value moments.&lt;BR /&gt;&lt;BR /&gt;Kind regards.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Walid&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Oct 2022 11:10:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2858964#M91991</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-24T11:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Inventory Value end month per Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2858971#M91993</link>
      <description>&lt;P&gt;Hi Waldo,&lt;BR /&gt;&lt;SPAN&gt;Thank you for your effort!&lt;/SPAN&gt;&lt;BR /&gt;I have already the stock value per date. The specific value of the last date of the month is the value for the end of the&amp;nbsp; month.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Kind regards.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Walid&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 11:13:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2858971#M91993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-24T11:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Inventory Value end month per Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2860903#M92122</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you get the result you want ?&amp;nbsp;&lt;SPAN&gt;If the above replies are helpful to you ,&amp;nbsp;please consider Accept it as the solution to help the other members find it more quickly .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Ailsa Tao&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 07:13:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2860903#M92122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-25T07:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Inventory Value end month per Warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2861051#M92132</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Ailsa Tao,&lt;BR /&gt;&lt;BR /&gt;It did not worked yet.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Kind regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Walid&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 07:57:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Inventory-Value-end-month-per-Warehouse/m-p/2861051#M92132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-25T07:57:17Z</dc:date>
    </item>
  </channel>
</rss>

