<?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: DAX: Total price from two tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Total-price-from-two-tables/m-p/1530652#M30019</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;Seems the formula you provided is not calculating the total correctly.&lt;/P&gt;&lt;P&gt;It multiplies Count * Unit_Price, but the overall rows total is not correct, it's way too huge&lt;/P&gt;</description>
    <pubDate>Thu, 03 Dec 2020 09:26:20 GMT</pubDate>
    <dc:creator>Salauat</dc:creator>
    <dc:date>2020-12-03T09:26:20Z</dc:date>
    <item>
      <title>DAX: Total price from two tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Total-price-from-two-tables/m-p/1527850#M29946</link>
      <description>&lt;P&gt;Hello, I have two tables.&lt;/P&gt;&lt;P&gt;In first table I have multiple Man.Model repeated N times.&lt;/P&gt;&lt;P&gt;In second table I also have Man.Model, but repeated once.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt; table:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Device name&lt;/LI&gt;&lt;LI&gt;Manufacturer model&lt;/LI&gt;&lt;LI&gt;Date expire&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Unit Price&lt;/STRONG&gt; table:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Manufacturer model&lt;/LI&gt;&lt;LI&gt;Unit Price&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I am trying to create New Measure, which will be counting &lt;U&gt;Total Price&lt;/U&gt; = &lt;U&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;[Count_of Man.Model]&lt;/U&gt; * &lt;U&gt;&lt;STRONG&gt;Unit Price&lt;/STRONG&gt;[Unit Price]&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I have placed simple &lt;U&gt;Table visual&lt;/U&gt; in my report with filter by &lt;U&gt;Date expire&lt;/U&gt; and I need above Measure to be recalculated every time, when filter changes&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 06:40:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Total-price-from-two-tables/m-p/1527850#M29946</guid>
      <dc:creator>Salauat</dc:creator>
      <dc:date>2020-12-02T06:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: DAX: Total price from two tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Total-price-from-two-tables/m-p/1528654#M29957</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="273720" data-lia-user-login="Salauat" class="lia-mention lia-mention-user"&gt;Salauat&lt;/a&gt; , if there is one to many relation then you can try like&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Total Price&lt;/U&gt; =sum( &lt;U&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;[Count_of Man.Model]&lt;/U&gt; )* maxx(&lt;U&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/U&gt;, related(&lt;U&gt;&lt;STRONG&gt;Unit Price&lt;/STRONG&gt;[Unit Price]))&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;else refer these ways to copy value from one table to another : &lt;A href="https://www.youtube.com/watch?v=czNHt7UXIe8" target="_blank"&gt;https://www.youtube.com/watch?v=czNHt7UXIe8&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 11:59:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Total-price-from-two-tables/m-p/1528654#M29957</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-12-02T11:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: DAX: Total price from two tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Total-price-from-two-tables/m-p/1530053#M30005</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;Thank you, the correct formula that worked for me is below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Total = &lt;/SPAN&gt;&lt;SPAN&gt;SUM(&lt;U&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;[Count_of Man.Model]&lt;/U&gt;&amp;nbsp;)* counta(&lt;U&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/U&gt;, related(&lt;U&gt;&lt;STRONG&gt;Unit Price&lt;/STRONG&gt;[Unit Price])&lt;/U&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Dec 2020 05:16:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Total-price-from-two-tables/m-p/1530053#M30005</guid>
      <dc:creator>Salauat</dc:creator>
      <dc:date>2020-12-03T05:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: DAX: Total price from two tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Total-price-from-two-tables/m-p/1530652#M30019</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;Seems the formula you provided is not calculating the total correctly.&lt;/P&gt;&lt;P&gt;It multiplies Count * Unit_Price, but the overall rows total is not correct, it's way too huge&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 09:26:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Total-price-from-two-tables/m-p/1530652#M30019</guid>
      <dc:creator>Salauat</dc:creator>
      <dc:date>2020-12-03T09:26:20Z</dc:date>
    </item>
  </channel>
</rss>

