<?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: Find first date in table where date greater than invoice date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355662#M59971</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="263569" data-lia-user-login="LotteLaugesen" class="lia-mention lia-mention-user"&gt;LotteLaugesen&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Are you sure invoice date is of date data type? It looks like it is of text data type &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Feb 2022 10:34:00 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-02-23T10:34:00Z</dc:date>
    <item>
      <title>Find first date in table where date greater than invoice date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2353295#M59819</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;How do I find max Valid from in the Interest table where Invoice date &amp;gt;= Valid from?&lt;BR /&gt;Invoice date = 2021-11-16 and I want to get row 2, Valid from 2021-11-15&lt;BR /&gt;Interest table&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lotte&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 11:38:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2353295#M59819</guid>
      <dc:creator>LotteLaugesen</dc:creator>
      <dc:date>2022-02-22T11:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Find first date in table where date greater than invoice date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2353413#M59827</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="263569" data-lia-user-login="LotteLaugesen" class="lia-mention lia-mention-user"&gt;LotteLaugesen&lt;/a&gt; , You can create a new measure &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculate(sum(Table[Intrest]), filter(Table, Table[Valid from] &amp;gt;= max(Invoice[Invoice Date]) ) )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 12:49:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2353413#M59827</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-22T12:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Find first date in table where date greater than invoice date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2353465#M59831</link>
      <description>&lt;P&gt;Unfortunately it doesn't work. I get the sum of all interest&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 13:16:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2353465#M59831</guid>
      <dc:creator>LotteLaugesen</dc:creator>
      <dc:date>2022-02-22T13:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Find first date in table where date greater than invoice date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2353514#M59834</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="263569" data-lia-user-login="LotteLaugesen" class="lia-mention lia-mention-user"&gt;LotteLaugesen&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You can use&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Intrest Lookup Date =
MAXX (
    FILTER ( Table, Table[Valid from] &amp;lt;= MAX ( Invoice[Invoice Date] ) ),
    Table[Valid from]
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 22 Feb 2022 13:32:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2353514#M59834</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-22T13:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Find first date in table where date greater than invoice date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2353706#M59851</link>
      <description>&lt;P&gt;Hi tamerj1&lt;/P&gt;&lt;P&gt;Unfortunately I then get 2021-12-20 in return and not 201-11-15&lt;/P&gt;&lt;P&gt;But thanks anyway&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 14:57:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2353706#M59851</guid>
      <dc:creator>LotteLaugesen</dc:creator>
      <dc:date>2022-02-22T14:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Find first date in table where date greater than invoice date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2354828#M59915</link>
      <description>&lt;P&gt;Try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Intrest Lookup Date =
MAXX (
    FILTER ( ALL ( Table ), Table[Valid from] &amp;lt;= MAX ( Invoice[Invoice Date] ) ),
    Table[Valid from]
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 23 Feb 2022 04:46:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2354828#M59915</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-23T04:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Find first date in table where date greater than invoice date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355127#M59934</link>
      <description>&lt;P&gt;Same result - but thanks for trying&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 07:20:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355127#M59934</guid>
      <dc:creator>LotteLaugesen</dc:creator>
      <dc:date>2022-02-23T07:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Find first date in table where date greater than invoice date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355436#M59952</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="263569" data-lia-user-login="LotteLaugesen" class="lia-mention lia-mention-user"&gt;LotteLaugesen&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I'm getting correct results. See the screen shot. But I think it depends on your data model&amp;nbsp;and relationships. Most probably you have a connected date table. Can you please send a screen shot of your data model with the relationships?&lt;BR /&gt;Thanks and have a nice day!&amp;nbsp;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 09:09:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355436#M59952</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-23T09:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Find first date in table where date greater than invoice date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355510#M59957</link>
      <description>&lt;P&gt;Here is my datamodel and contents of NFV Interest Rates:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;And this is the calculation and result&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 09:34:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355510#M59957</guid>
      <dc:creator>LotteLaugesen</dc:creator>
      <dc:date>2022-02-23T09:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Find first date in table where date greater than invoice date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355662#M59971</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="263569" data-lia-user-login="LotteLaugesen" class="lia-mention lia-mention-user"&gt;LotteLaugesen&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Are you sure invoice date is of date data type? It looks like it is of text data type &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:34:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355662#M59971</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-23T10:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Find first date in table where date greater than invoice date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355693#M59977</link>
      <description>&lt;P&gt;I'm wondering why it looks like that, too...&lt;/P&gt;&lt;P&gt;But look here:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:41:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355693#M59977</guid>
      <dc:creator>LotteLaugesen</dc:creator>
      <dc:date>2022-02-23T10:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Find first date in table where date greater than invoice date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355700#M59979</link>
      <description>&lt;P&gt;Check the data source from power query. Or if you don't mind can you please a sample data version of the file?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 10:47:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355700#M59979</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-23T10:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Find first date in table where date greater than invoice date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355762#M59986</link>
      <description>&lt;P&gt;Sorry about all this -&amp;nbsp;I had made the calculation as a new column in the Merge ARAP and SCF table and not as a new measure&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":see_no_evil_monkey:"&gt;🙈&lt;/span&gt;&amp;nbsp; So after changing that it works perfectly&lt;BR /&gt;Thanks for all you time&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 11:06:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-first-date-in-table-where-date-greater-than-invoice-date/m-p/2355762#M59986</guid>
      <dc:creator>LotteLaugesen</dc:creator>
      <dc:date>2022-02-23T11:06:33Z</dc:date>
    </item>
  </channel>
</rss>

