<?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 Identify if the customer has duplicate accounts from different origin and if completed an order in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-if-the-customer-has-duplicate-accounts-from-different/m-p/3060232#M105703</link>
    <description>&lt;P&gt;Hello, Team.&lt;/P&gt;&lt;P&gt;I made a table in which I counted how many times a phone number appeared in the same column more than once. These customers signed up using the same phone number but from different origins. Ideally, we need to identify who these customers are, because a customer should only have one profile, regardless of origin. Also, we need to know who has multiple profiles and has completed at least one order on both origins.&lt;BR /&gt;&lt;BR /&gt;Customers table:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;The last column on the right is my desired output on Power Bi.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your help is much appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2023 11:49:32 GMT</pubDate>
    <dc:creator>Andrew_na_lang</dc:creator>
    <dc:date>2023-02-03T11:49:32Z</dc:date>
    <item>
      <title>Identify if the customer has duplicate accounts from different origin and if completed an order</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-if-the-customer-has-duplicate-accounts-from-different/m-p/3060232#M105703</link>
      <description>&lt;P&gt;Hello, Team.&lt;/P&gt;&lt;P&gt;I made a table in which I counted how many times a phone number appeared in the same column more than once. These customers signed up using the same phone number but from different origins. Ideally, we need to identify who these customers are, because a customer should only have one profile, regardless of origin. Also, we need to know who has multiple profiles and has completed at least one order on both origins.&lt;BR /&gt;&lt;BR /&gt;Customers table:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;The last column on the right is my desired output on Power Bi.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your help is much appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 11:49:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-if-the-customer-has-duplicate-accounts-from-different/m-p/3060232#M105703</guid>
      <dc:creator>Andrew_na_lang</dc:creator>
      <dc:date>2023-02-03T11:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Identify if the customer has duplicate accounts from different origin and if completed an order</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-if-the-customer-has-duplicate-accounts-from-different/m-p/3060284#M105711</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="364063" data-lia-user-login="Andrew_na_lang" class="lia-mention lia-mention-user"&gt;Andrew_na_lang&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please refer to attached sample file with the solution&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;PHONE NUMBER APPEARED MORE THAN ONCE = 
IF ( 
    COUNTROWS ( 
        CALCULATETABLE (
            'Table',
            ALLEXCEPT ( 'Table', 'Table'[Phone number =] )
        )
    ) &amp;gt; 1,
    "Y",
    "N"
)&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;NUMBER APPEARED TWICE and COMPLETED AN ORDER ON BOTH = 
IF (
    COUNTROWS ( 
        CALCULATETABLE ( 
            VALUES ( 'Table'[Origin] ),
            ALLEXCEPT ( 'Table', 'Table'[Phone number =] ),
            'Table'[TOTAL ORDER] &amp;lt;&amp;gt; BLANK ( )
        )
    ) &amp;gt; 1,
    "Y",
    "NO"
)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 03 Feb 2023 12:43:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Identify-if-the-customer-has-duplicate-accounts-from-different/m-p/3060284#M105711</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-03T12:43:03Z</dc:date>
    </item>
  </channel>
</rss>

