<?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 creation date per customer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-creation-date-per-customer/m-p/3728398#M145262</link>
    <description>&lt;P&gt;Hi,&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;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/index-function-dax?wt.mc_id=DP-MVP-5004989" target="_blank"&gt;INDEX function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;First Date CC =
SELECTCOLUMNS (
    INDEX (
        1,
        SUMMARIZE ( Data, Data[CustomerGroup], Data[CreationDate] ),
        ORDERBY ( Data[CreationDate], ASC ),
        ,
        PARTITIONBY ( Data[CustomerGroup] ),
        MATCHBY ( Data[CustomerGroup], Data[CreationDate] )
    ),
    Data[CreationDate]
)
&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 27 Feb 2024 17:56:44 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2024-02-27T17:56:44Z</dc:date>
    <item>
      <title>First creation date per customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-creation-date-per-customer/m-p/3728328#M145256</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one simple table with two columns:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- one column for the customergroup name&lt;/P&gt;&lt;P&gt;-one column showing when that customer group was created&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A customer group can have multiple customers. That's the reason why we have multiple creation dates per customer group. I would like to create a dax that shows the first date of creation per customer group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example: CustomerGroup1 has 3 dates but the first one was created the 1/01/2021 and therefore, I want to see that date shown up in a new column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 17:19:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-creation-date-per-customer/m-p/3728328#M145256</guid>
      <dc:creator>Tarek78210</dc:creator>
      <dc:date>2024-02-27T17:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: First creation date per customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-creation-date-per-customer/m-p/3728398#M145262</link>
      <description>&lt;P&gt;Hi,&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;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/index-function-dax?wt.mc_id=DP-MVP-5004989" target="_blank"&gt;INDEX function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;First Date CC =
SELECTCOLUMNS (
    INDEX (
        1,
        SUMMARIZE ( Data, Data[CustomerGroup], Data[CreationDate] ),
        ORDERBY ( Data[CreationDate], ASC ),
        ,
        PARTITIONBY ( Data[CustomerGroup] ),
        MATCHBY ( Data[CustomerGroup], Data[CreationDate] )
    ),
    Data[CreationDate]
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 27 Feb 2024 17:56:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-creation-date-per-customer/m-p/3728398#M145262</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2024-02-27T17:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: First creation date per customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-creation-date-per-customer/m-p/3728426#M145263</link>
      <description>&lt;P&gt;Thanks very much. Is it a column measure or DAX measure? Ideally, I would like a measure I can create as a new column&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 18:17:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-creation-date-per-customer/m-p/3728426#M145263</guid>
      <dc:creator>Tarek78210</dc:creator>
      <dc:date>2024-02-27T18:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: First creation date per customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-creation-date-per-customer/m-p/3728500#M145267</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The suggestion that I provided was a calculated column, not a measure.&lt;/P&gt;
&lt;P&gt;For creating a measure, please check the below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;First Date measure =
CALCULATE (
    MIN ( Data[CreationDate] ),
    INDEX (
        1,
        SUMMARIZE ( Data, Data[CustomerGroup], Data[CreationDate] ),
        ORDERBY ( Data[CreationDate], ASC )
    )
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 27 Feb 2024 18:58:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-creation-date-per-customer/m-p/3728500#M145267</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2024-02-27T18:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: First creation date per customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-creation-date-per-customer/m-p/3728516#M145269</link>
      <description>&lt;P&gt;Thanks. For your information, I am on Power Pivot, not Power BI. For some reasons, all the formulas don't appear in the predictive text. For example: Selectedcolumns appear but not the Index function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is your formula working with the Power Pivot environment?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 19:08:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/First-creation-date-per-customer/m-p/3728516#M145269</guid>
      <dc:creator>Tarek78210</dc:creator>
      <dc:date>2024-02-27T19:08:23Z</dc:date>
    </item>
  </channel>
</rss>

