<?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: First Occurrence : Duplicate in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-Occurrence-Duplicate/m-p/2783348#M87145</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the solution. However I need based on mutli condition(Attached)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/16GGRyF-rcAgT2icFFTKgBRqujjFE8hum/view?usp=sharing" target="_self"&gt;Sample Data&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandrashekar B&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 09:12:58 GMT</pubDate>
    <dc:creator>Chandrashekar</dc:creator>
    <dc:date>2022-09-21T09:12:58Z</dc:date>
    <item>
      <title>First Occurrence : Duplicate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-Occurrence-Duplicate/m-p/2782925#M87121</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to get first occurrence from duplicate based on multi conditions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandrashekar B&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 06:53:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-Occurrence-Duplicate/m-p/2782925#M87121</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2022-09-21T06:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: First Occurrence : Duplicate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-Occurrence-Duplicate/m-p/2783230#M87141</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I do not know what is your expected outcome and how your data model looks like, but I tried to create a sample like below.&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attahced 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;First occurrence flag CC = 
IF (
    Data[Index]
        = MINX (
            FILTER ( Data, Data[Category] = EARLIER ( Data[Category] ) ),
            Data[Index]
        ),
    "FLAG"
)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 21 Sep 2022 08:35:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-Occurrence-Duplicate/m-p/2783230#M87141</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-09-21T08:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: First Occurrence : Duplicate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-Occurrence-Duplicate/m-p/2783348#M87145</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the solution. However I need based on mutli condition(Attached)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/16GGRyF-rcAgT2icFFTKgBRqujjFE8hum/view?usp=sharing" target="_self"&gt;Sample Data&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandrashekar B&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 09:12:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-Occurrence-Duplicate/m-p/2783348#M87145</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2022-09-21T09:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: First Occurrence : Duplicate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-Occurrence-Duplicate/m-p/2783390#M87146</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to add one more condition i.e. field(2nd Condition) = 1 to existing dax.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May I know how to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandrashekar B&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 09:26:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-Occurrence-Duplicate/m-p/2783390#M87146</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2022-09-21T09:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: First Occurrence : Duplicate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-Occurrence-Duplicate/m-p/2785759#M87307</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I add one more condition in Dax formula. i.e.&amp;nbsp;&lt;SPAN&gt;field(2nd Condition) = 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;First occurrence flag CC = 
IF (
    Data[Index]
        = MINX (
            FILTER ( Data, Data[Category] = EARLIER ( Data[Category] ) ),
            Data[Index]
        ),
    "FLAG"
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandrashekar B&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 05:26:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-Occurrence-Duplicate/m-p/2785759#M87307</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2022-09-22T05:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: First Occurrence : Duplicate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-Occurrence-Duplicate/m-p/2795291#M87815</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandrashekar B&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 07:08:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-Occurrence-Duplicate/m-p/2795291#M87815</guid>
      <dc:creator>Chandrashekar</dc:creator>
      <dc:date>2022-09-26T07:08:52Z</dc:date>
    </item>
  </channel>
</rss>

