<?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 with DAX to deduct data from two tables based on ID&amp;amp; Date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-deduct-data-from-two-tables-based-on-ID-amp/m-p/2775355#M86626</link>
    <description>&lt;P&gt;Please provide sanitized sample data that fully covers your issue. &lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 17 Sep 2022 19:27:55 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2022-09-17T19:27:55Z</dc:date>
    <item>
      <title>Help with DAX to deduct data from two tables based on ID&amp; Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-deduct-data-from-two-tables-based-on-ID-amp/m-p/2773551#M86455</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have two tables:&lt;/P&gt;&lt;P&gt;- Annual Plans with columns: project_id, employee_id, Date&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Leaves with columns: employee_id, Date&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no direct relatinoship between tables. Both have realtion to Calendar table and ID employee table.&lt;/P&gt;&lt;P&gt;I am counting&amp;nbsp;&lt;SPAN&gt;DISTINCTCOUNT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Annual_Plans&lt;/SPAN&gt;&lt;SPAN&gt;[employee_id]&lt;/SPAN&gt;&lt;SPAN&gt;) - to see number of employees,&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I need to see number of employees dedecuted by those who are on break (Leaves), so Annual Plans - Leaves per project id.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;It needs to be sth like: If dates and employee_id from two tables equals then deduct Annuals Plans - Leave.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I would be gratefull for tips how to do it in DAX.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:45:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-deduct-data-from-two-tables-based-on-ID-amp/m-p/2773551#M86455</guid>
      <dc:creator>PiotrCalka</dc:creator>
      <dc:date>2022-09-16T12:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX to deduct data from two tables based on ID&amp; Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-deduct-data-from-two-tables-based-on-ID-amp/m-p/2775355#M86626</link>
      <description>&lt;P&gt;Please provide sanitized sample data that fully covers your issue. &lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 19:27:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-deduct-data-from-two-tables-based-on-ID-amp/m-p/2775355#M86626</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-09-17T19:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX to deduct data from two tables based on ID&amp; Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-deduct-data-from-two-tables-based-on-ID-amp/m-p/2775434#M86630</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443021" data-lia-user-login="PiotrCalka" class="lia-mention lia-mention-user"&gt;PiotrCalka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;P&gt;=&lt;BR /&gt;COUNTROWS (&lt;BR /&gt;EXCEPT ( VALUES ( Annual_Plans[employee_id] ), VALUES ( Leaves[employee_id] ) )&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 20:58:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-deduct-data-from-two-tables-based-on-ID-amp/m-p/2775434#M86630</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-17T20:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX to deduct data from two tables based on ID&amp; Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-deduct-data-from-two-tables-based-on-ID-amp/m-p/2776359#M86695</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="443021" data-lia-user-login="PiotrCalka" class="lia-mention lia-mention-user"&gt;PiotrCalka&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Could you please provide more details? Your pbix file without privacy inforamtion and desired output with screenshots.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Community Support Team _ Polly&lt;BR /&gt;&lt;BR /&gt;If this post helps, then 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;</description>
      <pubDate>Mon, 19 Sep 2022 02:33:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-deduct-data-from-two-tables-based-on-ID-amp/m-p/2776359#M86695</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-19T02:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help with DAX to deduct data from two tables based on ID&amp; Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-deduct-data-from-two-tables-based-on-ID-amp/m-p/2777161#M86724</link>
      <description>&lt;P&gt;Thank you all,&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;this work as I wanted.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 09:25:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-DAX-to-deduct-data-from-two-tables-based-on-ID-amp/m-p/2777161#M86724</guid>
      <dc:creator>PiotrCalka</dc:creator>
      <dc:date>2022-09-19T09:25:54Z</dc:date>
    </item>
  </channel>
</rss>

