<?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 &amp;amp;&amp;amp; delivery older than 5 years in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counter-in-between-two-dates-amp-amp-delivery-older-than-5-years/m-p/3204956#M116696</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 proposed solution&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;FilterMeasure = 
COUNTROWS ( 
    FILTER ( 
        'Table',
        DATEDIFF ( 'Table'[Product delivery], TODAY ( ), YEAR ) &amp;gt;= 5
            &amp;amp;&amp;amp; 'Table'[Contract start] &amp;lt;= MAX ( 'Lookup Date'[Date] )
            &amp;amp;&amp;amp; 'Table'[Expired date] &amp;gt;= MIN ( 'Lookup Date'[Date] )
    )
)&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 25 Apr 2023 11:54:36 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-04-25T11:54:36Z</dc:date>
    <item>
      <title>Counter in between two dates &amp;&amp; delivery older than 5 years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counter-in-between-two-dates-amp-amp-delivery-older-than-5-years/m-p/3204469#M116657</link>
      <description>&lt;P&gt;Hello, i want to have your best solution again for the dax calculation&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i have 2 simple table as date lookup and contract table.&lt;BR /&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 (Contract start ~ Expired date) and product delivery older than 5 years.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://drive.google.com/file/d/1OGfUmZppS1cLcrbJOJ4M3eOXX9hiT3Tf/view?usp=share_link" target="_blank"&gt;https://drive.google.com/file/d/1OGfUmZppS1cLcrbJOJ4M3eOXX9hiT3Tf/view?usp=share_link&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 07:44:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counter-in-between-two-dates-amp-amp-delivery-older-than-5-years/m-p/3204469#M116657</guid>
      <dc:creator>Jaesonkim</dc:creator>
      <dc:date>2023-04-25T07:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Counter in between two dates &amp;&amp; delivery older than 5 years</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counter-in-between-two-dates-amp-amp-delivery-older-than-5-years/m-p/3204956#M116696</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 proposed solution&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;FilterMeasure = 
COUNTROWS ( 
    FILTER ( 
        'Table',
        DATEDIFF ( 'Table'[Product delivery], TODAY ( ), YEAR ) &amp;gt;= 5
            &amp;amp;&amp;amp; 'Table'[Contract start] &amp;lt;= MAX ( 'Lookup Date'[Date] )
            &amp;amp;&amp;amp; 'Table'[Expired date] &amp;gt;= MIN ( 'Lookup Date'[Date] )
    )
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 25 Apr 2023 11:54:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counter-in-between-two-dates-amp-amp-delivery-older-than-5-years/m-p/3204956#M116696</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-04-25T11:54:36Z</dc:date>
    </item>
  </channel>
</rss>

