<?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 SUM of measure not matching in Matrix in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUM-of-measure-not-matching-in-Matrix/m-p/1055919#M14553</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have working hours informations in two different tables which are connected to each other. The greater values are the correct ones, I made an IF DAX command to take out the greater sum values of the 2 tables and visulize it in a Matrix.&amp;nbsp;&lt;/P&gt;&lt;P&gt;HOURS1=&amp;nbsp;&lt;SPAN&gt;SUM(RX_Export_All[DURATION])*24&amp;nbsp; &amp;nbsp;"*24 because of the format of the values in table 1, converting it in hours)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;HOURS2=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;HOURS2 = SUM(Intelmec[DURATION])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;HOURS=&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;if(SUM(RX_Export_All[DURATION])*24&amp;gt;SUM(Intelmec[DURATION]);SUM(RX_Export_All[DURATION])*24;SUM(Intelmec[DURATION]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The measure for HOURS is extracting correctly the data, however the sum of that measure showed in the Matrix is not taking into consideration the sum of the single values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sum should be 9.935,25 instead 9.466,75.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Wed, 29 Apr 2020 09:21:58 GMT</pubDate>
    <dc:creator>ITManuel</dc:creator>
    <dc:date>2020-04-29T09:21:58Z</dc:date>
    <item>
      <title>SUM of measure not matching in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUM-of-measure-not-matching-in-Matrix/m-p/1055919#M14553</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have working hours informations in two different tables which are connected to each other. The greater values are the correct ones, I made an IF DAX command to take out the greater sum values of the 2 tables and visulize it in a Matrix.&amp;nbsp;&lt;/P&gt;&lt;P&gt;HOURS1=&amp;nbsp;&lt;SPAN&gt;SUM(RX_Export_All[DURATION])*24&amp;nbsp; &amp;nbsp;"*24 because of the format of the values in table 1, converting it in hours)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;HOURS2=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;HOURS2 = SUM(Intelmec[DURATION])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;HOURS=&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;if(SUM(RX_Export_All[DURATION])*24&amp;gt;SUM(Intelmec[DURATION]);SUM(RX_Export_All[DURATION])*24;SUM(Intelmec[DURATION]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The measure for HOURS is extracting correctly the data, however the sum of that measure showed in the Matrix is not taking into consideration the sum of the single values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sum should be 9.935,25 instead 9.466,75.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 09:21:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUM-of-measure-not-matching-in-Matrix/m-p/1055919#M14553</guid>
      <dc:creator>ITManuel</dc:creator>
      <dc:date>2020-04-29T09:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: SUM of measure not matching in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUM-of-measure-not-matching-in-Matrix/m-p/1056492#M14577</link>
      <description>If the calculation is correct on the project level, then you have to iterate through visible projects and sum up their values.&lt;BR /&gt;&lt;BR /&gt;SUMX(&lt;BR /&gt;	Projects,&lt;BR /&gt;	&amp;lt;your measure here&amp;gt;&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;If the calculation should be performed on a different level than "project", then you have to iterate this very level.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Wed, 29 Apr 2020 12:57:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUM-of-measure-not-matching-in-Matrix/m-p/1056492#M14577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-29T12:57:20Z</dc:date>
    </item>
  </channel>
</rss>

