<?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: Column values multiplying in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-values-multiplying/m-p/3230768#M118530</link>
    <description>&lt;P&gt;Hello STRUSINIO,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're using the right function (SUMX) but it looks like your understanding of the functions is incorrect. Hopefully &lt;A href="https://dax.guide/sumx/" target="_self"&gt;this documentation&lt;/A&gt; helps your understanding. Anyway, try the below instead.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Result = SUMX ( 'Table', 'Table'[Sales] * 'Table'[Shares] )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;----------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 12:13:56 GMT</pubDate>
    <dc:creator>Wilson_</dc:creator>
    <dc:date>2023-05-11T12:13:56Z</dc:date>
    <item>
      <title>Column values multiplying</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-values-multiplying/m-p/3230575#M118521</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;I got single data table like bellow:&amp;nbsp;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;What im trying to do is to get result assigned to ID by sum of multiplication columns Sales by Shares&lt;BR /&gt;material no 1 = 100 * 0.25&lt;BR /&gt;material no 2 = 0 * 0.50&lt;BR /&gt;material no 3 = 200 * 0.25&lt;BR /&gt;Sumof this multiplication should be equal to 75 for ID 123,&lt;BR /&gt;In my visual while presenting data including material column, all looks fine&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;but then after taking out Material column my calculated measure is combining the results:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;the measure im using:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Result = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sumx&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Sales]&lt;/SPAN&gt;&lt;SPAN&gt;) * &lt;/SPAN&gt;&lt;SPAN&gt;SUMX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Shares]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;BR /&gt;&lt;BR /&gt;Is there any way to filter out the data to get the results aggregated correctly on ID level?&lt;BR /&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 10:36:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-values-multiplying/m-p/3230575#M118521</guid>
      <dc:creator>STRUSINIO</dc:creator>
      <dc:date>2023-05-11T10:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Column values multiplying</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-values-multiplying/m-p/3230768#M118530</link>
      <description>&lt;P&gt;Hello STRUSINIO,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're using the right function (SUMX) but it looks like your understanding of the functions is incorrect. Hopefully &lt;A href="https://dax.guide/sumx/" target="_self"&gt;this documentation&lt;/A&gt; helps your understanding. Anyway, try the below instead.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Result = SUMX ( 'Table', 'Table'[Sales] * 'Table'[Shares] )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;----------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 12:13:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Column-values-multiplying/m-p/3230768#M118530</guid>
      <dc:creator>Wilson_</dc:creator>
      <dc:date>2023-05-11T12:13:56Z</dc:date>
    </item>
  </channel>
</rss>

