<?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: Assistance with look up value with variable and multiple dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-look-up-value-with-variable-and-multiple-dates/m-p/1887872#M40656</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="306207" data-lia-user-login="NikkiSavage" class="lia-mention lia-mention-user"&gt;NikkiSavage&lt;/a&gt; , Need sample data for that.&lt;/P&gt;
&lt;P&gt;example&lt;/P&gt;
&lt;P&gt;New column =&lt;/P&gt;
&lt;P&gt;var _cnt = countx(Table2, Table2[Customer] = Table1[Customer] &amp;amp;&amp;amp; Table2[Date] &amp;gt;= Table1[Date]&amp;nbsp; &amp;amp;&amp;amp; Table2[Date] &amp;lt;= Table1[Date] +2),Table2[Customer] ) +0&lt;/P&gt;
&lt;P&gt;return&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(_cnt&amp;gt;0, True(), False())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;refer 4 ways to copy data from one table to another&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=Wu1mWxR23jU" target="_blank"&gt;https://www.youtube.com/watch?v=Wu1mWxR23jU&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=czNHt7UXIe8" target="_blank"&gt;https://www.youtube.com/watch?v=czNHt7UXIe8&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jun 2021 11:58:40 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-06-08T11:58:40Z</dc:date>
    <item>
      <title>Assistance with look up value with variable and multiple dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-look-up-value-with-variable-and-multiple-dates/m-p/1887829#M40652</link>
      <description>&lt;P&gt;I have two tables. One contains data including customer number and whether they have had a fall and if so, on what dates they have had a fall. As such, it can contain multiple rows for one customer if they have had multiple falls. The other tells me if a customer has been to hospital any number of times so also has multiple rows for one customer. I want to do a look up in the first table which will tell me if a customer has been to hospital within 2 days of having a fall.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 11:43:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-look-up-value-with-variable-and-multiple-dates/m-p/1887829#M40652</guid>
      <dc:creator>NikkiSavage</dc:creator>
      <dc:date>2021-06-08T11:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with look up value with variable and multiple dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-look-up-value-with-variable-and-multiple-dates/m-p/1887872#M40656</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="306207" data-lia-user-login="NikkiSavage" class="lia-mention lia-mention-user"&gt;NikkiSavage&lt;/a&gt; , Need sample data for that.&lt;/P&gt;
&lt;P&gt;example&lt;/P&gt;
&lt;P&gt;New column =&lt;/P&gt;
&lt;P&gt;var _cnt = countx(Table2, Table2[Customer] = Table1[Customer] &amp;amp;&amp;amp; Table2[Date] &amp;gt;= Table1[Date]&amp;nbsp; &amp;amp;&amp;amp; Table2[Date] &amp;lt;= Table1[Date] +2),Table2[Customer] ) +0&lt;/P&gt;
&lt;P&gt;return&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(_cnt&amp;gt;0, True(), False())&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;refer 4 ways to copy data from one table to another&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=Wu1mWxR23jU" target="_blank"&gt;https://www.youtube.com/watch?v=Wu1mWxR23jU&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=czNHt7UXIe8" target="_blank"&gt;https://www.youtube.com/watch?v=czNHt7UXIe8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 11:58:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Assistance-with-look-up-value-with-variable-and-multiple-dates/m-p/1887872#M40656</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-06-08T11:58:40Z</dc:date>
    </item>
  </channel>
</rss>

