<?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: Difference between dates in the same column in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Difference-between-dates-in-the-same-column/m-p/65262#M2073</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/13736"&gt;@Samuelcurr1e﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to your description, you could add a calculated column as follows.&lt;/P&gt;&lt;PRE&gt;Duration Column = 
DATEDIFF (
    Table1[Action Date],
    LOOKUPVALUE (
        Table1[Action Date],
        Table1[Req No], Table1[Req No],
        Table1[Apr Seq No], Table1[Apr Seq No] + 1
    ),
    HOUR
)&lt;/PRE&gt;</description>
    <pubDate>Mon, 05 Sep 2016 06:37:32 GMT</pubDate>
    <dc:creator>v-chuncz-msft</dc:creator>
    <dc:date>2016-09-05T06:37:32Z</dc:date>
    <item>
      <title>Difference between dates in the same column</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Difference-between-dates-in-the-same-column/m-p/65137#M2063</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a financial approvals table that has the action date in the same column, I am trying to find out the lenght of time each the process is at each stage of the process. The table below is an exmpale of what I am working with. Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 587px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/12988i69EBF8DF65AA7F5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Sep 2016 06:20:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Difference-between-dates-in-the-same-column/m-p/65137#M2063</guid>
      <dc:creator>Samuelcurr1e</dc:creator>
      <dc:date>2016-09-04T06:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between dates in the same column</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Difference-between-dates-in-the-same-column/m-p/65262#M2073</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/13736"&gt;@Samuelcurr1e﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to your description, you could add a calculated column as follows.&lt;/P&gt;&lt;PRE&gt;Duration Column = 
DATEDIFF (
    Table1[Action Date],
    LOOKUPVALUE (
        Table1[Action Date],
        Table1[Req No], Table1[Req No],
        Table1[Apr Seq No], Table1[Apr Seq No] + 1
    ),
    HOUR
)&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Sep 2016 06:37:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Difference-between-dates-in-the-same-column/m-p/65262#M2073</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2016-09-05T06:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between dates in the same column</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Difference-between-dates-in-the-same-column/m-p/65268#M2075</link>
      <description>&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. I seem to get an error when using the calculation, 'Calculation error I column 'PR Process'[]: In&amp;nbsp;DATE DIFF function, the start date cannot be greater than the end date' I've not seen this error before, any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2016 06:52:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Difference-between-dates-in-the-same-column/m-p/65268#M2075</guid>
      <dc:creator>Samuelcurr1e</dc:creator>
      <dc:date>2016-09-05T06:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between dates in the same column</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Difference-between-dates-in-the-same-column/m-p/65607#M2092</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/13736"&gt;@Samuelcurr1e﻿&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For &lt;A title="DATEDIFF Function" href="https://msdn.microsoft.com/en-us/library/dn802538.aspx" target="_blank"&gt;DATEDIFF Function&lt;/A&gt;, an error is returned if start_date is larger than end_date. To quickly resolve the issue, you may need to provide more information.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 10:34:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Difference-between-dates-in-the-same-column/m-p/65607#M2092</guid>
      <dc:creator>v-chuncz-msft</dc:creator>
      <dc:date>2016-09-06T10:34:18Z</dc:date>
    </item>
  </channel>
</rss>

