<?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 need help with dax based on dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-with-dax-based-on-dates/m-p/4120522#M163592</link>
    <description>&lt;P&gt;hello i need some help. i have a colum with order-dates now i need a formule that shows me if someone placed a order for the first time its a "new costumer" if the customer placed a second order then they will be a "KNow customer"&lt;BR /&gt;&lt;BR /&gt;so i need a formule based on my "Order-dates" how many New customers there are. in the screenshot you will see my data model&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, 27 Aug 2024 10:26:04 GMT</pubDate>
    <dc:creator>Krijgersss</dc:creator>
    <dc:date>2024-08-27T10:26:04Z</dc:date>
    <item>
      <title>need help with dax based on dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-with-dax-based-on-dates/m-p/4120522#M163592</link>
      <description>&lt;P&gt;hello i need some help. i have a colum with order-dates now i need a formule that shows me if someone placed a order for the first time its a "new costumer" if the customer placed a second order then they will be a "KNow customer"&lt;BR /&gt;&lt;BR /&gt;so i need a formule based on my "Order-dates" how many New customers there are. in the screenshot you will see my data model&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, 27 Aug 2024 10:26:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-with-dax-based-on-dates/m-p/4120522#M163592</guid>
      <dc:creator>Krijgersss</dc:creator>
      <dc:date>2024-08-27T10:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: need help with dax based on dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-with-dax-based-on-dates/m-p/4120556#M163594</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="650918" data-lia-user-login="Krijgersss" class="lia-mention lia-mention-user"&gt;Krijgersss&lt;/a&gt;&amp;nbsp;,&amp;nbsp;Create a Calculated Column to Identify the First Order Date for Each Customer:&lt;/P&gt;
&lt;P&gt;FirstOrderDate = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;MIN('Orders'[OrderDate]),&lt;BR /&gt;ALLEXCEPT('Orders', 'Orders'[CustomerID])&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a Calculated Column to Determine if the Order is the First Order:&lt;/P&gt;
&lt;P&gt;IsFirstOrder = &lt;BR /&gt;IF(&lt;BR /&gt;'Orders'[OrderDate] = 'Orders'[FirstOrderDate],&lt;BR /&gt;"New Customer",&lt;BR /&gt;"Known Customer"&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a Measure to Count the Number of New Customers:&lt;/P&gt;
&lt;P&gt;NewCustomerCount = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;DISTINCTCOUNT('Orders'[CustomerID]),&lt;BR /&gt;'Orders'[IsFirstOrder] = "New Customer"&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a Measure to Count the Number of Known Customers:&lt;/P&gt;
&lt;P&gt;KnownCustomerCount = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;DISTINCTCOUNT('Orders'[CustomerID]),&lt;BR /&gt;'Orders'[IsFirstOrder] = "Known Customer"&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 10:44:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/need-help-with-dax-based-on-dates/m-p/4120556#M163594</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-08-27T10:44:33Z</dc:date>
    </item>
  </channel>
</rss>

