<?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: Getting count per category in one column using data in another column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-count-per-category-in-one-column-using-data-in-another/m-p/3819565#M149377</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="571744" data-lia-user-login="kk_shp_user" class="lia-mention lia-mention-user"&gt;kk_shp_user&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would be helpful if you present the results that you got.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2024 12:19:57 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2024-04-08T12:19:57Z</dc:date>
    <item>
      <title>Getting count per category in one column using data in another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-count-per-category-in-one-column-using-data-in-another/m-p/3817118#M149282</link>
      <description>&lt;P&gt;Edit: Simplified my example and description to make it easier to understand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data like below. The table contains employees and managers. Managers are also present as employee records.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to calculate the no. of emps per manager title. I am trying to populate the below table visual and am having a challenge in getting the highlighted value.&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;</description>
      <pubDate>Mon, 08 Apr 2024 11:33:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-count-per-category-in-one-column-using-data-in-another/m-p/3817118#M149282</guid>
      <dc:creator>kk_shp_user</dc:creator>
      <dc:date>2024-04-08T11:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Getting count per category in one column using data in another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-count-per-category-in-one-column-using-data-in-another/m-p/3817124#M149284</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="571744" data-lia-user-login="kk_shp_user" class="lia-mention lia-mention-user"&gt;kk_shp_user&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try using TREATAS&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Total_Emps_at_Title =&lt;BR /&gt;CALCULATE (&lt;BR /&gt;COUNTROWS ( 'Table' ),&lt;BR /&gt;TREATAS ( VALUES ( 'Table'[recruiter_title] ), 'Table'[emp_title] )&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Sun, 07 Apr 2024 20:52:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-count-per-category-in-one-column-using-data-in-another/m-p/3817124#M149284</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2024-04-07T20:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Getting count per category in one column using data in another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-count-per-category-in-one-column-using-data-in-another/m-p/3819228#M149369</link>
      <description>&lt;P&gt;Thanks for yourt reply but the solution did not get the expected result.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 11:30:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-count-per-category-in-one-column-using-data-in-another/m-p/3819228#M149369</guid>
      <dc:creator>kk_shp_user</dc:creator>
      <dc:date>2024-04-08T11:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting count per category in one column using data in another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-count-per-category-in-one-column-using-data-in-another/m-p/3819565#M149377</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="571744" data-lia-user-login="kk_shp_user" class="lia-mention lia-mention-user"&gt;kk_shp_user&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would be helpful if you present the results that you got.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 12:19:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-count-per-category-in-one-column-using-data-in-another/m-p/3819565#M149377</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2024-04-08T12:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting count per category in one column using data in another column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-count-per-category-in-one-column-using-data-in-another/m-p/3819832#M149383</link>
      <description>&lt;P&gt;Apologies, its sensistive data hence posted an exmaple.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That said, than you so much. I got it to work using TREATAS() like you mentioned. I was using a measure inside the calculate and so had to add the ALLEXCEPT condition to remove ther filters affecting the measure and the TREATAS worked as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 13:06:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Getting-count-per-category-in-one-column-using-data-in-another/m-p/3819832#M149383</guid>
      <dc:creator>kk_shp_user</dc:creator>
      <dc:date>2024-04-08T13:06:42Z</dc:date>
    </item>
  </channel>
</rss>

