<?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: Multiplication measure total does not match with the values in the table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplication-measure-total-does-not-match-with-the-values-in/m-p/989294#M12250</link>
    <description>&lt;P&gt;You might try altering the measure :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PriceImpactMeasure = SUMX('Table',[Price diff]*[Quantity2019])&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 24 Mar 2020 16:08:52 GMT</pubDate>
    <dc:creator>HotChilli</dc:creator>
    <dc:date>2020-03-24T16:08:52Z</dc:date>
    <item>
      <title>Multiplication measure total does not match with the values in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplication-measure-total-does-not-match-with-the-values-in/m-p/989272#M12248</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to calculate a price impact for a Price Volume Mix model. I have prepared a &lt;A href="https://easyupload.io/9o3pj2" target="_self"&gt;sample file&lt;/A&gt; to show you what I am trying to achieve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At row level, I am getting the correct result. At total level, it is not summing up the row level results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Here, Price impact totals 13,653.73 while it should be 1,330.59.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to have a correct total amount, whatever dimension I am showing (Country, Cost Range and Product).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I achieve that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 15:36:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplication-measure-total-does-not-match-with-the-values-in/m-p/989272#M12248</guid>
      <dc:creator>jopezzo</dc:creator>
      <dc:date>2020-03-24T15:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplication measure total does not match with the values in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplication-measure-total-does-not-match-with-the-values-in/m-p/989294#M12250</link>
      <description>&lt;P&gt;You might try altering the measure :&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PriceImpactMeasure = SUMX('Table',[Price diff]*[Quantity2019])&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 24 Mar 2020 16:08:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplication-measure-total-does-not-match-with-the-values-in/m-p/989294#M12250</guid>
      <dc:creator>HotChilli</dc:creator>
      <dc:date>2020-03-24T16:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplication measure total does not match with the values in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplication-measure-total-does-not-match-with-the-values-in/m-p/989692#M12268</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="81111" data-lia-user-login="HotChilli" class="lia-mention lia-mention-user"&gt;HotChilli&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the measure you suggested, the total matches with the sum of the results at row level. However, it is not consistent with the data in the rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;For example, for Brazil, I would expect to have Price diff * Quantity 2019 = 249.17 * 46 = 15,697.72. With the suggested measure, I get 873. 91 instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need is the results in column "Price Impact", but with the correct total (in this case, 2,355.35), not 1,330.59.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 21:16:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplication-measure-total-does-not-match-with-the-values-in/m-p/989692#M12268</guid>
      <dc:creator>jopezzo</dc:creator>
      <dc:date>2020-03-24T21:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplication measure total does not match with the values in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplication-measure-total-does-not-match-with-the-values-in/m-p/991408#M12322</link>
      <description>&lt;P&gt;Check the attached solution thoroughly. It works for your case but you should check it in other configurations of filters.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 16:12:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplication-measure-total-does-not-match-with-the-values-in/m-p/991408#M12322</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-25T16:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplication measure total does not match with the values in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplication-measure-total-does-not-match-with-the-values-in/m-p/991411#M12323</link>
      <description>By the way, your original table should be removed. I left it only because I wanted to see the calculations.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Wed, 25 Mar 2020 16:13:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplication-measure-total-does-not-match-with-the-values-in/m-p/991411#M12323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-25T16:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplication measure total does not match with the values in the table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplication-measure-total-does-not-match-with-the-values-in/m-p/991420#M12326</link>
      <description>&lt;P&gt;I'll try that and revert to you. Thanks for your time! I appreciate.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 16:18:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Multiplication-measure-total-does-not-match-with-the-values-in/m-p/991420#M12326</guid>
      <dc:creator>jopezzo</dc:creator>
      <dc:date>2020-03-25T16:18:15Z</dc:date>
    </item>
  </channel>
</rss>

