<?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: calculation of the accumulated rain of a farm in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculation-of-the-accumulated-rain-of-a-farm/m-p/2985317#M100159</link>
    <description>&lt;P&gt;This looks like it's missing the column to group on.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Dec 2022 23:26:28 GMT</pubDate>
    <dc:creator>AlexisOlson</dc:creator>
    <dc:date>2022-12-22T23:26:28Z</dc:date>
    <item>
      <title>calculation of the accumulated rain of a farm</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculation-of-the-accumulated-rain-of-a-farm/m-p/2985182#M100150</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I would like to calculate the accumulated rainfall of several farms, but for that, I need to calculate the daily average and at the end add these averages. How to do this?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 21:02:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculation-of-the-accumulated-rain-of-a-farm/m-p/2985182#M100150</guid>
      <dc:creator>gelsonwj</dc:creator>
      <dc:date>2022-12-22T21:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: calculation of the accumulated rain of a farm</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculation-of-the-accumulated-rain-of-a-farm/m-p/2985240#M100153</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="476377" data-lia-user-login="gelsonwj" class="lia-mention lia-mention-user"&gt;gelsonwj&lt;/a&gt;&amp;nbsp;Try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  VAR __Table = GROUPBY('Table',[Date],"__Average",AVERAGEX(CURRENTGROUP(),[Value]))
  VAR __Result = SUMX(__Table,[__Average])
RETURN
  __Result&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 00:06:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculation-of-the-accumulated-rain-of-a-farm/m-p/2985240#M100153</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-12-23T00:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: calculation of the accumulated rain of a farm</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculation-of-the-accumulated-rain-of-a-farm/m-p/2985317#M100159</link>
      <description>&lt;P&gt;This looks like it's missing the column to group on.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 23:26:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculation-of-the-accumulated-rain-of-a-farm/m-p/2985317#M100159</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2022-12-22T23:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: calculation of the accumulated rain of a farm</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculation-of-the-accumulated-rain-of-a-farm/m-p/2985363#M100161</link>
      <description>&lt;P&gt;You're right&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="39298" data-lia-user-login="AlexisOlson" class="lia-mention lia-mention-user"&gt;AlexisOlson&lt;/a&gt;&amp;nbsp;I edited it.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 00:06:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculation-of-the-accumulated-rain-of-a-farm/m-p/2985363#M100161</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2022-12-23T00:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: calculation of the accumulated rain of a farm</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculation-of-the-accumulated-rain-of-a-farm/m-p/2985923#M100212</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="476377" data-lia-user-login="gelsonwj" class="lia-mention lia-mention-user"&gt;gelsonwj&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Date = LEFT([Start],9)&lt;/LI-CODE&gt;
&lt;P&gt;Then change the data format of this column to Date.&lt;/P&gt;
&lt;P&gt;Column:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Average = CALCULATE(AVERAGE('Table'[Value]),ALLEXCEPT('Table','Table'[Date]))&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
Var _table=SUMMARIZE('Table','Table'[Date],'Table'[Average])
Return
SUMX(_table,[Average])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Is this the result you expect?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 08:05:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculation-of-the-accumulated-rain-of-a-farm/m-p/2985923#M100212</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2022-12-23T08:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: calculation of the accumulated rain of a farm</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculation-of-the-accumulated-rain-of-a-farm/m-p/2986429#M100247</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the accumulated each month, something like what's in the picture. How could I do that?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 12:22:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/calculation-of-the-accumulated-rain-of-a-farm/m-p/2986429#M100247</guid>
      <dc:creator>gelsonwj</dc:creator>
      <dc:date>2022-12-23T12:22:20Z</dc:date>
    </item>
  </channel>
</rss>

