<?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 to multiply two tables with a connection of a dimension table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-multiply-two-tables-with-a-connection-of-a-dimension/m-p/3674576#M142617</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how the year table is related, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&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;
&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;
&lt;LI-CODE lang="markup"&gt;Expected result measure: =
SUMX (
    ADDCOLUMNS (
        CROSSJOIN ( VALUES ( 'Year'[YEAR] ), VALUES ( CPTMODE[CPTMODE] ) ),
        "@sales", CALCULATE ( SUM ( Quantity[Sales] ) ),
        "@market%", CALCULATE ( SUM ( Market[Market%] ) )
    ),
    [@sales] * [@market%]
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2024 04:09:48 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2024-02-02T04:09:48Z</dc:date>
    <item>
      <title>How to multiply two tables with a connection of a dimension table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-multiply-two-tables-with-a-connection-of-a-dimension/m-p/3674534#M142614</link>
      <description>&lt;P&gt;I have this 3 tables.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current script is sumx(Quantity,Quantity[Sales] * )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use the relate table it doesnt show the 2nd table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure where I go wrong.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 03:23:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-multiply-two-tables-with-a-connection-of-a-dimension/m-p/3674534#M142614</guid>
      <dc:creator>JuradoKevin14</dc:creator>
      <dc:date>2024-02-02T03:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to multiply two tables with a connection of a dimension table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-multiply-two-tables-with-a-connection-of-a-dimension/m-p/3674576#M142617</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how the year table is related, but I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&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;
&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;
&lt;LI-CODE lang="markup"&gt;Expected result measure: =
SUMX (
    ADDCOLUMNS (
        CROSSJOIN ( VALUES ( 'Year'[YEAR] ), VALUES ( CPTMODE[CPTMODE] ) ),
        "@sales", CALCULATE ( SUM ( Quantity[Sales] ) ),
        "@market%", CALCULATE ( SUM ( Market[Market%] ) )
    ),
    [@sales] * [@market%]
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 04:09:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-multiply-two-tables-with-a-connection-of-a-dimension/m-p/3674576#M142617</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2024-02-02T04:09:48Z</dc:date>
    </item>
  </channel>
</rss>

