<?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 Counting number direct reports and the number of all reports in an organisation's hierarchy in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/1758105#M36747</link>
    <description>&lt;P&gt;I've seen a few posts regarding the count of the number of child items in a hierarchy, but I'd like to take this a stage further.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a simple table with the employee name, employee_ID, supervisor name and supervisorID, as per figure 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Figure 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to be able to summarise the number of &lt;STRONG&gt;direct reports&lt;/STRONG&gt; and the number of &lt;STRONG&gt;all the reports&lt;/STRONG&gt; for an employee, so the data I want to calc is in Figure 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Figure 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;and the org chart is as per figure3&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Figure 3.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally need to to create these as calculated columns in the table, rather than measures, as depending on the number of "all reports" I need to create a new column in the table.&amp;nbsp; Note that the IDs are textual in this instance.&amp;nbsp; For a full soln obviously I'd love measures aswell &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A link to the example files can be found &lt;A href="https://1drv.ms/u/s!AoTVCKDbj8EAjc9A4RMq2QCw4JFQbw?e=gfvbFI" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp; Ben.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Mar 2021 16:51:08 GMT</pubDate>
    <dc:creator>benhoward00</dc:creator>
    <dc:date>2021-03-31T16:51:08Z</dc:date>
    <item>
      <title>Counting number direct reports and the number of all reports in an organisation's hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/1758105#M36747</link>
      <description>&lt;P&gt;I've seen a few posts regarding the count of the number of child items in a hierarchy, but I'd like to take this a stage further.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a simple table with the employee name, employee_ID, supervisor name and supervisorID, as per figure 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Figure 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to be able to summarise the number of &lt;STRONG&gt;direct reports&lt;/STRONG&gt; and the number of &lt;STRONG&gt;all the reports&lt;/STRONG&gt; for an employee, so the data I want to calc is in Figure 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Figure 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;and the org chart is as per figure3&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Figure 3.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally need to to create these as calculated columns in the table, rather than measures, as depending on the number of "all reports" I need to create a new column in the table.&amp;nbsp; Note that the IDs are textual in this instance.&amp;nbsp; For a full soln obviously I'd love measures aswell &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A link to the example files can be found &lt;A href="https://1drv.ms/u/s!AoTVCKDbj8EAjc9A4RMq2QCw4JFQbw?e=gfvbFI" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp; Ben.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 16:51:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/1758105#M36747</guid>
      <dc:creator>benhoward00</dc:creator>
      <dc:date>2021-03-31T16:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Counting number direct reports and the number of all reports in an organisation's hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/1758343#M36753</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="216187" data-lia-user-login="benhoward00" class="lia-mention lia-mention-user"&gt;benhoward00&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes you can certainly created calculated columns for &lt;STRONG&gt;# directs&lt;/STRONG&gt; and &lt;STRONG&gt;# all&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Since you have a parent-child hierarchy, you can make use of the handy PATH function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. To make the PATH function work, any blank SupervisorID values need to be replaced with null values (rather than the empty string). I did this by replacing "" with null in Power Query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Create an &lt;STRONG&gt;Employees[Employee Path]&lt;/STRONG&gt; calculated column:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Employee Path = 
