<?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: Filter column values based on 2 other columns in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Filter-column-values-based-on-2-other-columns/m-p/211643#M6679</link>
    <description>&lt;P&gt;Hey Prakash could you explain to me how the Earlier function works in this scenario?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jul 2017 01:37:14 GMT</pubDate>
    <dc:creator>pierre415</dc:creator>
    <dc:date>2017-07-14T01:37:14Z</dc:date>
    <item>
      <title>Filter column values based on 2 other columns</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-column-values-based-on-2-other-columns/m-p/208424#M6593</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="19885920_1441659535925600_796141086_o[1].jpg" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/49213i7D100A4B2F3CAF63/image-size/large?v=v2&amp;amp;px=999" role="button" title="19885920_1441659535925600_796141086_o[1].jpg" alt="19885920_1441659535925600_796141086_o[1].jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hey folks,&lt;/P&gt;&lt;P&gt;I'm trying to create a column like the one to the right in the picture, where every line is a project and I need to add up everyone's work days YTD. If say, two projects have the same month and same person then only one would need to count to the YTD workdays. Any idea how to do this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 01:37:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-column-values-based-on-2-other-columns/m-p/208424#M6593</guid>
      <dc:creator>pierre415</dc:creator>
      <dc:date>2017-07-10T01:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Filter column values based on 2 other columns</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-column-values-based-on-2-other-columns/m-p/208477#M6595</link>
      <description>&lt;P&gt;Hello Pierre,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There could be better method but this DAX also works if you have a unique field the data set:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Distinct WD =&lt;BR /&gt;IF (&lt;BR /&gt;CALCULATE (&lt;BR /&gt;COUNTROWS ( Table1 ),&lt;BR /&gt;ALLEXCEPT ( Table1, Table1[Name], Table1[Date] ),&lt;BR /&gt;EARLIER ( Table1[Id] ) &amp;gt;= Table1[Id]&lt;BR /&gt;)&lt;BR /&gt;= 1,&lt;BR /&gt;[This Month],&lt;BR /&gt;0&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="distinct.png" style="width: 496px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/49220i249EE51F876C003D/image-size/large?v=v2&amp;amp;px=999" role="button" title="distinct.png" alt="distinct.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Prakash&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 04:39:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-column-values-based-on-2-other-columns/m-p/208477#M6595</guid>
      <dc:creator>prakash_gautam</dc:creator>
      <dc:date>2017-07-10T04:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Filter column values based on 2 other columns</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-column-values-based-on-2-other-columns/m-p/208562#M6598</link>
      <description>&lt;P&gt;Thanks man you're a legend&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 07:09:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-column-values-based-on-2-other-columns/m-p/208562#M6598</guid>
      <dc:creator>pierre415</dc:creator>
      <dc:date>2017-07-10T07:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Filter column values based on 2 other columns</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-column-values-based-on-2-other-columns/m-p/211643#M6679</link>
      <description>&lt;P&gt;Hey Prakash could you explain to me how the Earlier function works in this scenario?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 01:37:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-column-values-based-on-2-other-columns/m-p/211643#M6679</guid>
      <dc:creator>pierre415</dc:creator>
      <dc:date>2017-07-14T01:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Filter column values based on 2 other columns</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-column-values-based-on-2-other-columns/m-p/211795#M6687</link>
      <description>&lt;P&gt;Hello Pierre,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The AllEXCEPT gives the all rows of the table (for each Name and Date pair) and earlier gives the current row.&lt;BR /&gt;When we count all Id where Name and Date is equal AND current Id is &amp;gt;= all Id, we are left with the correct count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The &amp;gt;= might be confusing. Please see below MSDN link where earlier has been described in detail:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/" target="_self"&gt;https://msdn.microsoft.com/en-us/library/ee634551.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Prakash&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 06:05:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-column-values-based-on-2-other-columns/m-p/211795#M6687</guid>
      <dc:creator>prakash_gautam</dc:creator>
      <dc:date>2017-07-14T06:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Filter column values based on 2 other columns</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Filter-column-values-based-on-2-other-columns/m-p/211814#M6688</link>
      <description>&lt;P&gt;Awesome thanks Prakash!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 06:32:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Filter-column-values-based-on-2-other-columns/m-p/211814#M6688</guid>
      <dc:creator>pierre415</dc:creator>
      <dc:date>2017-07-14T06:32:54Z</dc:date>
    </item>
  </channel>
</rss>

