<?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: Aging Days calculation by Date Time in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Aging-Days-calculation-by-Date-Time/m-p/4070620#M161602</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="395163" data-lia-user-login="Tan_LC" class="lia-mention lia-mention-user"&gt;Tan_LC&lt;/a&gt;&amp;nbsp;, if you want it as per 24 hour than create a new calulated column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aging Days = INT((NOW() - [Datetime]) * 24)&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 07:04:36 GMT</pubDate>
    <dc:creator>bhanu_gautam</dc:creator>
    <dc:date>2024-07-31T07:04:36Z</dc:date>
    <item>
      <title>Aging Days calculation by Date Time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Aging-Days-calculation-by-Date-Time/m-p/4070428#M161596</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to count the day(s) variance as refer to the date time column using DAX.&lt;/P&gt;&lt;P&gt;In addition, the date time in "Now" column shall be dynamic as it shall reflect current date time at any point of time.&lt;/P&gt;&lt;P&gt;Kindly assist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Datetime&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Now&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Aging Day(s)&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;29/07/2024 09:29:37 AM&lt;/TD&gt;&lt;TD&gt;30/07/2024 10:33:24 AM&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;29/07/2024 10:47:48 AM&lt;/TD&gt;&lt;TD&gt;30/07/2024 10:33:24 AM&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;28/07/2024 09:56:05 PM&lt;/TD&gt;&lt;TD&gt;30/07/2024 10:33:24 AM&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;28/07/2024 03:49:18 AM&lt;/TD&gt;&lt;TD&gt;30/07/2024 10:33:24 AM&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tan LC&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 05:45:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Aging-Days-calculation-by-Date-Time/m-p/4070428#M161596</guid>
      <dc:creator>Tan_LC</dc:creator>
      <dc:date>2024-07-31T05:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Aging Days calculation by Date Time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Aging-Days-calculation-by-Date-Time/m-p/4070472#M161598</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="395163" data-lia-user-login="Tan_LC" class="lia-mention lia-mention-user"&gt;Tan_LC&lt;/a&gt;&amp;nbsp;, You can create a new calculated column for this using datediff&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aging Days = DATEDIFF([Datetime], NOW(), DAY)&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 06:09:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Aging-Days-calculation-by-Date-Time/m-p/4070472#M161598</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-07-31T06:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Aging Days calculation by Date Time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Aging-Days-calculation-by-Date-Time/m-p/4070515#M161599</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;, thanks for your quick response.&lt;/P&gt;&lt;P&gt;The result turned to be not so accurate, for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Datetime: 30/07/2024 7:02:57 PM&lt;/P&gt;&lt;P&gt;Current Datetime: 31/07/2024 2:26:14 PM&lt;/P&gt;&lt;P&gt;Aging Days should be 0 days instead of 1 day as it yet to reach 24 hours.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;LC&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 06:27:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Aging-Days-calculation-by-Date-Time/m-p/4070515#M161599</guid>
      <dc:creator>Tan_LC</dc:creator>
      <dc:date>2024-07-31T06:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Aging Days calculation by Date Time</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Aging-Days-calculation-by-Date-Time/m-p/4070620#M161602</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="395163" data-lia-user-login="Tan_LC" class="lia-mention lia-mention-user"&gt;Tan_LC&lt;/a&gt;&amp;nbsp;, if you want it as per 24 hour than create a new calulated column&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aging Days = INT((NOW() - [Datetime]) * 24)&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 07:04:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Aging-Days-calculation-by-Date-Time/m-p/4070620#M161602</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-07-31T07:04:36Z</dc:date>
    </item>
  </channel>
</rss>

