<?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 measure, 2 date columns within 1 table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/measure-2-date-columns-within-1-table/m-p/880038#M7482</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have a calender table calenderauto, and i have a table with 2 dates columns and i want to perform the below calculation to calculate the attrition rate&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Current Staff = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR Max_Date = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX('Date'[Date])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR Min_Date =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MIN('Date'[Date])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(COUNTROWS(Manpower),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER(Manpower,(Manpower[DOJ]&amp;gt;=Max_Date &amp;amp;&amp;amp; Manpower[DOS]&amp;lt;=Min_Date &amp;amp;&amp;amp; Manpower[DOS]&amp;lt;&amp;gt;BLANK())))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 19 Dec 2019 11:29:18 GMT</pubDate>
    <dc:creator>akhalifaa</dc:creator>
    <dc:date>2019-12-19T11:29:18Z</dc:date>
    <item>
      <title>measure, 2 date columns within 1 table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/measure-2-date-columns-within-1-table/m-p/880038#M7482</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have a calender table calenderauto, and i have a table with 2 dates columns and i want to perform the below calculation to calculate the attrition rate&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Current Staff = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR Max_Date = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX('Date'[Date])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR Min_Date =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MIN('Date'[Date])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(COUNTROWS(Manpower),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER(Manpower,(Manpower[DOJ]&amp;gt;=Max_Date &amp;amp;&amp;amp; Manpower[DOS]&amp;lt;=Min_Date &amp;amp;&amp;amp; Manpower[DOS]&amp;lt;&amp;gt;BLANK())))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Dec 2019 11:29:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/measure-2-date-columns-within-1-table/m-p/880038#M7482</guid>
      <dc:creator>akhalifaa</dc:creator>
      <dc:date>2019-12-19T11:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: measure, 2 date columns within 1 table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/measure-2-date-columns-within-1-table/m-p/880064#M7484</link>
      <description>&lt;P&gt;is above measure working or throwing any error?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 11:55:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/measure-2-date-columns-within-1-table/m-p/880064#M7484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-19T11:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: measure, 2 date columns within 1 table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/measure-2-date-columns-within-1-table/m-p/880070#M7486</link>
      <description>&lt;P&gt;I added a date slicer, it doesn't show any error however it doesn't show any data too&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 12:02:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/measure-2-date-columns-within-1-table/m-p/880070#M7486</guid>
      <dc:creator>akhalifaa</dc:creator>
      <dc:date>2019-12-19T12:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: measure, 2 date columns within 1 table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/measure-2-date-columns-within-1-table/m-p/880078#M7487</link>
      <description>&lt;P&gt;share some data and expected output. as per my understanding your measure is correct.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 12:11:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/measure-2-date-columns-within-1-table/m-p/880078#M7487</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-19T12:11:15Z</dc:date>
    </item>
  </channel>
</rss>

