<?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: Use Different Tables Data In a DAX Column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Different-Tables-Data-In-a-DAX-Column/m-p/3789555#M148068</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="681154" data-lia-user-login="srpeters" class="lia-mention lia-mention-user"&gt;srpeters&lt;/a&gt;&amp;nbsp;You can use MAXX(FILTER(...), ...) or LOOKUPVALUE to return data in other tables when no relationship exists.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Mar 2024 15:10:05 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2024-03-25T15:10:05Z</dc:date>
    <item>
      <title>Use Different Tables Data In a DAX Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Different-Tables-Data-In-a-DAX-Column/m-p/3789413#M148062</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have three different tables with three different amounts. Two of these tables have different keys and the third table has both of these keys. I also have a fourth table with one of the keys and a description of what it correlates to. Here is some sample data:&lt;/P&gt;&lt;P&gt;Table 1:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Table 2:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Table 3:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Table 4:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;As you can see I am getting an error message when trying to use DAX to subtract the three different tables amounts from each other in Table 3s DAX Column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the same DAX but as a measure:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to replicate this measure for each row as a column in a table rather than a measure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 13:51:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Different-Tables-Data-In-a-DAX-Column/m-p/3789413#M148062</guid>
      <dc:creator>srpeters</dc:creator>
      <dc:date>2024-03-25T13:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Use Different Tables Data In a DAX Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Different-Tables-Data-In-a-DAX-Column/m-p/3789555#M148068</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="681154" data-lia-user-login="srpeters" class="lia-mention lia-mention-user"&gt;srpeters&lt;/a&gt;&amp;nbsp;You can use MAXX(FILTER(...), ...) or LOOKUPVALUE to return data in other tables when no relationship exists.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 15:10:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Different-Tables-Data-In-a-DAX-Column/m-p/3789555#M148068</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-03-25T15:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Use Different Tables Data In a DAX Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Different-Tables-Data-In-a-DAX-Column/m-p/3789649#M148072</link>
      <description>&lt;P&gt;Since I do have a relationship between these tables through the keys, shouldnt RELATED work?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My relationships:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If not, then how would you format the LOOKUPVALUE for 3 different tables?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 15:50:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Different-Tables-Data-In-a-DAX-Column/m-p/3789649#M148072</guid>
      <dc:creator>srpeters</dc:creator>
      <dc:date>2024-03-25T15:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Use Different Tables Data In a DAX Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Different-Tables-Data-In-a-DAX-Column/m-p/3789695#M148075</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="681154" data-lia-user-login="srpeters" class="lia-mention lia-mention-user"&gt;srpeters&lt;/a&gt;&amp;nbsp;Actually in looking at this closer, I believe the issue is that you are using RELATED to reference the same table that you are in, Table3. When creating a calculated column in Table3 that uses a column in Table3, just reference the column, [Column], you do not need to use RELATED and it actually won't work anyway and you will get the error you are receiving.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 16:05:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Different-Tables-Data-In-a-DAX-Column/m-p/3789695#M148075</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-03-25T16:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Use Different Tables Data In a DAX Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Different-Tables-Data-In-a-DAX-Column/m-p/3789842#M148087</link>
      <description>&lt;P&gt;I see now that the RELATED() function does not work for limited relationships. Since the data I am working with has many-to-many relationships, I guess I need to use LOOKUPVALUE or MAX(FILTER()).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 17:24:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Different-Tables-Data-In-a-DAX-Column/m-p/3789842#M148087</guid>
      <dc:creator>srpeters</dc:creator>
      <dc:date>2024-03-25T17:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Use Different Tables Data In a DAX Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Different-Tables-Data-In-a-DAX-Column/m-p/3789847#M148088</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="681154" data-lia-user-login="srpeters" class="lia-mention lia-mention-user"&gt;srpeters&lt;/a&gt;&amp;nbsp;Right, RELATED works on the many side of a 1-to-many relationship. Might be able to use RELATEDTABLE along with an X-aggregator.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 17:29:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Use-Different-Tables-Data-In-a-DAX-Column/m-p/3789847#M148088</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-03-25T17:29:43Z</dc:date>
    </item>
  </channel>
</rss>

