<?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: How to progressively count values in a column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-progressively-count-values-in-a-column/m-p/3230918#M118549</link>
    <description>&lt;P&gt;That worked like a charm thank you FreemanZ &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If you have the time would you be able to explain how this works, im not too familiar with the EARLIER function and would like to get some more understanding on the functions in the formula&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 13:38:13 GMT</pubDate>
    <dc:creator>AshleyJ17</dc:creator>
    <dc:date>2023-05-11T13:38:13Z</dc:date>
    <item>
      <title>How to progressively count values in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-progressively-count-values-in-a-column/m-p/3230658#M118525</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After some help with the sample data i have below, i have a column called Reference and want to add a new column which counts how many occurences cumulatively within the data, for example '1472321-2860846' shows up 3 times in the reference column so what i would like is for Power Bi to show that it occurs 3 times but show the 1st instance, 2nd Instance and 3rd Instance if that makes sense, have done a bit of googling and searching this forum but so far havent found a solution&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoping this communintiy can help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advanced&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Ash&lt;BR /&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>Thu, 11 May 2023 11:23:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-progressively-count-values-in-a-column/m-p/3230658#M118525</guid>
      <dc:creator>AshleyJ17</dc:creator>
      <dc:date>2023-05-11T11:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to progressively count values in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-progressively-count-values-in-a-column/m-p/3230880#M118543</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="559008" data-lia-user-login="AshleyJ17" class="lia-mention lia-mention-user"&gt;AshleyJ17&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try to&lt;/P&gt;&lt;P&gt;1) add an index column and make it like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-query/add-index-column" target="_blank"&gt;https://learn.microsoft.com/en-us/power-query/add-index-column&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2) add a calculated column like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CumCount = 
COUNTROWS(
    FILTER(
        data,
        data[Reference]=EARLIER(data[Reference])
            &amp;amp;&amp;amp;data[Index]&amp;lt;=EARLIER(data[Index])
    )
)&lt;/LI-CODE&gt;&lt;P&gt;it worked like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 13:13:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-progressively-count-values-in-a-column/m-p/3230880#M118543</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-05-11T13:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to progressively count values in a column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-progressively-count-values-in-a-column/m-p/3230918#M118549</link>
      <description>&lt;P&gt;That worked like a charm thank you FreemanZ &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If you have the time would you be able to explain how this works, im not too familiar with the EARLIER function and would like to get some more understanding on the functions in the formula&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 13:38:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-progressively-count-values-in-a-column/m-p/3230918#M118549</guid>
      <dc:creator>AshleyJ17</dc:creator>
      <dc:date>2023-05-11T13:38:13Z</dc:date>
    </item>
  </channel>
</rss>

