<?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: Help creating a measure to subtract the sum of hours from a unique row in another table. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-creating-a-measure-to-subtract-the-sum-of-hours-from-a/m-p/2326247#M58262</link>
    <description>&lt;P&gt;Thanks, the first measure I can get to work, the second, not so much.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example sake the tables are named "Project Hours" and "Available Hours" I am not sure how that relates to the second measure.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Feb 2022 18:05:32 GMT</pubDate>
    <dc:creator>KLGRIZZARD</dc:creator>
    <dc:date>2022-02-08T18:05:32Z</dc:date>
    <item>
      <title>Help creating a measure to subtract the sum of hours from a unique row in another table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-creating-a-measure-to-subtract-the-sum-of-hours-from-a/m-p/2326201#M58256</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to create a measure to perfrom the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The two tables below are linked by "User Name".&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;User Name&lt;/TD&gt;&lt;TD&gt;Project Name&lt;/TD&gt;&lt;TD&gt;Hours&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Tim&lt;/TD&gt;&lt;TD&gt;Project 1&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Tim&lt;/TD&gt;&lt;TD&gt;Project 2&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Paul&lt;/TD&gt;&lt;TD&gt;Project 3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Paul&lt;/TD&gt;&lt;TD&gt;Project 4&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Paul&lt;/TD&gt;&lt;TD&gt;Project 5&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;User Name&lt;/TD&gt;&lt;TD&gt;Available Hours&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Tim&lt;/TD&gt;&lt;TD&gt;32&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Paul&lt;/TD&gt;&lt;TD&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to have a display that calculates as such:&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;User Name&lt;/TD&gt;&lt;TD&gt;Used Hours&lt;/TD&gt;&lt;TD&gt;Remaining Available Hours&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Tim&lt;/TD&gt;&lt;TD&gt;14&lt;/TD&gt;&lt;TD&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Paul&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Essentially the sum of each persons used hours subtracted from thier available total listed in the other table. Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 17:23:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-creating-a-measure-to-subtract-the-sum-of-hours-from-a/m-p/2326201#M58256</guid>
      <dc:creator>KLGRIZZARD</dc:creator>
      <dc:date>2022-02-08T17:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating a measure to subtract the sum of hours from a unique row in another table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-creating-a-measure-to-subtract-the-sum-of-hours-from-a/m-p/2326207#M58257</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="357825" data-lia-user-login="KLGRIZZARD" class="lia-mention lia-mention-user"&gt;KLGRIZZARD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create two measure like below:-&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Used Hours = sum(user name[hours])	&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Remaining Available Hours = sum(table[available hours]) - sum(user name[hours])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samarth&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 17:27:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-creating-a-measure-to-subtract-the-sum-of-hours-from-a/m-p/2326207#M58257</guid>
      <dc:creator>Samarth_18</dc:creator>
      <dc:date>2022-02-08T17:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating a measure to subtract the sum of hours from a unique row in another table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-creating-a-measure-to-subtract-the-sum-of-hours-from-a/m-p/2326225#M58260</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="357825" data-lia-user-login="KLGRIZZARD" class="lia-mention lia-mention-user"&gt;KLGRIZZARD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Used Hours = SUM ( Table1[Hours] )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Remaining Available Hours =&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IF (&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; HASONEVALUE ( Table2[Available Hours] ),&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; VALUES (&amp;nbsp;Table2[Available Hours] ) - [Used Hours]&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then use a matrix visual - Table1or2[User Name] column at the rows and [Remaining Available Hours] measure at the values&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 17:41:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-creating-a-measure-to-subtract-the-sum-of-hours-from-a/m-p/2326225#M58260</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-02-08T17:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating a measure to subtract the sum of hours from a unique row in another table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-creating-a-measure-to-subtract-the-sum-of-hours-from-a/m-p/2326247#M58262</link>
      <description>&lt;P&gt;Thanks, the first measure I can get to work, the second, not so much.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example sake the tables are named "Project Hours" and "Available Hours" I am not sure how that relates to the second measure.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 18:05:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-creating-a-measure-to-subtract-the-sum-of-hours-from-a/m-p/2326247#M58262</guid>
      <dc:creator>KLGRIZZARD</dc:creator>
      <dc:date>2022-02-08T18:05:32Z</dc:date>
    </item>
  </channel>
</rss>

