<?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 Measure to calculate earliest change date per value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-calculate-earliest-change-date-per-value/m-p/3053139#M105236</link>
    <description>&lt;P&gt;I am creating a dashboard on a Dataverse table, and therefore cannot make many transformations. I also need the table to be live with automatic refreshes, so I cannot use additional tables (imported or virtual).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need to do is create a measure to show the day, hour, &amp;amp; time difference between the last refresh time and the last time a value changed. For example, in the table below, I need the last update time to show 1/31/2022 at 9:00 a.m., because that is the last time the "value" changed, and I need to calculate the time difference between 1/31/2022 at 9:00 a.m. and the last refresh time. I also have various "programs", so I need the calculation to account for the last time the value for that specific program was changed.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I currently have measures to show the difference between the last update (which in this case would be 1/31/2023 at 12:00 p.m. and the last refresh time, but now I need to calculate based on the time at the last value change. However, my other measure for "Notes" still needs to return the most recent note (!!!). Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Program&lt;/TD&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;TD&gt;Date/Time&lt;/TD&gt;&lt;TD&gt;Notes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Microsoft&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;1/30/2023 8:05 a.m.&lt;/TD&gt;&lt;TD&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Microsoft&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;1/31/2023 9:00 a.m.&lt;/TD&gt;&lt;TD&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Microsoft&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;1/31/2023 12:00 p.m.&lt;/TD&gt;&lt;TD&gt;!!!&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Tue, 31 Jan 2023 15:46:04 GMT</pubDate>
    <dc:creator>mll92</dc:creator>
    <dc:date>2023-01-31T15:46:04Z</dc:date>
    <item>
      <title>Measure to calculate earliest change date per value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-calculate-earliest-change-date-per-value/m-p/3053139#M105236</link>
      <description>&lt;P&gt;I am creating a dashboard on a Dataverse table, and therefore cannot make many transformations. I also need the table to be live with automatic refreshes, so I cannot use additional tables (imported or virtual).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need to do is create a measure to show the day, hour, &amp;amp; time difference between the last refresh time and the last time a value changed. For example, in the table below, I need the last update time to show 1/31/2022 at 9:00 a.m., because that is the last time the "value" changed, and I need to calculate the time difference between 1/31/2022 at 9:00 a.m. and the last refresh time. I also have various "programs", so I need the calculation to account for the last time the value for that specific program was changed.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I currently have measures to show the difference between the last update (which in this case would be 1/31/2023 at 12:00 p.m. and the last refresh time, but now I need to calculate based on the time at the last value change. However, my other measure for "Notes" still needs to return the most recent note (!!!). Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Program&lt;/TD&gt;&lt;TD&gt;Value&lt;/TD&gt;&lt;TD&gt;Date/Time&lt;/TD&gt;&lt;TD&gt;Notes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Microsoft&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;1/30/2023 8:05 a.m.&lt;/TD&gt;&lt;TD&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Microsoft&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;1/31/2023 9:00 a.m.&lt;/TD&gt;&lt;TD&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Microsoft&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;1/31/2023 12:00 p.m.&lt;/TD&gt;&lt;TD&gt;!!!&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 31 Jan 2023 15:46:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Measure-to-calculate-earliest-change-date-per-value/m-p/3053139#M105236</guid>
      <dc:creator>mll92</dc:creator>
      <dc:date>2023-01-31T15:46:04Z</dc:date>
    </item>
  </channel>
</rss>

