<?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: How Many Records that the Date is in This Week in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2041594#M45849</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;change that&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;all('Table')&lt;/STRONG&gt;&amp;nbsp;to &lt;STRONG&gt;ALLEXCEPT&lt;/STRONG&gt;(&lt;STRONG&gt;'Table','Table'[Zone Name],'Table'[Driver Region]) &lt;/STRONG&gt;and test those slicers&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Appreciate your Kudos&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;img /&gt;&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;!!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Aug 2021 00:13:57 GMT</pubDate>
    <dc:creator>VahidDM</dc:creator>
    <dc:date>2021-08-27T00:13:57Z</dc:date>
    <item>
      <title>How Many Records that the Date is in This Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2039595#M45769</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have a data like the below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is what I would like to achieve in Power BI&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Driver Created is simple, it's just a count of driver_id&lt;/P&gt;&lt;P&gt;But I am struggling to figure out on how to create a measure to count the records in column E "First Job Date" that are in between column C "Week Starting Created" and column D "Week Ending Created"&lt;/P&gt;&lt;P&gt;Really appreciate if someone can help me.&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ary&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 07:12:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2039595#M45769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-26T07:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: How Many Records that the Date is in This Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2039763#M45771</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this measure and add it to your table:&lt;/P&gt;&lt;P&gt;Started first job = calculate(&lt;SPAN&gt;COUNTROWS('Table'),filter(all('Table'),'Table'[&lt;SPAN&gt;First Job Date]&amp;gt;=max('Table'[Week Starting Created]&amp;amp;&amp;amp;'Table'[First Job Date]&amp;lt;=max('Table'[Week Ending&amp;nbsp;Created]))))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Add it to the table&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Appreciate your Kudos&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;img /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;!!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 08:15:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2039763#M45771</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-08-26T08:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: How Many Records that the Date is in This Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2040091#M45784</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="315278" data-lia-user-login="VahidDM" class="lia-mention lia-mention-user"&gt;VahidDM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Works like a charm.&lt;/P&gt;&lt;P&gt;I have slicers in this report.&lt;/P&gt;&lt;P&gt;Slicer fields are "Zone Name" and "Driver Region"&lt;/P&gt;&lt;P&gt;These 2 fields sit under the same table.&lt;/P&gt;&lt;P&gt;Is there a way to make the measure to not ignore the slicer selection?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ary&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 09:49:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2040091#M45784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-26T09:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: How Many Records that the Date is in This Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2040433#M45797</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Yes, change that&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;all('Table')&lt;/STRONG&gt; to&amp;nbsp;&lt;STRONG&gt;'Table'&lt;/STRONG&gt; in the measure I shared before and try it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Appreciate your Kudos&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;img /&gt;&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;!!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 12:42:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2040433#M45797</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-08-26T12:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: How Many Records that the Date is in This Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2041552#M45846</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="315278" data-lia-user-login="VahidDM" class="lia-mention lia-mention-user"&gt;VahidDM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently after removing ALL, the result is now filtered to the row level of the report (Week Starting Created).&lt;/P&gt;&lt;P&gt;See below the red box is without ALL, the first one was reduced from 36 to 21 because the result is now filtered to Week Starting Created of 23rd August.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 23:15:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2041552#M45846</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-26T23:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: How Many Records that the Date is in This Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2041594#M45849</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;change that&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;all('Table')&lt;/STRONG&gt;&amp;nbsp;to &lt;STRONG&gt;ALLEXCEPT&lt;/STRONG&gt;(&lt;STRONG&gt;'Table','Table'[Zone Name],'Table'[Driver Region]) &lt;/STRONG&gt;and test those slicers&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Appreciate your Kudos&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;img /&gt;&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;!!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 00:13:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2041594#M45849</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-08-27T00:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: How Many Records that the Date is in This Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2041596#M45850</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="315278" data-lia-user-login="VahidDM" class="lia-mention lia-mention-user"&gt;VahidDM&lt;/a&gt;&amp;nbsp;Thank you so much for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 00:23:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-Many-Records-that-the-Date-is-in-This-Week/m-p/2041596#M45850</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-27T00:23:57Z</dc:date>
    </item>
  </channel>
</rss>

