<?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 Row-wise calculation across non direct related tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Row-wise-calculation-across-non-direct-related-tables/m-p/1091700#M15822</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to row-wise calculate a value using two columns available in my dataset. The problem is that the columns I need are in tables that are not directly related.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;and this is what I would do if the columns were in the same table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;measure = SUMX(main_table; main_table[IL_30d] * main_table[_Estoque_Cedente]) / sum(main_table[_Estoque_Cedente])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I cannot just simply connect both tables since the relations I have in the model are more complex than I am showing. The column &lt;EM&gt;Cedente_Documento&lt;/EM&gt; is the key between &lt;EM&gt;il&lt;/EM&gt;, &lt;EM&gt;concentracao&lt;/EM&gt; and &lt;EM&gt;cedentes&lt;/EM&gt; tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to do what I need using DAX?&lt;/P&gt;</description>
    <pubDate>Fri, 15 May 2020 14:20:16 GMT</pubDate>
    <dc:creator>lhevora</dc:creator>
    <dc:date>2020-05-15T14:20:16Z</dc:date>
    <item>
      <title>Row-wise calculation across non direct related tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Row-wise-calculation-across-non-direct-related-tables/m-p/1091700#M15822</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to row-wise calculate a value using two columns available in my dataset. The problem is that the columns I need are in tables that are not directly related.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I have:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;and this is what I would do if the columns were in the same table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;measure = SUMX(main_table; main_table[IL_30d] * main_table[_Estoque_Cedente]) / sum(main_table[_Estoque_Cedente])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I cannot just simply connect both tables since the relations I have in the model are more complex than I am showing. The column &lt;EM&gt;Cedente_Documento&lt;/EM&gt; is the key between &lt;EM&gt;il&lt;/EM&gt;, &lt;EM&gt;concentracao&lt;/EM&gt; and &lt;EM&gt;cedentes&lt;/EM&gt; tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to do what I need using DAX?&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 14:20:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Row-wise-calculation-across-non-direct-related-tables/m-p/1091700#M15822</guid>
      <dc:creator>lhevora</dc:creator>
      <dc:date>2020-05-15T14:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Row-wise calculation across non direct related tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Row-wise-calculation-across-non-direct-related-tables/m-p/1091731#M15823</link>
      <description>&lt;P&gt;So generally you are going to use RELATED or RELATEDTABLE in those kinds of situations.&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 14:32:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Row-wise-calculation-across-non-direct-related-tables/m-p/1091731#M15823</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2020-05-15T14:32:37Z</dc:date>
    </item>
  </channel>
</rss>

