<?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 in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401569#M62873</link>
    <description>&lt;P&gt;Sure.&amp;nbsp; See below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2022 19:41:34 GMT</pubDate>
    <dc:creator>rwong1</dc:creator>
    <dc:date>2022-03-17T19:41:34Z</dc:date>
    <item>
      <title>AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2399469#M62718</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I create another table that shows the monthly average of the NFE by month and year?&amp;nbsp; I then will convert that to a line chart.&amp;nbsp; Here is the sample data:&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;</description>
      <pubDate>Thu, 17 Mar 2022 04:10:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2399469#M62718</guid>
      <dc:creator>rwong1</dc:creator>
      <dc:date>2022-03-17T04:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2399481#M62720</link>
      <description>&lt;P&gt;The NFE amount is created from a measure.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 04:30:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2399481#M62720</guid>
      <dc:creator>rwong1</dc:creator>
      <dc:date>2022-03-17T04:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2399537#M62724</link>
      <description>&lt;P&gt;You dont need to create another table. Just create a measure:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;AverageNFE = AVERAGE( TableName[NFE])&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And use that in a line chart.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 05:17:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2399537#M62724</guid>
      <dc:creator>Tutu_in_YYC</dc:creator>
      <dc:date>2022-03-17T05:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2399568#M62726</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="288763" data-lia-user-login="rwong1" class="lia-mention lia-mention-user"&gt;rwong1&lt;/a&gt; , Assume you need Avg of measure &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AverageX(Addcolumns(Summarize(Table, Table[Year], Table[Month]), "_sum", [NFE]), [_sum])&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 05:31:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2399568#M62726</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-17T05:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2400938#M62821</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It only picked up the last value.&amp;nbsp; It did not do the average.&amp;nbsp; Please advise.&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;</description>
      <pubDate>Thu, 17 Mar 2022 14:43:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2400938#M62821</guid>
      <dc:creator>rwong1</dc:creator>
      <dc:date>2022-03-17T14:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401014#M62825</link>
      <description>&lt;P&gt;if you use the function AVERAGE, it will calculate the average. You will also need a &lt;STRONG&gt;Year-Month&lt;/STRONG&gt; column to be used in the visual. Create this calculated column in the table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Year-Date = YEAR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;"-"&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;FORMAT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"MM"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;[Date] will be replace by the column in your table that has the date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Than plot a line chart or a table using &lt;STRONG&gt;Year-Date&lt;/STRONG&gt; and the measure you have created.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 15:06:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401014#M62825</guid>
      <dc:creator>Tutu_in_YYC</dc:creator>
      <dc:date>2022-03-17T15:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401132#M62836</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just tried that and got the following error:&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;</description>
      <pubDate>Thu, 17 Mar 2022 15:53:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401132#M62836</guid>
      <dc:creator>rwong1</dc:creator>
      <dc:date>2022-03-17T15:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401140#M62839</link>
      <description>&lt;P&gt;The Date is a date type, not a text type.&amp;nbsp; I checked.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 15:54:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401140#M62839</guid>
      <dc:creator>rwong1</dc:creator>
      <dc:date>2022-03-17T15:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401158#M62841</link>
      <description>&lt;P&gt;Use Year-Month as data type &lt;STRONG&gt;Text &lt;/STRONG&gt;and visualize that.&lt;BR /&gt;&lt;BR /&gt;For future reports, i recommend having a separate date/calendar table&lt;BR /&gt;&lt;A href="https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/" target="_blank"&gt;https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 16:00:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401158#M62841</guid>
      <dc:creator>Tutu_in_YYC</dc:creator>
      <dc:date>2022-03-17T16:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401170#M62842</link>
      <description>&lt;P&gt;It still didn't work.&amp;nbsp; Please advise.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 16:07:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401170#M62842</guid>
      <dc:creator>rwong1</dc:creator>
      <dc:date>2022-03-17T16:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401172#M62844</link>
      <description>&lt;P&gt;Can you provide the pbix?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 16:08:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401172#M62844</guid>
      <dc:creator>Tutu_in_YYC</dc:creator>
      <dc:date>2022-03-17T16:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401534#M62866</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I put in your formula but it's only taking the last day of the month.&amp;nbsp; How do I do the average for the whole month that pertains to a particular year?&amp;nbsp; Don't I need inbetween dates function?&amp;nbsp; See below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&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>Thu, 17 Mar 2022 19:21:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401534#M62866</guid>
      <dc:creator>rwong1</dc:creator>
      <dc:date>2022-03-17T19:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401541#M62867</link>
      <description>&lt;P&gt;In this case, the average from the measure should show 6,067,963.98 if the formula worked properly.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 19:24:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401541#M62867</guid>
      <dc:creator>rwong1</dc:creator>
      <dc:date>2022-03-17T19:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401544#M62868</link>
      <description>&lt;P&gt;Is there any other way to do this besides sharing the file?&amp;nbsp; It has confidential info in it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 19:25:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401544#M62868</guid>
      <dc:creator>rwong1</dc:creator>
      <dc:date>2022-03-17T19:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401551#M62869</link>
      <description>&lt;P&gt;See if this helps ( or if this is what you are trying to achieve )&lt;BR /&gt;&lt;BR /&gt;&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>Thu, 17 Mar 2022 19:31:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401551#M62869</guid>
      <dc:creator>Tutu_in_YYC</dc:creator>
      <dc:date>2022-03-17T19:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401552#M62870</link>
      <description>&lt;P&gt;Yes exactly.&amp;nbsp; How do I get to this?&amp;nbsp; My date format is a little different.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 19:32:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401552#M62870</guid>
      <dc:creator>rwong1</dc:creator>
      <dc:date>2022-03-17T19:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401556#M62871</link>
      <description>&lt;P&gt;Can you provide a snapshot of just your [Posting Date_1] column? I think that is your issue here. I assume it will look something like this : 3/16/2021&lt;FONT color="#FF6600"&gt;-03 &lt;FONT color="#000000"&gt;and it is not a date type&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&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;FONT color="#FF6600"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 19:36:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401556#M62871</guid>
      <dc:creator>Tutu_in_YYC</dc:creator>
      <dc:date>2022-03-17T19:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401569#M62873</link>
      <description>&lt;P&gt;Sure.&amp;nbsp; See below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 19:41:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401569#M62873</guid>
      <dc:creator>rwong1</dc:creator>
      <dc:date>2022-03-17T19:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401577#M62875</link>
      <description>&lt;P&gt;That looks good. What about the calculated column?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 19:45:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401577#M62875</guid>
      <dc:creator>Tutu_in_YYC</dc:creator>
      <dc:date>2022-03-17T19:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: AVERAGE</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401616#M62877</link>
      <description>&lt;P&gt;Ok, now there is no error.&amp;nbsp; Not sure what happened.&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;</description>
      <pubDate>Thu, 17 Mar 2022 20:15:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/AVERAGE/m-p/2401616#M62877</guid>
      <dc:creator>rwong1</dc:creator>
      <dc:date>2022-03-17T20:15:28Z</dc:date>
    </item>
  </channel>
</rss>

