<?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 create an increment counter column based on how many entries a same person submit in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-an-increment-counter-column-based-on-how-many/m-p/2782295#M87084</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your interest to help me with this. However, I found out that my idea to use a counter is not a suitable approach for me to cater to the user requirement that I am trying to solve.&lt;BR /&gt;&lt;BR /&gt;I could not share the pbix file since it is company confidential. However I have a new question instead which is more specific to what is the actual problem I am facing now. You can go to the link below to view my question and I hope you can suggest your method there. TQ in advance! This is the link:&lt;BR /&gt;&lt;A title="How to count rows based on two conditions simultaneously" href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-count-rows-based-on-two-conditions-simultaneously-in/m-p/2779370#M86931" target="_self"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-count-rows-based-on-two-conditions-simultaneously-in/m-p/2779370#M86931&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 01:11:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-09-21T01:11:47Z</dc:date>
    <item>
      <title>How to create an increment counter column based on how many entries a same person submit</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-an-increment-counter-column-based-on-how-many/m-p/2779097#M86910</link>
      <description>&lt;P&gt;Hi everyone. Can somebody help me? I am a beginner at Power BI.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The scenario is I have a table that stores data of entries submitted by employees. I want to create a column that counts incrementally whenever the same person submits an entry. The example that I want is as below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;STAFF NAME&lt;/TD&gt;&lt;TD&gt;COUNTER COLUMN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Hanis&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Hanis&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Faiz&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Amira&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Hanis&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Syafiq&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Faiz&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As you can see above, when 'Hanis' submit her first entry ever, the counter starts with one. Then when she submit more entry, the counter increments. The same goes for 'Faiz'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody help me to create this counter column? TQ in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 02:06:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-an-increment-counter-column-based-on-how-many/m-p/2779097#M86910</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-20T02:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an increment counter column based on how many entries a same person submit</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-an-increment-counter-column-based-on-how-many/m-p/2779183#M86917</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I assume the table contains something like lognumber column or logdate column to identify the difference of the sampe person's each row.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;It is for creating a new column.&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;LI-CODE lang="markup"&gt;Counter column CC = 
CALCULATE (
    COUNTROWS ( DISTINCT ( Data[LogNumber] ) ),
    FILTER (
        Data,
        Data[STAFF NAME] = EARLIER ( Data[STAFF NAME] )
            &amp;amp;&amp;amp; Data[LogNumber] &amp;lt;= EARLIER ( Data[LogNumber] )
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 02:47:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-an-increment-counter-column-based-on-how-many/m-p/2779183#M86917</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-09-20T02:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an increment counter column based on how many entries a same person submit</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-an-increment-counter-column-based-on-how-many/m-p/2779333#M86929</link>
      <description>&lt;P&gt;hi there, thank you so much for your reply. I believe this could be a solution but since I don't have the log number column in my table, I could not proceed with this. I tried to add the LogNumber column first but unfortunately, the PQ says that I don't have credentials or something like that. I'm not sure what is the problem but thank you anyways for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 05:14:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-an-increment-counter-column-based-on-how-many/m-p/2779333#M86929</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-20T05:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an increment counter column based on how many entries a same person submit</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-an-increment-counter-column-based-on-how-many/m-p/2779833#M86956</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your feedback.&lt;/P&gt;
&lt;P&gt;Please share your pbix file's link (Onedrive, googledrive, dropbox, any other) here, and then I can try to look into it to come up with a more accurate solution.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 08:05:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-an-increment-counter-column-based-on-how-many/m-p/2779833#M86956</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-09-20T08:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an increment counter column based on how many entries a same person submit</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-an-increment-counter-column-based-on-how-many/m-p/2782295#M87084</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your interest to help me with this. However, I found out that my idea to use a counter is not a suitable approach for me to cater to the user requirement that I am trying to solve.&lt;BR /&gt;&lt;BR /&gt;I could not share the pbix file since it is company confidential. However I have a new question instead which is more specific to what is the actual problem I am facing now. You can go to the link below to view my question and I hope you can suggest your method there. TQ in advance! This is the link:&lt;BR /&gt;&lt;A title="How to count rows based on two conditions simultaneously" href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-count-rows-based-on-two-conditions-simultaneously-in/m-p/2779370#M86931" target="_self"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/How-to-count-rows-based-on-two-conditions-simultaneously-in/m-p/2779370#M86931&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 01:11:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-an-increment-counter-column-based-on-how-many/m-p/2782295#M87084</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-21T01:11:47Z</dc:date>
    </item>
  </channel>
</rss>

