<?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 Calcuting sum of column from Table A and Multiply by value in Table B in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calcuting-sum-of-column-from-Table-A-and-Multiply-by-value-in/m-p/1467974#M27829</link>
    <description>&lt;P&gt;I essentially need to Calculate Hourly Rate * Sum of Hours for User.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Table: HR Data (This table has one row for each user)&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;User ID, Hourly Rate&lt;/U&gt;&lt;/P&gt;&lt;P&gt;450294, $40&lt;/P&gt;&lt;P&gt;345020, $56&lt;/P&gt;&lt;P&gt;837498, $43&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Table: Time Log Data (This table has many rows for users with many projects and dates&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;User ID, Project, Hours&lt;/U&gt;&lt;/P&gt;&lt;P&gt;450294, Project A, 20&lt;/P&gt;&lt;P&gt;450294, Project B, 80&lt;/P&gt;&lt;P&gt;450294, Project C, 5&lt;/P&gt;&lt;P&gt;345020, Project A, 40&lt;/P&gt;&lt;P&gt;345020, Project B, 40&lt;/P&gt;&lt;P&gt;345020, Project C, 20&lt;/P&gt;&lt;P&gt;837498, Project A, 13&lt;/P&gt;&lt;P&gt;837498, Project B, 20&lt;/P&gt;&lt;P&gt;837498, Project C, 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas? I'm open to doing a measure OR creating a new table. But I was not able to make a custom column in one table because I could not get it to pull data from the other.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 01 Nov 2020 19:51:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-01T19:51:21Z</dc:date>
    <item>
      <title>Calcuting sum of column from Table A and Multiply by value in Table B</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calcuting-sum-of-column-from-Table-A-and-Multiply-by-value-in/m-p/1467974#M27829</link>
      <description>&lt;P&gt;I essentially need to Calculate Hourly Rate * Sum of Hours for User.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Table: HR Data (This table has one row for each user)&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;User ID, Hourly Rate&lt;/U&gt;&lt;/P&gt;&lt;P&gt;450294, $40&lt;/P&gt;&lt;P&gt;345020, $56&lt;/P&gt;&lt;P&gt;837498, $43&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Table: Time Log Data (This table has many rows for users with many projects and dates&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;User ID, Project, Hours&lt;/U&gt;&lt;/P&gt;&lt;P&gt;450294, Project A, 20&lt;/P&gt;&lt;P&gt;450294, Project B, 80&lt;/P&gt;&lt;P&gt;450294, Project C, 5&lt;/P&gt;&lt;P&gt;345020, Project A, 40&lt;/P&gt;&lt;P&gt;345020, Project B, 40&lt;/P&gt;&lt;P&gt;345020, Project C, 20&lt;/P&gt;&lt;P&gt;837498, Project A, 13&lt;/P&gt;&lt;P&gt;837498, Project B, 20&lt;/P&gt;&lt;P&gt;837498, Project C, 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas? I'm open to doing a measure OR creating a new table. But I was not able to make a custom column in one table because I could not get it to pull data from the other.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 19:51:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calcuting-sum-of-column-from-Table-A-and-Multiply-by-value-in/m-p/1467974#M27829</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-01T19:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calcuting sum of column from Table A and Multiply by value in Table B</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calcuting-sum-of-column-from-Table-A-and-Multiply-by-value-in/m-p/1467976#M27830</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can create a relationship between the two tables and use the following measure. Insert a Table Visual on the canvas, insert user id from User table and the measure&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Total = 
SUMX(
    Users,
    Users[ Hourly Rate] * CALCULATE(SUM('Time Log'[ Hours]))
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;________________________&lt;/P&gt;&lt;P&gt;If my answer was helpful, please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;I&gt; to help the other members find it&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Click on the &lt;STRONG&gt;Thumbs-Up icon &lt;/STRONG&gt;if you like this reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/channel/UCKwBEguA8IlBubIobaOormg?sub_confirmation=1" target="_blank"&gt;&lt;FONT color="blue"&gt;YouTube&lt;/FONT&gt;&lt;/A&gt;&amp;nbsp; &lt;A href="https://linkedin.com/in/fowmy" target="_blank"&gt;&lt;FONT color="blue"&gt;LinkedIn&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 19:54:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calcuting-sum-of-column-from-Table-A-and-Multiply-by-value-in/m-p/1467976#M27830</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2020-11-01T19:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calcuting sum of column from Table A and Multiply by value in Table B</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calcuting-sum-of-column-from-Table-A-and-Multiply-by-value-in/m-p/1468042#M27833</link>
      <description>&lt;P&gt;Thank you, this is exactly what I needed!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 23:52:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calcuting-sum-of-column-from-Table-A-and-Multiply-by-value-in/m-p/1468042#M27833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-01T23:52:16Z</dc:date>
    </item>
  </channel>
</rss>

