<?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: Merge Two Tables of Different Measurements by TIME and ID into single table? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/875310#M7326</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="179964" data-lia-user-login="PowerOper" class="lia-mention lia-mention-user"&gt;PowerOper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i understand correct it shoud be enough to add calculated column to table pressure or temperature like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Temperature = lookupvalue('TEMPERATURE_TABLE'[temperature];
'TEMPERATURE_TABLE'[id];[id]
'TEMPERATURE_TABLE'[time];[time]
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 14 Dec 2019 08:28:27 GMT</pubDate>
    <dc:creator>az38</dc:creator>
    <dc:date>2019-12-14T08:28:27Z</dc:date>
    <item>
      <title>Merge Two Tables of Different Measurements by TIME and ID into single table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/875095#M7320</link>
      <description>&lt;P&gt;I have two tables, each are similar except that they contain different types of measured values, for example one contains pressure data, and the other has temperature data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like create a new table that merges the two tables so that I have the two measurements, pressure and temperature, in the same table for each id and time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As an example, here are the two source tables I would like to merge. My apologies for the formatting. The forum site isn't loading properly for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PRESSURE_TABLE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEMPERATURE_TABLE&lt;/P&gt;&lt;P&gt;id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pressure&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;temperature&lt;BR /&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2019-12-13 1:00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2019-12-13 1:00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;/P&gt;&lt;P&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2019-12-13 1:00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5200 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2019-12-13 1:00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The resulting table after the merge would look like this:&lt;/P&gt;&lt;P&gt;id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pressure&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;temperature&lt;BR /&gt;A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2019-12-13 1:00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;12&lt;BR /&gt;B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2019-12-13 1:00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;15&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 19:58:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/875095#M7320</guid>
      <dc:creator>PowerOper</dc:creator>
      <dc:date>2019-12-13T19:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Two Tables of Different Measurements by TIME and ID into single table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/875310#M7326</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="179964" data-lia-user-login="PowerOper" class="lia-mention lia-mention-user"&gt;PowerOper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i understand correct it shoud be enough to add calculated column to table pressure or temperature like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Temperature = lookupvalue('TEMPERATURE_TABLE'[temperature];
'TEMPERATURE_TABLE'[id];[id]
'TEMPERATURE_TABLE'[time];[time]
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2019 08:28:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/875310#M7326</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2019-12-14T08:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Two Tables of Different Measurements by TIME and ID into single table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/876555#M7369</link>
      <description>Thanks &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="82403" data-lia-user-login="az38" class="lia-mention lia-mention-user"&gt;az38&lt;/a&gt;. I've tried that but it returns #ERROR with the error message "A table of multiple values was supplied where a single value was expected."</description>
      <pubDate>Mon, 16 Dec 2019 16:40:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/876555#M7369</guid>
      <dc:creator>PowerOper</dc:creator>
      <dc:date>2019-12-16T16:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Two Tables of Different Measurements by TIME and ID into single table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/876573#M7370</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="179964" data-lia-user-login="PowerOper" class="lia-mention lia-mention-user"&gt;PowerOper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it means that you have more then one row that satisfied both of your conditions.&lt;/P&gt;&lt;P&gt;you need to check data or define another rule&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 16:59:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/876573#M7370</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2019-12-16T16:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Two Tables of Different Measurements by TIME and ID into single table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/876584#M7371</link>
      <description>&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="82403" data-lia-user-login="az38" class="lia-mention lia-mention-user"&gt;az38&lt;/a&gt; When I perform the lookup manually, I don't see duplicates or multiple rows. I do have the 2 tables joined to another dates table on Timestamp, maybe that is causing the issue. I generated this third table as a distinct union of the timestamp fields from the 2 tables. Must be something to do with my relationships. Thanks</description>
      <pubDate>Mon, 16 Dec 2019 17:13:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/876584#M7371</guid>
      <dc:creator>PowerOper</dc:creator>
      <dc:date>2019-12-16T17:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Two Tables of Different Measurements by TIME and ID into single table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/876593#M7372</link>
      <description>&lt;P&gt;so,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="179964" data-lia-user-login="PowerOper" class="lia-mention lia-mention-user"&gt;PowerOper&lt;/a&gt;&amp;nbsp;we need to look at your data model to help you&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 17:23:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/876593#M7372</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2019-12-16T17:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Two Tables of Different Measurements by TIME and ID into single table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/876605#M7373</link>
      <description>Yeah I'm probably going about this the wrong way. The two tables are actually derived from another table, so perhaps I should be trying to manipulate that one instead. The source table has columns [Timestamp], [Value], [Measured Name], [ID] and in the Measured Name field it has "Temperature" or "Pressure" to describe what value it is. I had created two separate tables to derive Temperature and Pressure by Timestamp and ID. What I really want to do probably is just pivot the original table so that the values are grouped for [Measured Name] columns. Is there a way to PIVOT with DAX? I'm going to google that &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="82403" data-lia-user-login="az38" class="lia-mention lia-mention-user"&gt;az38&lt;/a&gt;</description>
      <pubDate>Mon, 16 Dec 2019 17:29:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/876605#M7373</guid>
      <dc:creator>PowerOper</dc:creator>
      <dc:date>2019-12-16T17:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Two Tables of Different Measurements by TIME and ID into single table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/876614#M7374</link>
      <description>OK well this was easy. I just had to pivot the [Measured Name] column in the original M Query. I'm not sure what I didnt' think of that before. My apologies Cheers</description>
      <pubDate>Mon, 16 Dec 2019 17:40:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/876614#M7374</guid>
      <dc:creator>PowerOper</dc:creator>
      <dc:date>2019-12-16T17:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Two Tables of Different Measurements by TIME and ID into single table?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/876649#M7376</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="179964" data-lia-user-login="PowerOper" class="lia-mention lia-mention-user"&gt;PowerOper&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thats great! good luck!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 18:20:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Merge-Two-Tables-of-Different-Measurements-by-TIME-and-ID-into/m-p/876649#M7376</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2019-12-16T18:20:17Z</dc:date>
    </item>
  </channel>
</rss>

