<?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: Average value based on multiply samples per second, Average by minute in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-value-based-on-multiply-samples-per-second-Average-by/m-p/5154305#M187785</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1305819" data-lia-user-login="integrapeter" class="lia-mention lia-mention-user"&gt;integrapeter&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;Following up to confirm if the earlier responses addressed your query. If not, please share your questions and we’ll assist further.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2026 09:47:35 GMT</pubDate>
    <dc:creator>v-aatheeque</dc:creator>
    <dc:date>2026-04-20T09:47:35Z</dc:date>
    <item>
      <title>Average value based on multiply samples per second, Average by minute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-value-based-on-multiply-samples-per-second-Average-by/m-p/5150078#M187747</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a large data set, that comes from a tank level sensor. The&amp;nbsp;sensor samples that tank level between 5 and 6 times a second. The tank hold 1500gals, and the min and max level is reocorded in gal.&lt;/P&gt;&lt;P&gt;I'm looking to get see trends in tank level across mutly days, weeks, and months. Hoever there is far to much data to be useful.&lt;/P&gt;&lt;P&gt;I'm trying to average the tank level across a minute intervals. my first few attempted to average the level value with an anverageX functions and various filters failed.&lt;/P&gt;&lt;P&gt;I think I will need to create a new table with a date, time and level coulmns, but am unsure how to generate the required reduced data set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://integralife-my.sharepoint.com/:x:/p/peter_anthony/IQDsK_9cBm7HRq9lKgS3phN0ATckt1ytNoOABg9QSWOuiDw?e=oGsDLF" target="_blank"&gt;sample data.xlsx&lt;/A&gt;&amp;nbsp;in a public one drive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All insights and help into soliving my probelm would be greatly appriated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 16:53:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-value-based-on-multiply-samples-per-second-Average-by/m-p/5150078#M187747</guid>
      <dc:creator>integrapeter</dc:creator>
      <dc:date>2026-04-15T16:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Average value based on multiply samples per second, Average by minute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-value-based-on-multiply-samples-per-second-Average-by/m-p/5150347#M187748</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1305819" data-lia-user-login="integrapeter" class="lia-mention lia-mention-user"&gt;integrapeter&lt;/a&gt;&amp;nbsp;!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, I would also create a new table and create a relationship using Date table as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Use&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Power Query&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;to build a&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;minute bucket&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(timestamp truncated to the minute for each row), then&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Group By&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;that bucket (and your&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;tank / sensor&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;key if you have more than one) and set the aggregation for level to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Average&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;(and optionally&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Min&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Max&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Count&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;of samples for data quality). Load that&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;aggregated table&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;into the model and relate it to your&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Date&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;table on the bucket date; your trend visuals then sit on the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;minute&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;grain by default, with simple measures such as&amp;nbsp;&lt;/SPAN&gt;AVERAGE&lt;SPAN&gt;&amp;nbsp;on the pre-aggregated column if you still want a measure layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if it worked!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 19:36:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-value-based-on-multiply-samples-per-second-Average-by/m-p/5150347#M187748</guid>
      <dc:creator>julsr</dc:creator>
      <dc:date>2026-04-15T19:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Average value based on multiply samples per second, Average by minute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-value-based-on-multiply-samples-per-second-Average-by/m-p/5150381#M187750</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1305819" data-lia-user-login="integrapeter" class="lia-mention lia-mention-user"&gt;integrapeter&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;you can create a new table using this dax:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;aggregated_table = SUMMARIZE(
    ADDCOLUMNS(
        '003803_Yokogawa_WFI260101_03044',
        "Minute", MINUTE('003803_Yokogawa_WFI260101_03044'[datetime])
    ),
    '003803_Yokogawa_WFI260101_03044'[Date],
    [Minute],
    "AVG", AVERAGE('003803_Yokogawa_WFI260101_03044'[Average])
)&lt;/LI-CODE&gt;
&lt;P&gt;Then you can do the measures / analysis on this table. I attach also the pbix.&lt;/P&gt;
&lt;P&gt;Remember that it would be better to do this grouping in power query or even better in the source system (dunno if it's a sql or wich storage engine).&lt;BR /&gt;&lt;BR /&gt;Let me know &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 20:16:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-value-based-on-multiply-samples-per-second-Average-by/m-p/5150381#M187750</guid>
      <dc:creator>Gabry</dc:creator>
      <dc:date>2026-04-15T20:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Average value based on multiply samples per second, Average by minute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-value-based-on-multiply-samples-per-second-Average-by/m-p/5154305#M187785</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1305819" data-lia-user-login="integrapeter" class="lia-mention lia-mention-user"&gt;integrapeter&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;Following up to confirm if the earlier responses addressed your query. If not, please share your questions and we’ll assist further.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2026 09:47:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-value-based-on-multiply-samples-per-second-Average-by/m-p/5154305#M187785</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2026-04-20T09:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Average value based on multiply samples per second, Average by minute</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-value-based-on-multiply-samples-per-second-Average-by/m-p/5154611#M187789</link>
      <description>&lt;P&gt;Hey Garby,&lt;/P&gt;&lt;P&gt;Thanks for the syntax. I will be able to move foward with the soultion you provided. There is an incontutnited with my data, will it jumps move than 70 gals in a minute, which is impossible the system, however I don't think that has anything to do with the soultion you provided.&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;&lt;P&gt;-peter&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2026 13:47:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-value-based-on-multiply-samples-per-second-Average-by/m-p/5154611#M187789</guid>
      <dc:creator>integrapeter</dc:creator>
      <dc:date>2026-04-20T13:47:58Z</dc:date>
    </item>
  </channel>
</rss>

