<?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 Subtracting two dates to get a TAT in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-two-dates-to-get-a-TAT/m-p/3063636#M105983</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have what I think should be a very simple formula but I can not seem to work it out!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one date that I want to take away from another date and I want the output to be a number.........&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example - Engineering sign off date - Supply chain sign off date = Turn around time&amp;nbsp;&lt;/P&gt;&lt;P&gt;1/1/23- 5/1/23=4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2023 11:24:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-02-06T11:24:34Z</dc:date>
    <item>
      <title>Subtracting two dates to get a TAT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-two-dates-to-get-a-TAT/m-p/3063636#M105983</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have what I think should be a very simple formula but I can not seem to work it out!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one date that I want to take away from another date and I want the output to be a number.........&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example - Engineering sign off date - Supply chain sign off date = Turn around time&amp;nbsp;&lt;/P&gt;&lt;P&gt;1/1/23- 5/1/23=4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 11:24:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-two-dates-to-get-a-TAT/m-p/3063636#M105983</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-06T11:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting two dates to get a TAT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-two-dates-to-get-a-TAT/m-p/3063656#M105987</link>
      <description>&lt;P&gt;hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try like:&lt;/P&gt;&lt;P&gt;Column = INT([Date1] - [Date2])&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 11:31:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-two-dates-to-get-a-TAT/m-p/3063656#M105987</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-02-06T11:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting two dates to get a TAT</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-two-dates-to-get-a-TAT/m-p/3065333#M106118</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use function&amp;nbsp;&lt;SPAN&gt;DATEDIFF() function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;e.g Create a calculated column.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = DATEDIFF([Engineering sign off date],[ Supply chain sign off date],DAY)&lt;/LI-CODE&gt;
&lt;P&gt;Output&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can refer to the following link to know more about the function&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/datediff-function-dax" target="_blank"&gt;DATEDIFF function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Yolo Zhu&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;I&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/I&gt;, then please consider&amp;nbsp;&lt;I&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/I&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 05:28:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Subtracting-two-dates-to-get-a-TAT/m-p/3065333#M106118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-07T05:28:31Z</dc:date>
    </item>
  </channel>
</rss>

