<?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: Count of users in the organization in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-users-in-the-organization/m-p/2021947#M45083</link>
    <description>&lt;P&gt;To the best of my knowledge, I don't think it's possible to do so through measures or calculated columns. However, if you say that your problem is not having access to Power Query, you can bypass that by creating a summary table by clicking on New Table and using this DAX.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Summary table = 
SUMMARIZE(
    'Table',
    'Table'[Organization],
    "Count",
    COUNT('Table'[User])
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;In this way you can get the table obtained in step 3 of my original solution without having to use Power Query. Then you can proceed like we did in the original solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Aug 2021 19:42:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-08-17T19:42:46Z</dc:date>
    <item>
      <title>Count of users in the organization</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-users-in-the-organization/m-p/2021648#M45065</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a table like below:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;User&lt;/TD&gt;&lt;TD&g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lt;/TD&gt;&lt;TD&gt;F&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;q&lt;/TD&gt;&lt;TD&gt;F&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;r&lt;/TD&gt;&lt;TD&gt;F&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;S&lt;/TD&gt;&lt;TD&gt;F&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a pie chart to count the&lt;/P&gt;&lt;P&gt;Number of organizations with 1 user&lt;/P&gt;&lt;P&gt;Number of organizations with 2-3 user&lt;/P&gt;&lt;P&gt;Number of organizations with more than 3 users, like below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 16:32:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-users-in-the-organization/m-p/2021648#M45065</guid>
      <dc:creator>ArashZ</dc:creator>
      <dc:date>2021-08-17T16:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Count of users in the organization</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-users-in-the-organization/m-p/2021750#M45069</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="290199" data-lia-user-login="ArashZ" class="lia-mention lia-mention-user"&gt;ArashZ&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)Go to Power Query editor and right click on the organization column and click 'Group By' as shown below:&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Choose these settings and click OK.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) You'll get a table like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) Now click on close and apply:&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;5) Now create a calculated column like this using this DAX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count Bucket = 
SWITCH(
    TRUE(),
    'Table'[Count] &amp;gt; 3,"Number of organizations with more than 3 users",
    'Table'[Count] &amp;gt;1,"Number of organizations with 2-3 users",
    "Number of organizations with 1 user"
)&lt;/LI-CODE&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;Set the Summarization of Count to "Don't summarize".&lt;/P&gt;&lt;P&gt;6) Now plot the values in this way :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the required solution as requested.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Link to this .pbix file :&lt;/P&gt;&lt;P&gt;&lt;A href="https://nicesoftwaresolutions1-my.sharepoint.com/:u:/g/personal/ameshram_nicesoftwaresolutions_com/EewXIBwcpbxDmjZC_ChsCCgBXv3o1anbTwufleZJGoxzCQ?e=ZEbc5X" target="_blank" rel="noopener"&gt;https://nicesoftwaresolutions1-my.sharepoint.com/:u:/g/personal/ameshram_nicesoftwaresolutions_com/EewXIBwcpbxDmjZC_ChsCCgBXv3o1anbTwufleZJGoxzCQ?e=ZEbc5X&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 17:31:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-users-in-the-organization/m-p/2021750#M45069</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-17T17:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Count of users in the organization</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-users-in-the-organization/m-p/2021773#M45070</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the answer. However, would it be possible to create a measure or calculated column, instead of using power Query? I don't have access to power query and prefer using measures or columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 17:38:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-users-in-the-organization/m-p/2021773#M45070</guid>
      <dc:creator>ArashZ</dc:creator>
      <dc:date>2021-08-17T17:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Count of users in the organization</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-users-in-the-organization/m-p/2021947#M45083</link>
      <description>&lt;P&gt;To the best of my knowledge, I don't think it's possible to do so through measures or calculated columns. However, if you say that your problem is not having access to Power Query, you can bypass that by creating a summary table by clicking on New Table and using this DAX.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Summary table = 
SUMMARIZE(
    'Table',
    'Table'[Organization],
    "Count",
    COUNT('Table'[User])
)&lt;/LI-CODE&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;In this way you can get the table obtained in step 3 of my original solution without having to use Power Query. Then you can proceed like we did in the original solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 19:42:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-users-in-the-organization/m-p/2021947#M45083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-17T19:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Count of users in the organization</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-users-in-the-organization/m-p/2021970#M45087</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/a&gt; Thanks. But I don't want to create a physical table. Is there a way to calculate a table on the fly for this?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 20:01:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Count-of-users-in-the-organization/m-p/2021970#M45087</guid>
      <dc:creator>ArashZ</dc:creator>
      <dc:date>2021-08-17T20:01:23Z</dc:date>
    </item>
  </channel>
</rss>

