<?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: create calculated column based on 3 tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-calculated-column-based-on-3-tables/m-p/2922365#M95864</link>
    <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;, i updated table 2 , doesn't contain an id column now.&lt;/P&gt;&lt;P&gt;also added more details about the tables relations in the original post&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2022 17:37:12 GMT</pubDate>
    <dc:creator>mhusaein</dc:creator>
    <dc:date>2022-11-22T17:37:12Z</dc:date>
    <item>
      <title>create calculated column based on 3 tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-calculated-column-based-on-3-tables/m-p/2922114#M95845</link>
      <description>&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;i have 3 tables as follows&amp;nbsp;&lt;/P&gt;&lt;P&gt;table 1 :&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;table 2 :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;table 3 :&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;i need to get the sum of table1[value] and instert it as a column in table[3] as i will make extra calculations after this&lt;/P&gt;&lt;P&gt;Relations are as follows:&lt;/P&gt;&lt;P&gt;table1[code] &amp;amp; table2[code] , many to one.&lt;/P&gt;&lt;P&gt;table2[type] &amp;amp; table3[type] , one to many.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;id column in table1 and table 3 has duplicates&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 17:35:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-calculated-column-based-on-3-tables/m-p/2922114#M95845</guid>
      <dc:creator>mhusaein</dc:creator>
      <dc:date>2022-11-22T17:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: create calculated column based on 3 tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-calculated-column-based-on-3-tables/m-p/2922335#M95861</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="475745" data-lia-user-login="mhusaein" class="lia-mention lia-mention-user"&gt;mhusaein&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what are the cardinalities of these relationships? Which ones are active and which are in inactive?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 17:11:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-calculated-column-based-on-3-tables/m-p/2922335#M95861</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-11-22T17:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: create calculated column based on 3 tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-calculated-column-based-on-3-tables/m-p/2922365#M95864</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;, i updated table 2 , doesn't contain an id column now.&lt;/P&gt;&lt;P&gt;also added more details about the tables relations in the original post&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 17:37:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-calculated-column-based-on-3-tables/m-p/2922365#M95864</guid>
      <dc:creator>mhusaein</dc:creator>
      <dc:date>2022-11-22T17:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: create calculated column based on 3 tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-calculated-column-based-on-3-tables/m-p/2922464#M95872</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="475745" data-lia-user-login="mhusaein" class="lia-mention lia-mention-user"&gt;mhusaein&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;P&gt;CalculatedColumn =&lt;BR /&gt;SUMX (&lt;BR /&gt;FILTER (&lt;BR /&gt;CALCULATETABLE ( table1, CROSSFILTER ( table2[type], table3[type], BOTH ) ),&lt;BR /&gt;table1[id] = table3[id]&lt;BR /&gt;),&lt;BR /&gt;table1[value]&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 18:23:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-calculated-column-based-on-3-tables/m-p/2922464#M95872</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-11-22T18:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: create calculated column based on 3 tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-calculated-column-based-on-3-tables/m-p/2923407#M95922</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp; it worked perfectly&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 05:49:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/create-calculated-column-based-on-3-tables/m-p/2923407#M95922</guid>
      <dc:creator>mhusaein</dc:creator>
      <dc:date>2022-11-23T05:49:19Z</dc:date>
    </item>
  </channel>
</rss>

