<?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 Last date of the previous month show on a matrix table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-date-of-the-previous-month-show-on-a-matrix-table/m-p/1723416#M35656</link>
    <description>&lt;P&gt;Good day,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am connected through Direct Query and trying to calculate the last date of the previous month for my beginning inventory.&amp;nbsp; The goal was to get all the tickets open at a specific point in time and the close date is NULL and have it viewed on a matrix table.&amp;nbsp;Like this one below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Month - Year&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;Begin Inventory #&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;MTD Inventory #&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jan - 2021&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;267&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Feb - 2021&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;363&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;March - 2021&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;58&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;&lt;EM&gt;&lt;A href="https://1drv.ms/u/s!AjQv0bhmmbWnhj_Mt3FzRVk9QdJs" target="_self"&gt;The sample data set is here&amp;nbsp;&lt;/A&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The logic is:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;As of Jan 1st 2021.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count of all tickets with the status of Open&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the placement date is &amp;lt;=12-31-2020&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the close date is NULL &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;As of Feb 1st 2021.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count of all tickets with the status of Open&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the placement date is &amp;lt;=01-31-2021&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the close date is NULL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;As of March 1st 2021.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count of all tickets with the status of Open&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the placement date is &amp;lt;=02-28-2021&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the close date is NULL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried to use multiple measurements but it only shows MTD.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate all the help&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 15 Mar 2021 20:28:35 GMT</pubDate>
    <dc:creator>v_mark</dc:creator>
    <dc:date>2021-03-15T20:28:35Z</dc:date>
    <item>
      <title>Last date of the previous month show on a matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-date-of-the-previous-month-show-on-a-matrix-table/m-p/1723416#M35656</link>
      <description>&lt;P&gt;Good day,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am connected through Direct Query and trying to calculate the last date of the previous month for my beginning inventory.&amp;nbsp; The goal was to get all the tickets open at a specific point in time and the close date is NULL and have it viewed on a matrix table.&amp;nbsp;Like this one below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Month - Year&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;Begin Inventory #&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;MTD Inventory #&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Jan - 2021&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;267&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Feb - 2021&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;363&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;March - 2021&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;?&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;58&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;&lt;EM&gt;&lt;A href="https://1drv.ms/u/s!AjQv0bhmmbWnhj_Mt3FzRVk9QdJs" target="_self"&gt;The sample data set is here&amp;nbsp;&lt;/A&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The logic is:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;As of Jan 1st 2021.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count of all tickets with the status of Open&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the placement date is &amp;lt;=12-31-2020&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the close date is NULL &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;As of Feb 1st 2021.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count of all tickets with the status of Open&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the placement date is &amp;lt;=01-31-2021&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the close date is NULL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;As of March 1st 2021.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count of all tickets with the status of Open&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the placement date is &amp;lt;=02-28-2021&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And the close date is NULL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried to use multiple measurements but it only shows MTD.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate all the help&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Mar 2021 20:28:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-date-of-the-previous-month-show-on-a-matrix-table/m-p/1723416#M35656</guid>
      <dc:creator>v_mark</dc:creator>
      <dc:date>2021-03-15T20:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Last date of the previous month show on a matrix table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-date-of-the-previous-month-show-on-a-matrix-table/m-p/1723933#M35668</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; , With help from the date table &lt;/P&gt;
&lt;P&gt;Try openingbalancemonth -&lt;A href="https://dax.guide/openingbalancemonth/" target="_blank"&gt;https://dax.guide/openingbalancemonth/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Refer to my video how to use: &lt;A href="https://www.youtube.com/watch?v=6lzYOXI5wfo" target="_blank"&gt;https://www.youtube.com/watch?v=6lzYOXI5wfo&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 03:35:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Last-date-of-the-previous-month-show-on-a-matrix-table/m-p/1723933#M35668</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-03-16T03:35:22Z</dc:date>
    </item>
  </channel>
</rss>

