<?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 Lookup value within date range in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-value-within-date-range/m-p/2368197#M60686</link>
    <description>&lt;P&gt;I'm looking for a dax formula for a calculated column, which searches by name and between two dates.&lt;BR /&gt;In the picture below the explanation. I'm looking for a DAX formula (calculated column) for the orange column in table_1.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found many similar questions with solutions on the internet. However, those solutions just don't work. I hope someone can help me with the final solution through this community site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for the help!&lt;BR /&gt;Bas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2022 19:19:36 GMT</pubDate>
    <dc:creator>brief001</dc:creator>
    <dc:date>2022-03-01T19:19:36Z</dc:date>
    <item>
      <title>Lookup value within date range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-value-within-date-range/m-p/2368197#M60686</link>
      <description>&lt;P&gt;I'm looking for a dax formula for a calculated column, which searches by name and between two dates.&lt;BR /&gt;In the picture below the explanation. I'm looking for a DAX formula (calculated column) for the orange column in table_1.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found many similar questions with solutions on the internet. However, those solutions just don't work. I hope someone can help me with the final solution through this community site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for the help!&lt;BR /&gt;Bas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 19:19:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-value-within-date-range/m-p/2368197#M60686</guid>
      <dc:creator>brief001</dc:creator>
      <dc:date>2022-03-01T19:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup value within date range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-value-within-date-range/m-p/2368228#M60687</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="284859" data-lia-user-login="brief001" class="lia-mention lia-mention-user"&gt;brief001&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may try&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;VAR CurrentName = Table_1[Name]&lt;BR /&gt;VAR CurrentDate = Table_1[Date]&lt;BR /&gt;VAR FilterTable =&lt;BR /&gt;FILTER (&lt;/P&gt;&lt;P&gt;Table_2,&lt;/P&gt;&lt;P&gt;Table_2[Name] =&amp;nbsp;&lt;SPAN&gt;CurrentName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;&amp;amp; Table_2[Date_Start] &amp;lt;= CurrentDate&lt;/P&gt;&lt;P&gt;&amp;amp;&amp;amp;&amp;nbsp;&lt;SPAN&gt;Table_2[Date_End] &amp;gt;= CurrentDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VAR Result =&lt;BR /&gt;MAXX ( FilteredTable, Table_2[Team] )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Result&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 19:42:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-value-within-date-range/m-p/2368228#M60687</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-03-01T19:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup value within date range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-value-within-date-range/m-p/2368321#M60694</link>
      <description>&lt;P&gt;Thank you very much, this formula does indeed work. One note though, I had to change "MAXX ( FilteredTable, Table_2[Team] )" to "MAXX ( FilterTable, Table_2[Team] )".&lt;BR /&gt;&lt;BR /&gt;Thank you, I am very happy to have been helped so quickly!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 20:24:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-value-within-date-range/m-p/2368321#M60694</guid>
      <dc:creator>brief001</dc:creator>
      <dc:date>2022-03-01T20:24:30Z</dc:date>
    </item>
  </channel>
</rss>

