<?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 to date/time data type in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-to-date-time-data-type/m-p/883454#M7607</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try without .[Date]. it cut datetime to only Date&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; = datediff(V_Incident[Created].[Date];V_Incident[Updated].[Date];SECOND)&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://linkedin.com/in/alekseizhukov" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Dec 2019 07:33:48 GMT</pubDate>
    <dc:creator>az38</dc:creator>
    <dc:date>2019-12-24T07:33:48Z</dc:date>
    <item>
      <title>Difference between to date/time data type</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-to-date-time-data-type/m-p/883264#M7605</link>
      <description>&lt;P&gt;Hello Power BI enthusiast,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to calculate the time difference between two date/time data type. I have used the dax function of DATEDIFF as shown below but I think the precision is not correct&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I checked using online calculator, I got the correct value of time difference . Is there any other way to write DAX in order to get the correct precision value ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 02:08:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-to-date-time-data-type/m-p/883264#M7605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-24T02:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between to date/time data type</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-to-date-time-data-type/m-p/883454#M7607</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try without .[Date]. it cut datetime to only Date&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; = datediff(V_Incident[Created].[Date];V_Incident[Updated].[Date];SECOND)&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://linkedin.com/in/alekseizhukov" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 07:33:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-to-date-time-data-type/m-p/883454#M7607</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2019-12-24T07:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between to date/time data type</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-to-date-time-data-type/m-p/884431#M7624</link>
      <description>&lt;P&gt;Try this dax.&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;diff = DATEDIFF('Table'[Start Date],'Table'[End date],SECOND)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;Pravin Wattamwar&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Dec 2019 09:00:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Difference-between-to-date-time-data-type/m-p/884431#M7624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-26T09:00:38Z</dc:date>
    </item>
  </channel>
</rss>

