<?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 for the month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-for-the-month/m-p/2887508#M93648</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;It is for creating a table visualization.&lt;/P&gt;
&lt;P&gt;In case calendar table does not exist, please try creating a additional columns in the same table like below, and then use Month Year CC column as an axis.&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;
&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 06 Nov 2022 12:40:51 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2022-11-06T12:40:51Z</dc:date>
    <item>
      <title>Average for the month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-for-the-month/m-p/2887451#M93643</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; I need a monthly average of the following fornightly data.&amp;nbsp; Note: Some months have two fortnights and some have three.&lt;/P&gt;&lt;P&gt;I will be filtering by month and year.&lt;/P&gt;&lt;P&gt;Happy to use M Query or DAX, whichever is easiest.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 12:28:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-for-the-month/m-p/2887451#M93643</guid>
      <dc:creator>Mikeincairns</dc:creator>
      <dc:date>2022-11-06T12:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Average for the month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-for-the-month/m-p/2887502#M93647</link>
      <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="45567" data-lia-user-login="Mikeincairns" class="lia-mention lia-mention-user"&gt;Mikeincairns&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add a new column month&lt;/P&gt;&lt;P&gt;Month = MONTH([Date])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the average of each month is&lt;/P&gt;&lt;P&gt;New measure = CALCULATE(AVERAGE([Actual Payroll FTEs per fnight]),ALLEXCEPT(table,[Month]))&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 12:39:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-for-the-month/m-p/2887502#M93647</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-06T12:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Average for the month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-for-the-month/m-p/2887508#M93648</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;It is for creating a table visualization.&lt;/P&gt;
&lt;P&gt;In case calendar table does not exist, please try creating a additional columns in the same table like below, and then use Month Year CC column as an axis.&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;
&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 12:40:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-for-the-month/m-p/2887508#M93648</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-11-06T12:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Average for the month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-for-the-month/m-p/2887515#M93649</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;and&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I also got to it with the CALCULATE function.&amp;nbsp; I had&amp;nbsp;&lt;BR /&gt;=CALCULATE(AVGERAGE(tblPayroll[Actual payroll FTEs per fnight]),&lt;BR /&gt;&amp;nbsp; FILTER(tblPayroll,tblPayroll[Date]&amp;nbsp;)&lt;BR /&gt;&amp;nbsp; &amp;nbsp;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which seems to work.&lt;BR /&gt;I will also try to figure the logic suggested by&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 12:50:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Average-for-the-month/m-p/2887515#M93649</guid>
      <dc:creator>Mikeincairns</dc:creator>
      <dc:date>2022-11-06T12:50:04Z</dc:date>
    </item>
  </channel>
</rss>

