<?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 DAX sum if duplicates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-sum-if-duplicates/m-p/869383#M7136</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to find the time between two points. There is information recorded at the start and again at the end. Example outcome data shown below:&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to create an IF statement but with no success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to create the 'Cycle Time (minutes)' column with this data set?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2019 10:20:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-09T10:20:11Z</dc:date>
    <item>
      <title>DAX sum if duplicates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-sum-if-duplicates/m-p/869383#M7136</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to find the time between two points. There is information recorded at the start and again at the end. Example outcome data shown below:&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to create an IF statement but with no success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to create the 'Cycle Time (minutes)' column with this data set?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 10:20:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-sum-if-duplicates/m-p/869383#M7136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-09T10:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: DAX sum if duplicates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-sum-if-duplicates/m-p/869395#M7137</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;Please try below measure. I'm assuming that you want to find difference in min and max of each serial number&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = 
VAR _start = CALCULATE(MIN('Table'[Time]),ALLEXCEPT('Table','Table'[Serial No]))
VAR _end = CALCULATE(MAX('Table'[Time]),ALLEXCEPT('Table','Table'[Serial No]))
RETURN IF(MAX('Table'[Sation])=2, DATEDIFF(_start,_end,MINUTE))&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 09 Dec 2019 10:29:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-sum-if-duplicates/m-p/869395#M7137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-09T10:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: DAX sum if duplicates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-sum-if-duplicates/m-p/869401#M7138</link>
      <description>&lt;P&gt;Brilliant, this works!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your effort!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 10:37:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-sum-if-duplicates/m-p/869401#M7138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-09T10:37:34Z</dc:date>
    </item>
  </channel>
</rss>

