<?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 Remove, subtract or exclude 1 order from an expression that counts 2 or more orders. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-subtract-or-exclude-1-order-from-an-expression-that/m-p/3129380#M111277</link>
    <description>&lt;P&gt;I have a DAX expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reorders of two or more = CALCULATE(SUM(FactTable[Orders]),'FactTable[Count of duplicates orders]&amp;gt;=2)&lt;/P&gt;&lt;P&gt;that sums orders of two or more per client (rows).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each duplicates, there is an original order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I modify the DAX expression so that a subraction of 1&amp;nbsp; will exclude the original order from duplicates orders only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I say "duplicates", it can include 3 or more orders.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2023 23:36:50 GMT</pubDate>
    <dc:creator>matrix_user</dc:creator>
    <dc:date>2023-03-13T23:36:50Z</dc:date>
    <item>
      <title>Remove, subtract or exclude 1 order from an expression that counts 2 or more orders.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-subtract-or-exclude-1-order-from-an-expression-that/m-p/3129380#M111277</link>
      <description>&lt;P&gt;I have a DAX expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reorders of two or more = CALCULATE(SUM(FactTable[Orders]),'FactTable[Count of duplicates orders]&amp;gt;=2)&lt;/P&gt;&lt;P&gt;that sums orders of two or more per client (rows).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For each duplicates, there is an original order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I modify the DAX expression so that a subraction of 1&amp;nbsp; will exclude the original order from duplicates orders only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I say "duplicates", it can include 3 or more orders.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 23:36:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-subtract-or-exclude-1-order-from-an-expression-that/m-p/3129380#M111277</guid>
      <dc:creator>matrix_user</dc:creator>
      <dc:date>2023-03-13T23:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Remove, subtract or exclude 1 order from an expression that counts 2 or more orders.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-subtract-or-exclude-1-order-from-an-expression-that/m-p/3129620#M111285</link>
      <description>&lt;P&gt;&lt;SPAN&gt;CALCULATE(SUM(FactTable[Orders]),FILTER(ALL('FactTable[Count of duplicates orders]),'FactTable[Count of duplicates orders]-IF('FactTable[Count of duplicates orders]&amp;lt;2,0,1)&amp;gt;=2))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 02:46:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Remove-subtract-or-exclude-1-order-from-an-expression-that/m-p/3129620#M111285</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2023-03-14T02:46:15Z</dc:date>
    </item>
  </channel>
</rss>