PATH ( Employees[EmployeeID], Employees[SupervisorID] )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The PATH function in this case returns an ordered, vertical bar-delimited list of Employee ID values in the "path" from top-level to a given employee, e.g. for Janet the path is "0001|0003|0002"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Create &lt;STRONG&gt;Employees[# directs]&lt;/STRONG&gt; and &lt;STRONG&gt;Employees[# all]&lt;/STRONG&gt; calculated columns:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;# directs = 
VAR CurrentEmployeeID = Employees[EmployeeID]
RETURN
CALCULATE ( 
    COUNTROWS ( Employees ),
    ALL ( Employees ),
    Employees[SupervisorID] = CurrentEmployeeID
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;# all = 
VAR CurrentEmployeeID = Employees[EmployeeID]
RETURN
CALCULATE ( 
    COUNTROWS ( Employees ),
    ALL ( Employees ),
    PATHCONTAINS ( Employees[Employee Path], CurrentEmployeeID ),
    Employees[EmployeeID] &amp;lt;&amp;gt; CurrentEmployeeID
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The logic for &lt;STRONG&gt;# directs&lt;/STRONG&gt; is that all direct reports must have the current row's EmployeeID as their SupervisorID.&lt;/P&gt;
&lt;P&gt;The logic for &lt;STRONG&gt;# all&lt;/STRONG&gt; is that a given EmployeeID appears in the path of all that employee's direct/indirect reports, and we just have to exclude that EmployeeID itself to get the correct count.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Updated PBIX attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Owen&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 22:35:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/1758343#M36753</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2021-03-31T22:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Counting number direct reports and the number of all reports in an organisation's hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/1767665#M36980</link>
      <description>&lt;P&gt;Thanks Owen, works a treat, I appreciate the help.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 09:58:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/1767665#M36980</guid>
      <dc:creator>benhoward00</dc:creator>
      <dc:date>2021-04-06T09:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Counting number direct reports and the number of all reports in an organisation's hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/2523173#M70455</link>
      <description>&lt;P&gt;This is a further step to counting the number of all the reports. I am trying to add a filter to the original dataset and I want the count to change dynamically. For example, out of these 8 employees, 5 have participated in a survey which is aimed to understand the impact of an application (Impact = Low, Medium and High). If I add a slicer for Impact, and I select Medium, I want the count of all the reports for those employees who have responded to the survey as Medium&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 11:34:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/2523173#M70455</guid>
      <dc:creator>big_pall</dc:creator>
      <dc:date>2022-05-18T11:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Counting number direct reports and the number of all reports in an organisation's hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/2523285#M70462</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="391167" data-lia-user-login="big_pall" class="lia-mention lia-mention-user"&gt;big_pall&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, that should be possible &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just to clarify the requirements, if you filter on a given set of employees as you've described, do you want to count the combined pool of employees who report (directly or indirectly) to any of the filtered employees?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, in the diagram below, if we filtered on the four "red" employees, would we want to count the 11 "green" employees?&lt;/P&gt;
&lt;P&gt;In this example, the red and green groups overlap.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Owen&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 12:18:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/2523285#M70462</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2022-05-18T12:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Counting number direct reports and the number of all reports in an organisation's hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/2523365#M70465</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6799" data-lia-user-login="OwenAuger" class="lia-mention lia-mention-user"&gt;OwenAuger&lt;/a&gt;&amp;nbsp;for such quick response!&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your diagram, I am assuming that the "reds" have participated in the survey out of all the employees in the tree structure and all the "reds" have selected "Medium".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, if I apply filter as "Medium", I want the count of all reports (direct or indirect) who have selected "Medium" in the survey. In your example, count of all reports for Cesar = 2(including himself), Drew = 1, Josh = 1(including himself), Hannibal = 4, Mary = 4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this makes sense! Please let me know if you need more details.&lt;/P&gt;&lt;P&gt;Best wishes,&lt;/P&gt;&lt;P&gt;Sandy&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 12:51:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/2523365#M70465</guid>
      <dc:creator>big_pall</dc:creator>
      <dc:date>2022-05-18T12:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Counting number direct reports and the number of all reports in an organisation's hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/2526508#M70662</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="391167" data-lia-user-login="big_pall" class="lia-mention lia-mention-user"&gt;big_pall&lt;/a&gt;&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;That clarifies things - I had misunderstood originally.&lt;/P&gt;
&lt;P&gt;And yes, I had intended the "reds" were those with Impact = Medium that were filtered.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just restating what we want to calculate to make sure:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;First, we will apply a filter on the survey results (e.g. Impact = Medium) to give us a set of "Employees filtered by Survey Results"&lt;/LI&gt;
&lt;LI&gt;Second, we will filter on a particular Employee from the hierarchy, and count the number of "Employees filtered by Survey Results" who fall under that Employee, or who are that same Employee&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;The tricky thing when writing this calculation is that we want to filter on the survey results (Low, Medium or High) at the same time as filtering on a particular Empoloyee from the hierarchy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached a PBIX with a suggested solution.&lt;/P&gt;
&lt;P&gt;To make it work, I suggest:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create an &lt;STRONG&gt;Employee&lt;/STRONG&gt; dimension table, containing &lt;STRONG&gt;EmployeeID, SupervisorID, Employee Name&lt;/STRONG&gt;, and a calculated column &lt;STRONG&gt;Employee Path&lt;/STRONG&gt;.&lt;BR /&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;&lt;SPAN&gt;Employee Path = &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#000080"&gt;&lt;SPAN&gt;PATH&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;Employee[EmployeeID]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Employee[SupervisorID]&lt;/SPAN&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;Create a &lt;STRONG&gt;Survey&lt;/STRONG&gt; table which contains at least &lt;STRONG&gt;EmployeeID&lt;/STRONG&gt; and &lt;STRONG&gt;Impact&lt;/STRONG&gt;, and relates to the Employee table on the &lt;STRONG&gt;EmployeeID&lt;/STRONG&gt; column.&lt;/LI&gt;
&lt;LI&gt;Create the below measure:&lt;/LI&gt;
&lt;/OL&gt;
&lt;LI-CODE lang="markup"&gt;Count of Reports under selected employee(s) based on Survey Filter = 
-- For each Employee currently filtered in the Survey table
-- (ignoring filters on the Employee table)
-- retrieve the Employee Path
VAR SurveyEmployeesPath =
    CALCULATETABLE (
        SUMMARIZE ( Survey, Employee[Employee Path] ),
        REMOVEFILTERS ( Employee )
    )
-- Get list of Employees currently visible in Employee table
VAR VisibleEmployees =
    VALUES ( Employee[EmployeeID] )
-- Filter SurveyEmployee paths to those that contain at least one
-- visible employee
VAR SurveyEmployeesUnderVisibleEmployees =
    FILTER (
        SurveyEmployeesPath,
        NOT ISEMPTY (
            FILTER ( VisibleEmployees, PATHCONTAINS ( Employee[Employee Path], Employee[EmployeeID] ) )
        )
    )
-- Count SurveyEmployees that meet the criteria
VAR Result =
    COUNTROWS ( SurveyEmployeesUnderVisibleEmployees )
RETURN
    Result&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In summary, this measure:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Grabs the Employee Path for each Employee in the Survey table (subject to the Impact filter, but ignoring filters from the Employee table).&lt;/LI&gt;
&lt;LI&gt;Filters those Employee Paths to just those containing the currently filtered Employee(s) from the Employee table.&lt;/LI&gt;
&lt;LI&gt;Counts the resulting Employee Paths.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The result in my sample PBIX looks like this. If we filter on Impact = Medium, then the measure counts the Employees with Impact = Medium who are at or below a given Employee in the hierarchy. So, for example, Mary's result is 4 and Cesar's result is 2.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;It's a little more complicated than I anticipated but this seems to work.&lt;/P&gt;
&lt;P&gt;Is this what you were expecting, and does something like this work in your model?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Owen&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 12:54:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/2526508#M70662</guid>
      <dc:creator>OwenAuger</dc:creator>
      <dc:date>2022-05-19T12:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Counting number direct reports and the number of all reports in an organisation's hierarchy</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/2535719#M71253</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6799" data-lia-user-login="OwenAuger" class="lia-mention lia-mention-user"&gt;OwenAuger&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I had to tweak some table connections and manipulate the column measure, but the count measure works as expected. Thats a good news&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all the support. This community is growing pretty fast because of folks like yourself. Really appreciate your efforts. Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes,&lt;/P&gt;&lt;P&gt;Sandesh&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 09:38:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Counting-number-direct-reports-and-the-number-of-all-reports-in/m-p/2535719#M71253</guid>
      <dc:creator>big_pall</dc:creator>
      <dc:date>2022-05-24T09:38:57Z</dc:date>
    </item>
  </channel>
</rss>

