<?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 based on certain Date criteria similar to previous month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-based-on-certain-Date-criteria-similar-to-previous/m-p/1709897#M35293</link>
    <description>&lt;P&gt;If Jan 1st an example, As far begin inventory is concern what I am hoping to get is to count all the open items &amp;lt;= 12/31/2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;like for Feb 1st count all the open items &amp;lt;=01/31/2021 and goes on&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which talks about ONLY the last day of the previous month and put it on a table&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Mar 2021 19:55:37 GMT</pubDate>
    <dc:creator>v_mark</dc:creator>
    <dc:date>2021-03-15T19:55:37Z</dc:date>
    <item>
      <title>Calculate based on certain Date criteria similar to previous month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-based-on-certain-Date-criteria-similar-to-previous/m-p/1705966#M35173</link>
      <description>&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Been struggling to figure out what is the best way to calculate these.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Begin Inv : the count of open items to start the specific month&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp; Closure: the number of items closed in the specific month&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to have is a measure that will calculate any placement that is open on Jan 1st of 2021.&lt;/P&gt;&lt;P&gt;Which considered as the begin inventory for the start of the month and if the close date is =&amp;lt;12-31-2020 (for example)&amp;nbsp; it would not count.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;What I have so far: Begin Inventory # = CALCULATE(COUNTROWS('sample'),'sample'[Status] = "Open")&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and another calculation that would determine how many were closed in a month eg. 01-01-2021 to 01-31-2021.&lt;/P&gt;&lt;P&gt;which I believe I was able to do so by doing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;Closure: CALCULATE(COUNTROWS('sample'),'sample'[Status] = "Closed" )&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&lt;A href="https://1drv.ms/u/s!AjQv0bhmmbWnhj_Mt3FzRVk9QdJs?e=RX3ors" target="_self"&gt;Please see the pbix file here&lt;/A&gt;&amp;nbsp;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 04:06:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-based-on-certain-Date-criteria-similar-to-previous/m-p/1705966#M35173</guid>
      <dc:creator>v_mark</dc:creator>
      <dc:date>2021-03-09T04:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate based on certain Date criteria similar to previous month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-based-on-certain-Date-criteria-similar-to-previous/m-p/1706191#M35183</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="273900" data-lia-user-login="v_mark" class="lia-mention lia-mention-user"&gt;v_mark&lt;/a&gt; , refer if approach of this blog can help&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 17:46:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-based-on-certain-Date-criteria-similar-to-previous/m-p/1706191#M35183</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-03-05T17:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate based on certain Date criteria similar to previous month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-based-on-certain-Date-criteria-similar-to-previous/m-p/1709897#M35293</link>
      <description>&lt;P&gt;If Jan 1st an example, As far begin inventory is concern what I am hoping to get is to count all the open items &amp;lt;= 12/31/2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;like for Feb 1st count all the open items &amp;lt;=01/31/2021 and goes on&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which talks about ONLY the last day of the previous month and put it on a table&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 19:55:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-based-on-certain-Date-criteria-similar-to-previous/m-p/1709897#M35293</guid>
      <dc:creator>v_mark</dc:creator>
      <dc:date>2021-03-15T19:55:37Z</dc:date>
    </item>
  </channel>
</rss>

