<?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: Lookup different value depending on date column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-different-value-depending-on-date-column/m-p/781398#M4136</link>
    <description>&lt;P&gt;That's perfect, thanks very much for your help&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="10823" data-lia-user-login="Stachu" class="lia-mention lia-mention-user"&gt;Stachu&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;this looks a lot like this problem, it has a solution in DAX and Power Query&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Power-Query/Linking-TimeStamp-to-Value-between-Dates-in-Seperate-Table/m-p/767405#M25677" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Power-Query/Linking-TimeStamp-to-Value-between-Dates-in-Seperate-Table/m-p/767405#M25677&lt;/A&gt;&lt;/P&gt;&lt;P&gt;have a read, and if something is not clear please post again&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Sep 2019 12:31:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-09-02T12:31:34Z</dc:date>
    <item>
      <title>Lookup different value depending on date column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-different-value-depending-on-date-column/m-p/768774#M3562</link>
      <description>&lt;P&gt;I have a table that shows date of communications actioned (Comms[creation date]), along with the name of the staff member that processed them (Comms[actioned by]). I also have another table showing staff members (Staff[first name]) and the team they work in (Staff[Team]), and a third table that shows the dates a team member was working in a particular team (RoleChange[role start] and RoleChange[role end]). Some staff have moved teams and so the RoleChange table will contain multiple entries for staff members, and no entries for team members that haven't moved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a calculated column (I think!?) in the communications table that shows the team that the staff member who actioned the communication was working in at the time the communication was actioned.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been assuming that I need some kind of LOOKUPVALUE but with variables relating to Comms[creation date] and RoleChange[role start] and RoleChange[role end], but I'm not managing to get anywhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what the relevant section of my model looks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 15:42:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-different-value-depending-on-date-column/m-p/768774#M3562</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-16T15:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup different value depending on date column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-different-value-depending-on-date-column/m-p/769025#M3578</link>
      <description>&lt;P&gt;this looks a lot like this problem, it has a solution in DAX and Power Query&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Power-Query/Linking-TimeStamp-to-Value-between-Dates-in-Seperate-Table/m-p/767405#M25677" target="_blank"&gt;https://community.powerbi.com/t5/Power-Query/Linking-TimeStamp-to-Value-between-Dates-in-Seperate-Table/m-p/767405#M25677&lt;/A&gt;&lt;/P&gt;&lt;P&gt;have a read, and if something is not clear please post again&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 03:35:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-different-value-depending-on-date-column/m-p/769025#M3578</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2019-08-17T03:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup different value depending on date column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-different-value-depending-on-date-column/m-p/781398#M4136</link>
      <description>&lt;P&gt;That's perfect, thanks very much for your help&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="10823" data-lia-user-login="Stachu" class="lia-mention lia-mention-user"&gt;Stachu&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;this looks a lot like this problem, it has a solution in DAX and Power Query&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Power-Query/Linking-TimeStamp-to-Value-between-Dates-in-Seperate-Table/m-p/767405#M25677" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/Power-Query/Linking-TimeStamp-to-Value-between-Dates-in-Seperate-Table/m-p/767405#M25677&lt;/A&gt;&lt;/P&gt;&lt;P&gt;have a read, and if something is not clear please post again&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2019 12:31:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lookup-different-value-depending-on-date-column/m-p/781398#M4136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-02T12:31:34Z</dc:date>
    </item>
  </channel>
</rss>

