<?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: Multiply values in columns (Different tables) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526318#M70641</link>
    <description>&lt;P&gt;It doesn't matter whether they are numbers or text but they both need to be the same. and if its text you need to make sure that there are no leading or trailing spaces in either column, as that would throw the relationship out&lt;/P&gt;</description>
    <pubDate>Thu, 19 May 2022 11:33:32 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2022-05-19T11:33:32Z</dc:date>
    <item>
      <title>Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526114#M70624</link>
      <description>&lt;P&gt;Say I have one table like this:&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;TD&gt;1,02&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;b&lt;/TD&gt;&lt;TD&gt;-0,4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;c&lt;/TD&gt;&lt;TD&gt;-5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;TD&gt;-3,2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;b&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;c&lt;/TD&gt;&lt;TD&gt;-4,5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the other table like this:&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;TD&gt;839403284&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;b&lt;/TD&gt;&lt;TD&gt;932848032&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;c&lt;/TD&gt;&lt;TD&gt;39842048&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to I multiply each of the values in the first table with the corresponding values in the second table?&amp;nbsp;&lt;/P&gt;&lt;P&gt;And what should the relation on the "Model"-page look like?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 10:26:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526114#M70624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-19T10:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526227#M70631</link>
      <description>&lt;P&gt;If you know that there will only be 1 entry per item in the 2nd table then you can create a one-to-many relationship between the tables. You would then be able to use the RELATED function to do the multiplication. e.g. you could create a column on the first table like&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Multiplied value = 'Table 1'[Value] * RELATED('Table 2'[Value])&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 19 May 2022 11:12:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526227#M70631</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-05-19T11:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526243#M70632</link>
      <description>&lt;P&gt;It won't let me make that formula.. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 11:18:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526243#M70632</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-19T11:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526251#M70633</link>
      <description>&lt;P&gt;Firstly you can create a relationship between the two tables based on the common column. Now you can use the below DAX to do the multiplication -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Multiply = TABLE1[COLUMN1]* RELATED(TABLE2[COLUMN2])&lt;/PRE&gt;&lt;DIV&gt;&lt;DIV&gt;Model Should look something like this, just a sample image -&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if this helped you.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 11:20:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526251#M70633</guid>
      <dc:creator>AnamPatel</dc:creator>
      <dc:date>2022-05-19T11:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526252#M70634</link>
      <description>&lt;P&gt;Firstly you can create a relationship between the two tables based on the common column. Now you can use the below DAX to do the multiplication -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Multilple = TABLE1[COLUMN1]* RELATED(TABLE2[COLUMN2])&lt;/PRE&gt;&lt;DIV&gt;&lt;DIV&gt;Model Should look something like this, just a sample image -&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know this helped you.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 11:19:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526252#M70634</guid>
      <dc:creator>AnamPatel</dc:creator>
      <dc:date>2022-05-19T11:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526266#M70636</link>
      <description>&lt;P&gt;can you share a picture of the diagram view showing the relationship between the tables ?&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 11:22:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526266#M70636</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-05-19T11:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526268#M70637</link>
      <description>&lt;P&gt;It won't let me chose the right columns.. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;What should I do?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 11:22:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526268#M70637</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-19T11:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526277#M70638</link>
      <description>&lt;P&gt;This works for most categories:&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;But for certain others it's completely wrong... why would that be?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 11:25:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526277#M70638</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-19T11:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526296#M70639</link>
      <description>&lt;P&gt;It's a simple, many-to-one relationship.&amp;nbsp;&lt;BR /&gt;One table has only one occurence of each value, while the other table has lots of occurences of each value. Does it matter wheter it's formatted as numbers or text? (the values that are related are 4-number values)&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 11:28:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526296#M70639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-19T11:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526318#M70641</link>
      <description>&lt;P&gt;It doesn't matter whether they are numbers or text but they both need to be the same. and if its text you need to make sure that there are no leading or trailing spaces in either column, as that would throw the relationship out&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 11:33:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526318#M70641</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-05-19T11:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526322#M70642</link>
      <description>&lt;P&gt;Create a relationship between the two tables first.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 11:37:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526322#M70642</guid>
      <dc:creator>AnamPatel</dc:creator>
      <dc:date>2022-05-19T11:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526371#M70648</link>
      <description>&lt;P&gt;All of that should be in order.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 11:56:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526371#M70648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-19T11:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526374#M70649</link>
      <description>&lt;P&gt;That should be in order, but there are still some of the calculations that are completely wrong..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 11:57:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526374#M70649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-19T11:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526406#M70655</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;My Undestanding that you cannot create calculated columns and you cannot create or edit relationships. Then try to create New Measure&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;NewMeasure =
SUMX (
    Table1,
    VAR Name = Table1[Name]
    VAR Value1 = Table1[Value]
    VAR Value2 =
        MAXX ( FILTER ( Table2, Table2[Name] = Name ), Table2[Value] )
    RETURN
        Value1 * Value2
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 12:16:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2526406#M70655</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-05-19T12:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2537846#M71385</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please refer to my pbix file to see if it helps you.&lt;/P&gt;
&lt;P&gt;Create a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = MAX('Table'[value])*MAX('Table (2)'[val])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If I have misunderstood your meaning, please provide more details with your desired output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Community Support Team _ Polly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 06:04:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/2537846#M71385</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-25T06:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/3082486#M107506</link>
      <description>&lt;P&gt;unrelated, but this solved a problem I was stuck in for days. thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 01:58:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/3082486#M107506</guid>
      <dc:creator>sam888</dc:creator>
      <dc:date>2023-02-16T01:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/3251900#M120004</link>
      <description>&lt;P&gt;Hello, in the idea you provided, what is the "name"? i understand what table and values are but i dont understand whats supposed to go where is says name&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 20:10:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/3251900#M120004</guid>
      <dc:creator>BobSled</dc:creator>
      <dc:date>2023-05-24T20:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/3252205#M120026</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="562383" data-lia-user-login="BobSled" class="lia-mention lia-mention-user"&gt;BobSled&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The name of the first column that contains "a", "b", "c"&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 03:01:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/3252205#M120026</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-05-25T03:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Multiply values in columns (Different tables)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/3255962#M120243</link>
      <description>&lt;P&gt;This worked perfectly for me thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 20:43:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiply-values-in-columns-Different-tables/m-p/3255962#M120243</guid>
      <dc:creator>BobSled</dc:creator>
      <dc:date>2023-05-26T20:43:45Z</dc:date>
    </item>
  </channel>
</rss>

