<?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 two columns (date &amp;amp; time) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-columns-date-amp-time/m-p/1100383#M16146</link>
    <description>&lt;P&gt;Please consider this solution .....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.absentdata.com/calculate-time-between-two-dates/" target="_blank"&gt;https://www.absentdata.com/calculate-time-between-two-dates&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A href="https://radacad.com/calculate-duration-in-days-hours-minutes-and-seconds-dynamically-in-power-bi-using-dax" target="_blank"&gt;https://radacad.com/calculate-duration-in-days-hours-minutes-and-seconds-dynamically-in-power-bi-using-dax&lt;/A&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;</description>
    <pubDate>Thu, 21 May 2020 10:16:20 GMT</pubDate>
    <dc:creator>speedramps</dc:creator>
    <dc:date>2020-05-21T10:16:20Z</dc:date>
    <item>
      <title>Difference between two columns (date &amp; time)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-columns-date-amp-time/m-p/1100196#M16139</link>
      <description>&lt;P&gt;Hello togehter,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way to calculate the difference in hour + / - between two columns?&lt;/P&gt;&lt;P&gt;I have&amp;nbsp; column with Date / Time where the ticket is opend, the second columune include the Date / Time SLA.&lt;/P&gt;&lt;P&gt;So I need the difference, if the SLA is fall belows or they is exceeded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for help.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 08:50:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-columns-date-amp-time/m-p/1100196#M16139</guid>
      <dc:creator>p_fehrenbach</dc:creator>
      <dc:date>2020-05-21T08:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two columns (date &amp; time)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-columns-date-amp-time/m-p/1100233#M16143</link>
      <description>&lt;P&gt;HI &lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/198815" target="_self"&gt;&lt;SPAN class=""&gt;p_fehrenbach&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please consider using this solution&amp;nbsp;&lt;/SPAN&gt;in the M query .....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Define both the sla duration and actual duration with date time data types.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add a column with Difference = sla duration -&amp;nbsp;actual duration&lt;/P&gt;&lt;P&gt;Transform the Difference data type to minutes&lt;/P&gt;&lt;P&gt;Filter where the&amp;nbsp;Difference&amp;nbsp; &amp;lt; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 09:09:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-columns-date-amp-time/m-p/1100233#M16143</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2020-05-21T09:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two columns (date &amp; time)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-columns-date-amp-time/m-p/1100294#M16145</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177566" data-lia-user-login="speedramps" class="lia-mention lia-mention-user"&gt;speedramps&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for the answer. I had already tried that. unfortunately power query changes the type when I load the data into the model, from time to decimal. If I put the data back in time in the model, all decimal numbers are positive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(The negativ value in this scenario is good one)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Example in the last Row:&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;We finished te ticket at the 22.10.2019 16:30:00&lt;/P&gt;&lt;P&gt;It could have been closed until 23.10.2019 12:40.&lt;/P&gt;&lt;P&gt;The Result is +&amp;nbsp;20:10:00 hours.&lt;/P&gt;&lt;P&gt;The Result have to be - 20:10:00 hours.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 09:32:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-columns-date-amp-time/m-p/1100294#M16145</guid>
      <dc:creator>p_fehrenbach</dc:creator>
      <dc:date>2020-05-21T09:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between two columns (date &amp; time)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-columns-date-amp-time/m-p/1100383#M16146</link>
      <description>&lt;P&gt;Please consider this solution .....&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.absentdata.com/calculate-time-between-two-dates/" target="_blank"&gt;https://www.absentdata.com/calculate-time-between-two-dates&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A href="https://radacad.com/calculate-duration-in-days-hours-minutes-and-seconds-dynamically-in-power-bi-using-dax" target="_blank"&gt;https://radacad.com/calculate-duration-in-days-hours-minutes-and-seconds-dynamically-in-power-bi-using-dax&lt;/A&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;</description>
      <pubDate>Thu, 21 May 2020 10:16:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-two-columns-date-amp-time/m-p/1100383#M16146</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2020-05-21T10:16:20Z</dc:date>
    </item>
  </channel>
</rss>

