<?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: How to get Aging in Hours in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059872#M105668</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp; First, Thank you for your immediate response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to better understand, for e.g. once you received the data or request it should get done within 4 hours (SLA) from the date you received and if after 4 hours from it's SLA if the request is not&amp;nbsp; yet completed the Aging will start to count&lt;/P&gt;&lt;P&gt;1. i want to get the hours of aging that will start from it's supposed &lt;STRONG&gt;'Due Date'&amp;nbsp;&lt;/STRONG&gt; but not yet completed because it still "On Hold" and "In Progress"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here's the sample below&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2023 08:12:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-02-03T08:12:16Z</dc:date>
    <item>
      <title>How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3058064#M105568</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i have here my current formula/logic for aging &amp;gt;&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Query1&lt;/SPAN&gt;&lt;SPAN&gt;[Status]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"Completed"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;BLANK&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;SPAN&gt;NETWORKDAYS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Query1&lt;/SPAN&gt;&lt;SPAN&gt;[Due]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;Query1&lt;/SPAN&gt;&lt;SPAN&gt;[Now]&lt;/SPAN&gt;&lt;SPAN&gt;)*&lt;/SPAN&gt;&lt;SPAN&gt;24&lt;/SPAN&gt;&lt;SPAN&gt;)+&lt;/SPAN&gt;&lt;SPAN&gt;0 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;but i want to get if the status is "Completed" the 'Aging' should be blank and if the status is &lt;STRONG&gt;"On Hold &lt;/STRONG&gt;and&lt;STRONG&gt; In Progress"&amp;nbsp;&lt;/STRONG&gt;the aging hours should be reflected.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Status&lt;/TD&gt;&lt;TD&gt;Date and Time Received&lt;/TD&gt;&lt;TD&gt;Date and Time Accomplished&lt;/TD&gt;&lt;TD&gt;Aging Hours&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Completed&lt;/TD&gt;&lt;TD&gt;1/23/2023 18:34&lt;/TD&gt;&lt;TD&gt;1/23/2023 19:15&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;In Progress&lt;/TD&gt;&lt;TD&gt;1/18/2023 14:58&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;On hold&lt;/TD&gt;&lt;TD&gt;1/20/2023 16:00&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 02 Feb 2023 14:16:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3058064#M105568</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-02T14:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3058125#M105572</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You may try this revised DAX&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=IF(Query1[Status]="Completed",BLANK(),IF(Query1[Status]="In Progress" or Query1[Status]="On Hold",NETWORKDAYS(Query1[Date and Time Received], NOW())*24,NETWORKDAYS(Query1[Due],Query1[Now])*24))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You will checks the status first, if it's "Completed", then the Aging Hours will be blank. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If the status is "In Progress" or "On Hold", then the Aging Hours will be calculated as the difference between the Date and Time Received and the current date and time, multiplied by 24 (since you want it in hours). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If the status is neither "Completed", "In Progress", nor "On Hold", then the Aging Hours will be calculated as the difference between the Due date and the current date, multiplied by 24.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 14:40:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3058125#M105572</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-02T14:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3058130#M105573</link>
      <description>&lt;P&gt;hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;are you expecting something like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Aging Hours = 
VAR _hours = 
([Date and Time Accomplished] - [Date and Time Received])*24
RETURN
IF(Query1[Status]="Completed", BLANK(), _hours)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 14:44:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3058130#M105573</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-02-02T14:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3058509#M105595</link>
      <description>&lt;P&gt;Hello, Big thanks for this. but the result shows "10787777.9666667" like this&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 17:01:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3058509#M105595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-02T17:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059636#M105653</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp; I appreicate this. however, I'm getting blank result.. can you please take a look at again on the sample above and see if you can figure out how to fix this. would really appreciate your help on this. thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 06:18:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059636#M105653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-03T06:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059717#M105657</link>
      <description>&lt;P&gt;hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it is because you don't have data there:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what do you expect to show in such cases?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 06:54:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059717#M105657</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-02-03T06:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059759#M105659</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;Freemanz Right! i have no data yet for &lt;STRONG&gt;"Date Accomplished"&amp;nbsp;&lt;/STRONG&gt;that's why i want to see how many hours of Aging for this since it's already beyond SLA and not yet completed/accomplished.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here's the sample below:&lt;/P&gt;&lt;P&gt;1. if this is still On Hold and In Progress and already beyong due from it's SLA the hours of aging should reflect. if already completed, hours of aging should be blank.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 07:10:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059759#M105659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-03T07:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059789#M105661</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Not sure what are&amp;nbsp;&lt;SPAN&gt;Query1&lt;/SPAN&gt;&lt;SPAN&gt;[Due] and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Query1&lt;/SPAN&gt;&lt;SPAN&gt;[Now] that exist in your dax code. However, please refer to attached sample file with proposed solution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Aging Hours = 
