<?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 different value between hour in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3006956#M101787</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="352527" data-lia-user-login="rohazi" class="lia-mention lia-mention-user"&gt;rohazi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try to add a column like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Diff2 = 
VAR _time = [Time]
VAR _date = [Date]
VAR _table =
FILTER(TableName, TableName[Date] = _date)
VAR _maxtime =
MINX(
    FILTER(
       _table,
        TableName[Time] &amp;gt; _time
    ),
    TableName[Time]
)
VAR _totalpre=
MAXX(
    FILTER(
       _table,
        TableName[Time] =_maxtime
    ),
    TableName[total]
)
RETURN
[Total] - _totalpre&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it worked like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 07 Jan 2023 14:13:37 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2023-01-07T14:13:37Z</dc:date>
    <item>
      <title>how to get different value between hour</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3006926#M101772</link>
      <description>&lt;P&gt;please help how to get diff value for hour by hour.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2023 13:12:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3006926#M101772</guid>
      <dc:creator>rohazi</dc:creator>
      <dc:date>2023-01-07T13:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to get different value between hour</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3006934#M101776</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="352527" data-lia-user-login="rohazi" class="lia-mention lia-mention-user"&gt;rohazi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;58277 - 69706?&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2023 13:26:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3006934#M101776</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-07T13:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to get different value between hour</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3006936#M101778</link>
      <description>&lt;P&gt;60706 - 58277&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2023 13:28:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3006936#M101778</guid>
      <dc:creator>rohazi</dc:creator>
      <dc:date>2023-01-07T13:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to get different value between hour</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3006937#M101779</link>
      <description>&lt;P&gt;69706 -58277&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2023 13:29:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3006937#M101779</guid>
      <dc:creator>rohazi</dc:creator>
      <dc:date>2023-01-07T13:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to get different value between hour</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3006946#M101783</link>
      <description>&lt;P&gt;yes&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2023 14:00:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3006946#M101783</guid>
      <dc:creator>rohazi</dc:creator>
      <dc:date>2023-01-07T14:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to get different value between hour</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3006956#M101787</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="352527" data-lia-user-login="rohazi" class="lia-mention lia-mention-user"&gt;rohazi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try to add a column like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Diff2 = 
VAR _time = [Time]
VAR _date = [Date]
VAR _table =
FILTER(TableName, TableName[Date] = _date)
VAR _maxtime =
MINX(
    FILTER(
       _table,
        TableName[Time] &amp;gt; _time
    ),
    TableName[Time]
)
VAR _totalpre=
MAXX(
    FILTER(
       _table,
        TableName[Time] =_maxtime
    ),
    TableName[total]
)
RETURN
[Total] - _totalpre&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it worked like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2023 14:13:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3006956#M101787</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-07T14:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to get different value between hour</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3007161#M101806</link>
      <description>&lt;P&gt;tq&amp;nbsp;&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; . it's working ..thanks for your help.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 00:06:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-get-different-value-between-hour/m-p/3007161#M101806</guid>
      <dc:creator>rohazi</dc:creator>
      <dc:date>2023-01-08T00:06:48Z</dc:date>
    </item>
  </channel>
</rss>

