<?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 Min, max and average by date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-max-and-average-by-date/m-p/3596904#M138976</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I have two columns in Power BI. One is called 'Date' and the other is called 'AIRTEMP.' In the 'Date' column, it has hourly values ​​for the day, and the 'AIRTEMP' column contains these values ​​according to the date/time of the record. For example:&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;01/11/2023 00:00&amp;nbsp; &amp;nbsp; &amp;nbsp;23,23&lt;BR /&gt;01/11/2023 01:00&amp;nbsp; &amp;nbsp; &amp;nbsp;22,98&lt;BR /&gt;01/11/2023 02:00&amp;nbsp; &amp;nbsp; &amp;nbsp;23,07&lt;BR /&gt;01/11/2023 03:00&amp;nbsp; &amp;nbsp; &amp;nbsp;23,07&lt;BR /&gt;01/11/2023 04:00&amp;nbsp; &amp;nbsp; &amp;nbsp;23,23&lt;BR /&gt;01/11/2023 05:00&amp;nbsp; &amp;nbsp; &amp;nbsp;22,88&lt;BR /&gt;01/11/2023 06:00&amp;nbsp; &amp;nbsp; &amp;nbsp;22,26&lt;BR /&gt;01/11/2023 07:00&amp;nbsp; &amp;nbsp; &amp;nbsp;21,56&lt;BR /&gt;01/11/2023 08:00&amp;nbsp; &amp;nbsp; &amp;nbsp;22,55&lt;BR /&gt;01/11/2023 09:00&amp;nbsp; &amp;nbsp; &amp;nbsp;23,77&lt;BR /&gt;01/11/2023 10:00&amp;nbsp; &amp;nbsp; &amp;nbsp;25,65&lt;BR /&gt;01/11/2023 11:00&amp;nbsp; &amp;nbsp; &amp;nbsp;26,57&lt;BR /&gt;01/11/2023 12:00&amp;nbsp; &amp;nbsp; &amp;nbsp;26,93&lt;BR /&gt;01/11/2023 13:00&amp;nbsp; &amp;nbsp; &amp;nbsp;27,92&lt;BR /&gt;01/11/2023 14:00&amp;nbsp; &amp;nbsp; &amp;nbsp;28,73&lt;BR /&gt;01/11/2023 15:00&amp;nbsp; &amp;nbsp; &amp;nbsp;30,86&lt;BR /&gt;01/11/2023 16:00&amp;nbsp; &amp;nbsp; &amp;nbsp;30,17&lt;BR /&gt;01/11/2023 17:00&amp;nbsp; &amp;nbsp; &amp;nbsp;28,02&lt;BR /&gt;01/11/2023 18:00&amp;nbsp; &amp;nbsp; &amp;nbsp;26,04&lt;BR /&gt;01/11/2023 19:00&amp;nbsp; &amp;nbsp; &amp;nbsp;25,03&lt;BR /&gt;01/11/2023 20:00&amp;nbsp; &amp;nbsp; &amp;nbsp;24,75&lt;BR /&gt;01/11/2023 21:00&amp;nbsp; &amp;nbsp; &amp;nbsp;24,37&lt;BR /&gt;01/11/2023 22:00&amp;nbsp; &amp;nbsp; &amp;nbsp;24,26&lt;BR /&gt;01/11/2023 23:00&amp;nbsp; &amp;nbsp; &amp;nbsp;24,28&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to create a formula that returns the lowest value of the day, the highest value of the day, and the average value of the day.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2023 13:26:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-12-21T13:26:04Z</dc:date>
    <item>
      <title>Min, max and average by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-max-and-average-by-date/m-p/3596904#M138976</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have two columns in Power BI. One is called 'Date' and the other is called 'AIRTEMP.' In the 'Date' column, it has hourly values ​​for the day, and the 'AIRTEMP' column contains these values ​​according to the date/time of the record. For example:&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;01/11/2023 00:00&amp;nbsp; &amp;nbsp; &amp;nbsp;23,23&lt;BR /&gt;01/11/2023 01:00&amp;nbsp; &amp;nbsp; &amp;nbsp;22,98&lt;BR /&gt;01/11/2023 02:00&amp;nbsp; &amp;nbsp; &amp;nbsp;23,07&lt;BR /&gt;01/11/2023 03:00&amp;nbsp; &amp;nbsp; &amp;nbsp;23,07&lt;BR /&gt;01/11/2023 04:00&amp;nbsp; &amp;nbsp; &amp;nbsp;23,23&lt;BR /&gt;01/11/2023 05:00&amp;nbsp; &amp;nbsp; &amp;nbsp;22,88&lt;BR /&gt;01/11/2023 06:00&amp;nbsp; &amp;nbsp; &amp;nbsp;22,26&lt;BR /&gt;01/11/2023 07:00&amp;nbsp; &amp;nbsp; &amp;nbsp;21,56&lt;BR /&gt;01/11/2023 08:00&amp;nbsp; &amp;nbsp; &amp;nbsp;22,55&lt;BR /&gt;01/11/2023 09:00&amp;nbsp; &amp;nbsp; &amp;nbsp;23,77&lt;BR /&gt;01/11/2023 10:00&amp;nbsp; &amp;nbsp; &amp;nbsp;25,65&lt;BR /&gt;01/11/2023 11:00&amp;nbsp; &amp;nbsp; &amp;nbsp;26,57&lt;BR /&gt;01/11/2023 12:00&amp;nbsp; &amp;nbsp; &amp;nbsp;26,93&lt;BR /&gt;01/11/2023 13:00&amp;nbsp; &amp;nbsp; &amp;nbsp;27,92&lt;BR /&gt;01/11/2023 14:00&amp;nbsp; &amp;nbsp; &amp;nbsp;28,73&lt;BR /&gt;01/11/2023 15:00&amp;nbsp; &amp;nbsp; &amp;nbsp;30,86&lt;BR /&gt;01/11/2023 16:00&amp;nbsp; &amp;nbsp; &amp;nbsp;30,17&lt;BR /&gt;01/11/2023 17:00&amp;nbsp; &amp;nbsp; &amp;nbsp;28,02&lt;BR /&gt;01/11/2023 18:00&amp;nbsp; &amp;nbsp; &amp;nbsp;26,04&lt;BR /&gt;01/11/2023 19:00&amp;nbsp; &amp;nbsp; &amp;nbsp;25,03&lt;BR /&gt;01/11/2023 20:00&amp;nbsp; &amp;nbsp; &amp;nbsp;24,75&lt;BR /&gt;01/11/2023 21:00&amp;nbsp; &amp;nbsp; &amp;nbsp;24,37&lt;BR /&gt;01/11/2023 22:00&amp;nbsp; &amp;nbsp; &amp;nbsp;24,26&lt;BR /&gt;01/11/2023 23:00&amp;nbsp; &amp;nbsp; &amp;nbsp;24,28&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to create a formula that returns the lowest value of the day, the highest value of the day, and the average value of the day.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 13:26:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-max-and-average-by-date/m-p/3596904#M138976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-12-21T13:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Min, max and average by date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-max-and-average-by-date/m-p/3597720#M139018</link>
      <description>&lt;P&gt;If you're just looking to display the data in a table, then there's no need to create a DAX formula. You can use the built-in aggregations, by first:&lt;/P&gt;
&lt;P&gt;Add a new column to your table to change the dateTime to date, you can do this with the formula:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Date = INT(Table[DateTime])&lt;/LI-CODE&gt;
&lt;P&gt;and changing the type to Date.&lt;/P&gt;
&lt;P&gt;next, using a table visual, drag the date (right-click and make sure that "Do not summarize" is selected), then the Value column 3 times. For each of the Value fields, you can then right-click and choose a type of aggregation:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 22:24:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-max-and-average-by-date/m-p/3597720#M139018</guid>
      <dc:creator>vicky_</dc:creator>
      <dc:date>2023-12-21T22:24:24Z</dc:date>
    </item>
  </channel>
</rss>