VAR CurrentIDTable = CALCULATETABLE ( Query1, ALLEXCEPT ( Query1, Query1[ID] ) )
VAR AccomplishDateTime = MAXX ( CurrentIDTable, Query1[Date and Time Accomplished] ) 
RETURN
    IF (
        Query1[Status] &amp;lt;&amp;gt; "Completed",
        NETWORKDAYS ( Query1[Date and Time Received], AccomplishDateTime ) * 24 + 0
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 03 Feb 2023 07:24:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059789#M105661</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-03T07:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059821#M105663</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;Thank you for this.! this works, however, i want to depend it aswell in SLA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see sample below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. if this is still On Hold and In Progress and already beyong due from it's SLA the hours of aging should reflect. if already completed, hours of aging should be blank.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 07:50:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059821#M105663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-03T07:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059850#M105664</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please provide complete and clear picture with one or two examples.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 08:01:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059850#M105664</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-03T08:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059872#M105668</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp; First, Thank you for your immediate response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to better understand, for e.g. once you received the data or request it should get done within 4 hours (SLA) from the date you received and if after 4 hours from it's SLA if the request is not&amp;nbsp; yet completed the Aging will start to count&lt;/P&gt;&lt;P&gt;1. i want to get the hours of aging that will start from it's supposed &lt;STRONG&gt;'Due Date'&amp;nbsp;&lt;/STRONG&gt; but not yet completed because it still "On Hold" and "In Progress"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here's the sample below&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 08:12:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3059872#M105668</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-03T08:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3060021#M105677</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Still not sure if this is what you're looking for or not&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Aging Hours = 
VAR SLA = Query1[SLA (in hours)]
VAR DateReceived = Query1[Date and Time Received]
VAR CurrentIDTable = CALCULATETABLE ( Query1, ALLEXCEPT ( Query1, Query1[ID] ) )
VAR AccomplishDateTime = MAXX ( CurrentIDTable, Query1[Date and Time Accomplished] ) 
VAR Hours = DATEDIFF ( DateReceived, AccomplishDateTime, HOUR )
VAR AgingHours = 24 * ( NETWORKDAYS ( DateReceived, AccomplishDateTime ) )
RETURN
    IF (
        Query1[Status] &amp;lt;&amp;gt; "Completed" &amp;amp;&amp;amp; Hours &amp;gt; SLA,
        IF ( 
            Hours &amp;lt; 24,
            Hours,
            AgingHours
        )
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 03 Feb 2023 09:22:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3060021#M105677</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-03T09:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3060122#M105685</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;Both working but i wanted to get the specific.&lt;/P&gt;&lt;P&gt;1. Date and Time Received, Date and Time Accomplished, Staus, and SLA.&lt;/P&gt;&lt;P&gt;2. if Date and Time Accomplished is &lt;STRONG&gt;Blank or no Data&lt;/STRONG&gt; yet, the "Hours of Aging" should start if this is beyond SLA now.&lt;/P&gt;&lt;P&gt;3. and if &lt;STRONG&gt;Both Date and Time Received&lt;/STRONG&gt; and &lt;STRONG&gt;Date and Time Accomplished&lt;/STRONG&gt; (Status-Completed) is Filled or have data already, the Hours of Aging should be Blank now&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 10:22:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3060122#M105685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-03T10:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3060140#M105689</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You just need to present input data along with&amp;nbsp;the expected result. Examples explain much better than words. Please do not attempt to over simplify the problem as that might be misleading. Only present the problem as is using sample data along with (an) explanatory example(s).&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 10:36:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3060140#M105689</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-03T10:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3060153#M105693</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp; I hope i can explain this better now. i tred your formula and Logic but i still getting some error/s.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. In the highlighted &lt;EM&gt;Red,&amp;nbsp;&lt;/EM&gt;this is not what I'm expecting because &lt;STRONG&gt;Date &amp;amp; Time Accomploshed&lt;/STRONG&gt; is Blank/No data yet. so, Hours Aging should be reflected.&lt;/P&gt;&lt;P&gt;2. on the 2nd result, which is Highlighted in &lt;EM&gt;Yellow&lt;/EM&gt;, this is CORRECT because&lt;STRONG&gt; Date &amp;amp; Time Received&lt;/STRONG&gt; and &lt;STRONG&gt;Date &amp;amp; Time Accomplished&lt;/STRONG&gt; is filled so, Hours of Aging should be Blank&lt;/P&gt;&lt;P&gt;3. on the 3rd result, Highlighted in &lt;EM&gt;Blue, &lt;/EM&gt;CORRECT as well since Date &amp;amp; Time Accomplished is Blank so Hours of Aging Should be reflected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; this is still depends on the SLA. if beyond SLA, Hours of Aging should start to count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Really appreciate your time on this. thank you! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 10:49:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3060153#M105693</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-03T10:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3060175#M105696</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Great! How did you calculate 8 and 7?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 11:09:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3060175#M105696</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-02-03T11:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Aging in Hours</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3060180#M105697</link>
      <description>&lt;P&gt;I just copied the results you got. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 11:15:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Aging-in-Hours/m-p/3060180#M105697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-03T11:15:20Z</dc:date>
    </item>
  </channel>
</rss>

