<?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: when adding meassurement it  gives me the average and not the sum in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/when-adding-meassurement-it-gives-me-the-average-and-not-the-sum/m-p/3342486#M125468</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your datamodel looks like, but please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;&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;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Piecio Material MIN = 
SUMX (
    VALUES ( Data[Description] ),
    CALCULATE ( MIN ( Data[Precio Material] ) )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Yield SUM = 
SUM( Data[Yield] )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CXI material MIN =
SUMX (
    VALUES ( Data[Description] ),
    DIVIDE ( [Piecio Material MIN], [Yield SUM] )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2023 04:42:05 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2023-07-21T04:42:05Z</dc:date>
    <item>
      <title>when adding meassurement it  gives me the average and not the sum</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/when-adding-meassurement-it-gives-me-the-average-and-not-the-sum/m-p/3341986#M125457</link>
      <description>&lt;P&gt;Hi,&amp;nbsp; i have a Meassure called " CXI Material MN" this is generad from the division of the 2 colums of a table. What I require is the sum of that messure but&amp;nbsp; what results is an average.&lt;/P&gt;&lt;P&gt;The result shoul be $0.171 and not $0.043&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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;Greetings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 00:17:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/when-adding-meassurement-it-gives-me-the-average-and-not-the-sum/m-p/3341986#M125457</guid>
      <dc:creator>ChecoFloresC</dc:creator>
      <dc:date>2023-07-21T00:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: when adding meassurement it  gives me the average and not the sum</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/when-adding-meassurement-it-gives-me-the-average-and-not-the-sum/m-p/3342486#M125468</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how your datamodel looks like, but please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;&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;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Piecio Material MIN = 
SUMX (
    VALUES ( Data[Description] ),
    CALCULATE ( MIN ( Data[Precio Material] ) )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Yield SUM = 
SUM( Data[Yield] )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CXI material MIN =
SUMX (
    VALUES ( Data[Description] ),
    DIVIDE ( [Piecio Material MIN], [Yield SUM] )
)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 04:42:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/when-adding-meassurement-it-gives-me-the-average-and-not-the-sum/m-p/3342486#M125468</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2023-07-21T04:42:05Z</dc:date>
    </item>
  </channel>
</rss>

