<?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: Counter in between two dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counter-in-between-two-dates/m-p/3133111#M111544</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="348160" data-lia-user-login="Jaesonkim" class="lia-mention lia-mention-user"&gt;Jaesonkim&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please refer to attached sample file with the solution&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Mar 2023 10:15:16 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-03-15T10:15:16Z</dc:date>
    <item>
      <title>Counter in between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counter-in-between-two-dates/m-p/3132509#M111511</link>
      <description>&lt;P&gt;Hello, i want to have your great solution and idea for the calculation&lt;/P&gt;&lt;P&gt;I want to counter the number of contract between the contract start date and expired date&lt;/P&gt;&lt;P&gt;i have 2 simple table as date lookup and contract table.&lt;/P&gt;&lt;P&gt;if i make filter with the date lookup and i choose certain year month, i want to show the contract number, which are in the between the two dates .&lt;/P&gt;&lt;P&gt;i did below dax measure but it's not working as what i want.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Count contracts in period = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Contract No.]&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Lookup Date'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'Lookup Date'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Lookup Date'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;here is the link&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="https://drive.google.com/file/d/1PX39xQjsSQG1Vs7obYKUQBhY_oYs_89F/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1PX39xQjsSQG1Vs7obYKUQBhY_oYs_89F/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Mar 2023 06:46:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counter-in-between-two-dates/m-p/3132509#M111511</guid>
      <dc:creator>Jaesonkim</dc:creator>
      <dc:date>2023-03-15T06:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Counter in between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counter-in-between-two-dates/m-p/3133111#M111544</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="348160" data-lia-user-login="Jaesonkim" class="lia-mention lia-mention-user"&gt;Jaesonkim&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please refer to attached sample file with the solution&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 10:15:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counter-in-between-two-dates/m-p/3133111#M111544</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-03-15T10:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Counter in between two dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counter-in-between-two-dates/m-p/3135578#M111731</link>
      <description>&lt;P&gt;Really thanks for your help. it's working perfectly&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 08:35:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counter-in-between-two-dates/m-p/3135578#M111731</guid>
      <dc:creator>Jaesonkim</dc:creator>
      <dc:date>2023-03-16T08:35:26Z</dc:date>
    </item>
  </channel>
</rss>

