<?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 Average month calculation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-month-calculation/m-p/2387258#M61916</link>
    <description>&lt;P&gt;I want to calculate the average units per month.&amp;nbsp; The formula I have is&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure = AVERAGEX(VALUES(Dates[Month], 'Shipped Sales Detail'[Units]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the error message "too many arguments were passed to the VALUES function.&amp;nbsp; The maximum argument count for the function is 1.&amp;nbsp; Can someone assist?&amp;nbsp; Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 10 Mar 2022 21:11:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-03-10T21:11:19Z</dc:date>
    <item>
      <title>Average month calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-month-calculation/m-p/2387258#M61916</link>
      <description>&lt;P&gt;I want to calculate the average units per month.&amp;nbsp; The formula I have is&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measure = AVERAGEX(VALUES(Dates[Month], 'Shipped Sales Detail'[Units]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the error message "too many arguments were passed to the VALUES function.&amp;nbsp; The maximum argument count for the function is 1.&amp;nbsp; Can someone assist?&amp;nbsp; Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 21:11:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-month-calculation/m-p/2387258#M61916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-10T21:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Average month calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-month-calculation/m-p/2387394#M61927</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It because of ), try this:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Measure = AVERAGEX(VALUES(Dates[Month]&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;, 'Shipped Sales Detail'[Units]))&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;helps&lt;/SPAN&gt;&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;accepting&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;it as the solution&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;Appreciate your Kudos!!&lt;BR /&gt;&lt;STRONG&gt;LinkedIn:&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank"&gt;www.linkedin.com/in/vahid-dm/&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 22:30:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-month-calculation/m-p/2387394#M61927</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2022-03-10T22:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Average month calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-month-calculation/m-p/2397398#M62605</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please update the formula of Measure as below, the part with red font is updated one...&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;&lt;EM&gt;&lt;EM&gt;&lt;STRONG&gt;Measusre&amp;nbsp;=&amp;nbsp;&lt;SPAN class=""&gt;AVERAGEX&lt;SPAN class=""&gt;&amp;nbsp;(&amp;nbsp;&lt;SPAN class=""&gt;VALUES&lt;SPAN class=""&gt;&amp;nbsp;(&amp;nbsp;Dates[Month]&amp;nbsp;&lt;FONT size="5" color="#FF0000"&gt;&lt;SPAN class=""&gt;&lt;FONT size="3"&gt;)&lt;/FONT&gt;&lt;FONT size="3" color="#000000"&gt;,&amp;nbsp;'Shipped&amp;nbsp;Sales&amp;nbsp;Detail'[Units]&lt;/FONT&gt;&lt;FONT size="5" color="#FF0000"&gt;&lt;FONT size="3" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="3"&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="line-height: 1.71429; font-family: SegoeUI, Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;If the above one can't help you get your expected result, please provide some&amp;nbsp;&lt;STRONG&gt;sample data&lt;/STRONG&gt;(&lt;EM&gt;exclude sensitive data) and&lt;/EM&gt;&lt;STRONG&gt; your&amp;nbsp;&lt;STRONG&gt;expected result with backend logic and special examples&lt;/STRONG&gt;&lt;/STRONG&gt;. Thank you.&lt;/P&gt;
&lt;P style="line-height: 1.71429; font-family: SegoeUI, Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 09:09:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-month-calculation/m-p/2397398#M62605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-16T09:09:51Z</dc:date>
    </item>
  </channel>
</rss>

