<?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 by person by category: New column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-by-person-by-category-New-column/m-p/2868493#M92489</link>
    <description>&lt;P&gt;I need to create a column that calculates the sum of responses received by faculty member per college. An example of the data set is below with the &lt;STRONG&gt;Total Received per faculty/college&lt;/STRONG&gt;&amp;nbsp;being the column that I am trying to calculate with DAX:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Person&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;College&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Survey&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Received&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Total Received per faculty/college&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Faculty A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Medicine&amp;nbsp; &amp;nbsp; XXXXXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;25&lt;/P&gt;&lt;P&gt;Faculty A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Medicine&amp;nbsp; &amp;nbsp; XXXXXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;15&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 25&lt;/P&gt;&lt;P&gt;Faculty B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dental&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XXXXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;30&lt;/P&gt;&lt;P&gt;Faculty B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dental&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XXXXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;30&lt;/P&gt;&lt;P&gt;Faculty B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Nursing&amp;nbsp; &amp;nbsp; &amp;nbsp; XXXXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 15&lt;/P&gt;&lt;P&gt;Faculty B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Nursing&amp;nbsp; &amp;nbsp; &amp;nbsp; XXXXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I thought I only needed total received by faculty, the dax below worked great:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Total by faculty= CALCULATE (SUM('Table'[# Received]), ALLEXCEPT ('Table', 'Table'[person])) worked great&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But then I realized that there are some faculty who teach at multiple colleges and I needed the new column to reflect total received per faculty per college. Any help is appreciated.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2022 15:13:17 GMT</pubDate>
    <dc:creator>ARLYS6</dc:creator>
    <dc:date>2022-10-27T15:13:17Z</dc:date>
    <item>
      <title>Sum by person by category: New column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-by-person-by-category-New-column/m-p/2868493#M92489</link>
      <description>&lt;P&gt;I need to create a column that calculates the sum of responses received by faculty member per college. An example of the data set is below with the &lt;STRONG&gt;Total Received per faculty/college&lt;/STRONG&gt;&amp;nbsp;being the column that I am trying to calculate with DAX:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Person&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;College&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Survey&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Received&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Total Received per faculty/college&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Faculty A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Medicine&amp;nbsp; &amp;nbsp; XXXXXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;25&lt;/P&gt;&lt;P&gt;Faculty A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Medicine&amp;nbsp; &amp;nbsp; XXXXXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;15&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 25&lt;/P&gt;&lt;P&gt;Faculty B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dental&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XXXXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;30&lt;/P&gt;&lt;P&gt;Faculty B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dental&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XXXXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;30&lt;/P&gt;&lt;P&gt;Faculty B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Nursing&amp;nbsp; &amp;nbsp; &amp;nbsp; XXXXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 15&lt;/P&gt;&lt;P&gt;Faculty B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Nursing&amp;nbsp; &amp;nbsp; &amp;nbsp; XXXXX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I thought I only needed total received by faculty, the dax below worked great:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Total by faculty= CALCULATE (SUM('Table'[# Received]), ALLEXCEPT ('Table', 'Table'[person])) worked great&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But then I realized that there are some faculty who teach at multiple colleges and I needed the new column to reflect total received per faculty per college. Any help is appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 15:13:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-by-person-by-category-New-column/m-p/2868493#M92489</guid>
      <dc:creator>ARLYS6</dc:creator>
      <dc:date>2022-10-27T15:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by person by category: New column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-by-person-by-category-New-column/m-p/2868689#M92497</link>
      <description>&lt;P&gt;You can modify your code slightly to add college to the ALLEXCEPT&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total by faculty =
CALCULATE (
    SUM ( 'Table'[# Received] ),
    ALLEXCEPT ( 'Table', 'Table'[person], 'Table'[College] )
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 27 Oct 2022 16:10:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-by-person-by-category-New-column/m-p/2868689#M92497</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-10-27T16:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sum by person by category: New column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-by-person-by-category-New-column/m-p/2871517#M92671</link>
      <description>&lt;P&gt;Thank you! I wasn't expecting it to be that easy.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 17:35:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sum-by-person-by-category-New-column/m-p/2871517#M92671</guid>
      <dc:creator>ARLYS6</dc:creator>
      <dc:date>2022-10-28T17:35:01Z</dc:date>
    </item>
  </channel>
</rss>

