<?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 dax find number from given week range in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-find-number-from-given-week-range/m-p/4347958#M172698</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Hi im so sorry for my english&amp;nbsp;&lt;BR /&gt;how can I know how many people not recive 2 off day, 1 off day or not get any off day&amp;nbsp; base on given range&amp;nbsp;&lt;BR /&gt;column workday 1= workday , 0 =offday&amp;nbsp;&amp;nbsp;&lt;BR /&gt;thank you alot&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2025 03:06:59 GMT</pubDate>
    <dc:creator>matus_jun</dc:creator>
    <dc:date>2025-01-02T03:06:59Z</dc:date>
    <item>
      <title>dax find number from given week range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-find-number-from-given-week-range/m-p/4347958#M172698</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Hi im so sorry for my english&amp;nbsp;&lt;BR /&gt;how can I know how many people not recive 2 off day, 1 off day or not get any off day&amp;nbsp; base on given range&amp;nbsp;&lt;BR /&gt;column workday 1= workday , 0 =offday&amp;nbsp;&amp;nbsp;&lt;BR /&gt;thank you alot&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 03:06:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-find-number-from-given-week-range/m-p/4347958#M172698</guid>
      <dc:creator>matus_jun</dc:creator>
      <dc:date>2025-01-02T03:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: dax find number from given week range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-find-number-from-given-week-range/m-p/4348031#M172700</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="905626" data-lia-user-login="matus_jun" class="lia-mention lia-mention-user"&gt;matus_jun&lt;/a&gt;&amp;nbsp; Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EmployeesNotReceiving2OffDays = 
CALCULATE(
    DISTINCTCOUNT('Table'[employee_id ]),
    FILTER(
        ADDCOLUMNS(
            SUMMARIZE('Table', 'Table'[employee_id ]),
            "OffDaysCount", 
            CALCULATE(
                COUNT('Table'[workday]),
                'Table'[workday] = 0
            )
        ),
        [OffDaysCount] &amp;lt;&amp;gt; 2
    )
)


EmployeesNotReceiving1OffDays = 
CALCULATE(
    DISTINCTCOUNT('Table'[employee_id ]),
    FILTER(
        ADDCOLUMNS(
            SUMMARIZE('Table', 'Table'[employee_id ]),
            "OffDaysCount", 
            CALCULATE(
                COUNT('Table'[workday]),
                'Table'[workday] = 0
            )
        ),
        [OffDaysCount] &amp;lt;&amp;gt; 1
    )
)



EmployeesNotReceivinganyOffDays = 
CALCULATE(
    DISTINCTCOUNT('Table'[employee_id ]),
    FILTER(
        ADDCOLUMNS(
            SUMMARIZE('Table', 'Table'[employee_id ]),
            "OffDaysCount", 
            CALCULATE(
                COUNT('Table'[workday]),
                'Table'[workday] = 0
            )
        ),
        [OffDaysCount] = 0
    )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!!&lt;/P&gt;&lt;P&gt;If this solved your problem, please accept it as a solution and a kudos!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Shahariar Hafiz&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 05:00:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-find-number-from-given-week-range/m-p/4348031#M172700</guid>
      <dc:creator>shafiz_p</dc:creator>
      <dc:date>2025-01-02T05:00:10Z</dc:date>
    </item>
  </channel>
</rss>

