<?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 Using DATEDIFF to calculate (hh:mm) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-DATEDIFF-to-calculate-hh-mm/m-p/1222716#M19864</link>
    <description>&lt;P&gt;I am trying to find the difference in time down to the hour and minute. Here is an example of some of the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;I cant seem to write a DAX statement that allows me to output the hours and minutes elapsed between the two columns. One problem I am running into with the HOUR feature is that it maxes at 23 hours. Any help would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jul 2020 21:08:36 GMT</pubDate>
    <dc:creator>cmiller1221</dc:creator>
    <dc:date>2020-07-14T21:08:36Z</dc:date>
    <item>
      <title>Using DATEDIFF to calculate (hh:mm)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-DATEDIFF-to-calculate-hh-mm/m-p/1222716#M19864</link>
      <description>&lt;P&gt;I am trying to find the difference in time down to the hour and minute. Here is an example of some of the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;I cant seem to write a DAX statement that allows me to output the hours and minutes elapsed between the two columns. One problem I am running into with the HOUR feature is that it maxes at 23 hours. Any help would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 21:08:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-DATEDIFF-to-calculate-hh-mm/m-p/1222716#M19864</guid>
      <dc:creator>cmiller1221</dc:creator>
      <dc:date>2020-07-14T21:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using DATEDIFF to calculate (hh:mm)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-DATEDIFF-to-calculate-hh-mm/m-p/1222830#M19866</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="245908" data-lia-user-login="cmiller1221" class="lia-mention lia-mention-user"&gt;cmiller1221&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try smth like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = 
var diff = VALUE([ResolvedDate] - [DiscoveredDate])
var h = ROUNDDOWN(24 * diff, 0)
var m = ROUNDDOWN(60* (24 * diff - h), 0)
RETURN
h &amp;amp; "h " &amp;amp; m &amp;amp; "m"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 14 Jul 2020 22:02:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-DATEDIFF-to-calculate-hh-mm/m-p/1222830#M19866</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2020-07-14T22:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using DATEDIFF to calculate (hh:mm)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-DATEDIFF-to-calculate-hh-mm/m-p/1223204#M19872</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="245908" data-lia-user-login="cmiller1221" class="lia-mention lia-mention-user"&gt;cmiller1221&lt;/a&gt; , you date diff between &lt;/P&gt;
&lt;P&gt;Date1 - Date2 = it will be in time, more than 24 hours will in day&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if you try datediff(Date1,Date2,Minute), You need convert into hours and minute using Mod and quotient and display as text&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;&lt;A href="https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639#M389" target="_blank"&gt;https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639#M389&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 03:00:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-DATEDIFF-to-calculate-hh-mm/m-p/1223204#M19872</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-07-15T03:00:11Z</dc:date>
    </item>
  </channel>
</rss>

