<?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: Index Column Groupby() and currentgroup() in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Index-Column-Groupby-and-currentgroup/m-p/3380529#M127353</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="601936" data-lia-user-login="Samuel7265" class="lia-mention lia-mention-user"&gt;Samuel7265&lt;/a&gt;&amp;nbsp;I am not familiar with your model, if it is simply like your example with 2 columns, possible solution could be&amp;nbsp; measeure&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Index Test = &lt;/SPAN&gt;&lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Sheet1 (2)'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Replace&amp;nbsp;&lt;SPAN&gt;Sheet1 (2) with your table name. Hope this help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Aug 2023 11:52:43 GMT</pubDate>
    <dc:creator>some_bih</dc:creator>
    <dc:date>2023-08-15T11:52:43Z</dc:date>
    <item>
      <title>Index Column Groupby() and currentgroup()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Index-Column-Groupby-and-currentgroup/m-p/3379060#M127288</link>
      <description>&lt;P&gt;Hi all, i have a table with the columns ID and Category.&amp;nbsp; The goal is to create a new table that lists the IDs, and an index of the number of categorys an ID had in its lifetime.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ID / Category&amp;nbsp;&lt;/P&gt;&lt;P&gt;00001 / SWF Info&lt;/P&gt;&lt;P&gt;00001 / Response FOMA&lt;/P&gt;&lt;P&gt;00001 / Creditreform&lt;/P&gt;&lt;P&gt;00001 / Legal IKU&lt;/P&gt;&lt;P&gt;00001 / Bankcrupcy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Desiered Result should be:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ID / Index&lt;/P&gt;&lt;P&gt;00001 / 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this&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>Mon, 14 Aug 2023 13:16:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Index-Column-Groupby-and-currentgroup/m-p/3379060#M127288</guid>
      <dc:creator>Samuel7265</dc:creator>
      <dc:date>2023-08-14T13:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Index Column Groupby() and currentgroup()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Index-Column-Groupby-and-currentgroup/m-p/3380151#M127335</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="601936" data-lia-user-login="Samuel7265" class="lia-mention lia-mention-user"&gt;Samuel7265&lt;/a&gt;&amp;nbsp;It seems you need to&amp;nbsp; use DISTINCTCOUNT function over your column Category?&lt;/P&gt;&lt;P&gt;Check link below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Did I answer your question? Mark my post as a solution! Kudos Appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/distinctcount-function-dax?WT.mc_id=DP-MVP-4025372" target="_self"&gt;https://learn.microsoft.com/en-us/dax/distinctcount-function-dax?WT.mc_id=DP-MVP-4025372&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 05:55:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Index-Column-Groupby-and-currentgroup/m-p/3380151#M127335</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-08-15T05:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Index Column Groupby() and currentgroup()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Index-Column-Groupby-and-currentgroup/m-p/3380366#M127347</link>
      <description>&lt;P&gt;Thanks for your answer. DISTINCTCOUNT cant be used in the context of GROUPBY().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 09:13:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Index-Column-Groupby-and-currentgroup/m-p/3380366#M127347</guid>
      <dc:creator>Samuel7265</dc:creator>
      <dc:date>2023-08-15T09:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Index Column Groupby() and currentgroup()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Index-Column-Groupby-and-currentgroup/m-p/3380529#M127353</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="601936" data-lia-user-login="Samuel7265" class="lia-mention lia-mention-user"&gt;Samuel7265&lt;/a&gt;&amp;nbsp;I am not familiar with your model, if it is simply like your example with 2 columns, possible solution could be&amp;nbsp; measeure&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Index Test = &lt;/SPAN&gt;&lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Sheet1 (2)'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Replace&amp;nbsp;&lt;SPAN&gt;Sheet1 (2) with your table name. Hope this help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 11:52:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Index-Column-Groupby-and-currentgroup/m-p/3380529#M127353</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-08-15T11:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Index Column Groupby() and currentgroup()</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Index-Column-Groupby-and-currentgroup/m-p/3381936#M127430</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="601936" data-lia-user-login="Samuel7265" class="lia-mention lia-mention-user"&gt;Samuel7265&lt;/a&gt;&amp;nbsp;If this is solution, please accept it so other member of community could use it. Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 05:15:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Index-Column-Groupby-and-currentgroup/m-p/3381936#M127430</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-08-16T05:15:49Z</dc:date>
    </item>
  </channel>
</rss>

