<?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: Calculated Columns totaling in Matrix in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Columns-totaling-in-Matrix/m-p/2780613#M86993</link>
    <description>&lt;P&gt;I was able to solve my issue -thank you all.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 12:06:44 GMT</pubDate>
    <dc:creator>ctedesco3307</dc:creator>
    <dc:date>2022-09-20T12:06:44Z</dc:date>
    <item>
      <title>Calculated Columns totaling in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Columns-totaling-in-Matrix/m-p/2771049#M86276</link>
      <description>&lt;P&gt;Hey All – I need help creating a measure that will give me the right totals&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table that has Projects and then Project roles underneath&lt;/P&gt;&lt;P&gt;It has the total Working days in the contract (Max of ContractDays)&lt;/P&gt;&lt;P&gt;Each role has a rate&lt;/P&gt;&lt;P&gt;The Max of ContractRoleHours are the total hours in the contract&lt;/P&gt;&lt;P&gt;The Max of HrsPerDay &amp;nbsp;is Max of ContractRoleHours / Max of ContractDays&lt;/P&gt;&lt;P&gt;The TotHoursPerDay is Max of HrsPerDay &amp;nbsp;* Max of ContractDays&lt;/P&gt;&lt;P&gt;The TotDailyValue is Max of HrsPerDay &amp;nbsp;* Rate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TotHrsPerDay Should = Max of ContractRoleHours. It does for some but not all. I know there are some filter and sum special logic needed in calculating some totals in matrix sometimes, but this is fairly straight forward and I used calculated columns for these values, so I thought it would work. I’m stuck on why it works for some and not all, (And also need to make it work &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&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;</description>
      <pubDate>Thu, 15 Sep 2022 16:40:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Columns-totaling-in-Matrix/m-p/2771049#M86276</guid>
      <dc:creator>ctedesco3307</dc:creator>
      <dc:date>2022-09-15T16:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Columns totaling in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Columns-totaling-in-Matrix/m-p/2771117#M86279</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="331333" data-lia-user-login="ctedesco3307" class="lia-mention lia-mention-user"&gt;ctedesco3307&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I couldn't see where it works. However, in general you can do&lt;/P&gt;
&lt;P&gt;SUMX (&lt;/P&gt;
&lt;P&gt;SUMMARIZE ( 'Table', [Column1], [Column2] ),&lt;/P&gt;
&lt;P&gt;CALCULATE (&amp;nbsp;&lt;EM&gt;the max aggregation&amp;nbsp;&lt;/EM&gt;)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;where Column1 and Column2 are the columns placed in the rows of the matrix&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 16:35:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Columns-totaling-in-Matrix/m-p/2771117#M86279</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-15T16:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Columns totaling in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Columns-totaling-in-Matrix/m-p/2780307#M86976</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="331333" data-lia-user-login="ctedesco3307" class="lia-mention lia-mention-user"&gt;ctedesco3307&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has your problem been solved? If solved, please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Yadong Fang&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 09:56:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Columns-totaling-in-Matrix/m-p/2780307#M86976</guid>
      <dc:creator>v-yadongf-msft</dc:creator>
      <dc:date>2022-09-20T09:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Columns totaling in Matrix</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Columns-totaling-in-Matrix/m-p/2780613#M86993</link>
      <description>&lt;P&gt;I was able to solve my issue -thank you all.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 12:06:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Columns-totaling-in-Matrix/m-p/2780613#M86993</guid>
      <dc:creator>ctedesco3307</dc:creator>
      <dc:date>2022-09-20T12:06:44Z</dc:date>
    </item>
  </channel>
</rss>

