<?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: How do I create a Calculated Column or Measure by relationship with multiple tables (text values) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-create-a-Calculated-Column-or-Measure-by-relationship/m-p/2117666#M48532</link>
    <description>&lt;P&gt;Thanks so much for the prompt reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, appending tables or using union code to create/consolidate tables is exactly what I am trying to avoid since each of those tables have 100's of 1000's of rows. The smallest table has at least 360K rows and the biggest has up to 2.1M rows. Besides, the PO Number is not the only value I need to retrieve and populate into &lt;STRONG&gt;Table 1; &lt;/STRONG&gt;PO Number is just one of many, if resolved I will then use the same code / principle to retrieve all other values/columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!... I will try your suggestion using Lookupvalue with IF Statements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
    <pubDate>Wed, 06 Oct 2021 01:52:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-10-06T01:52:48Z</dc:date>
    <item>
      <title>How do I create a Calculated Column or Measure by relationship with multiple tables (text values)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-create-a-Calculated-Column-or-Measure-by-relationship/m-p/2117596#M48528</link>
      <description>&lt;P&gt;Hi;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create a calculated column or measure that will bring the &lt;STRONG&gt;PO Number&lt;/STRONG&gt; from 4 other tables based on the Serial Number relationship between them. As you can see in the example below; &lt;STRONG&gt;table 1&lt;/STRONG&gt; serial number field matches with at least one Serial Number on tables 2, 3, 4 and 5. So I need this calc. column or measure to retrieve those values and populate them on &lt;STRONG&gt;Table 1.&amp;nbsp;&lt;/STRONG&gt;I tried using SUMX but it does not work with text string (values). It worked like a charm in a similar case where I needed to retrieve the currency USD value for each of the Serial Numbers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in adavance for the help!&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;</description>
      <pubDate>Wed, 06 Oct 2021 01:40:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-create-a-Calculated-Column-or-Measure-by-relationship/m-p/2117596#M48528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-06T01:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a Calculated Column or Measure by relationship with multiple tables (text values)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-create-a-Calculated-Column-or-Measure-by-relationship/m-p/2117607#M48530</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you Append those tables 2,3,4,5 to one table, then relate that with Table 1?and use the &lt;A href="https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax" target="_self"&gt;LOOKUPVALUE&lt;/A&gt; DAX&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-query/append-queries" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/power-query/append-queries&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or use&amp;nbsp;UNION code to join tables&amp;nbsp;2,3,4,5 and create one table,, then relate that with Table 1?and use&amp;nbsp;use the &lt;A href="https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax" target="_self"&gt;LOOKUPVALUE&lt;/A&gt; DAX&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/union-function-dax" target="_blank"&gt;https://docs.microsoft.com/en-us/dax/union-function-dax&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, you can use the &lt;A href="https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax" target="_self"&gt;LOOKUPVALUE&lt;/A&gt; DAX and IF statement code to find those PO Numbers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;STRONG&gt;accepting&lt;/STRONG&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;it as the solution&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;to help the other members find it more quickly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Appreciate your Kudos!!&lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 01:31:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-create-a-Calculated-Column-or-Measure-by-relationship/m-p/2117607#M48530</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-10-06T01:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a Calculated Column or Measure by relationship with multiple tables (text values)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-create-a-Calculated-Column-or-Measure-by-relationship/m-p/2117666#M48532</link>
      <description>&lt;P&gt;Thanks so much for the prompt reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, appending tables or using union code to create/consolidate tables is exactly what I am trying to avoid since each of those tables have 100's of 1000's of rows. The smallest table has at least 360K rows and the biggest has up to 2.1M rows. Besides, the PO Number is not the only value I need to retrieve and populate into &lt;STRONG&gt;Table 1; &lt;/STRONG&gt;PO Number is just one of many, if resolved I will then use the same code / principle to retrieve all other values/columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!... I will try your suggestion using Lookupvalue with IF Statements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 01:52:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-create-a-Calculated-Column-or-Measure-by-relationship/m-p/2117666#M48532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-06T01:52:48Z</dc:date>
    </item>
  </channel>
</rss>

