<?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: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3144368#M112415</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458216" data-lia-user-login="jesusssss" class="lia-mention lia-mention-user"&gt;jesusssss&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Sorry I did not notice your reply. You need to use "sort by column" to sort the [monthname] column by the [&lt;SPAN&gt;Number of the month] column&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 10:50:00 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-03-21T10:50:00Z</dc:date>
    <item>
      <title>Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3132763#M111524</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I'm having an issue and we are not able to create a measure to calculate the average of these month-to-month data. We are not sure what is happening when we use the average or averagex formula.&lt;/P&gt;&lt;P&gt;What I am trying to calculate is the sum of a column where we have different prices and then I want to calculate the month-to-month average of each data point, but I am not sure what it is calculating for me.&lt;/P&gt;&lt;P&gt;Measures: 17.1 Provider Cost Sum = SUM('17-Volume billing'[Provider Cost]) Average = AVERAGEX('17-Volume billing',[17.1 Provider Cost Sum])&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 07:36:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3132763#M111524</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2023-03-15T07:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3132885#M111527</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458216" data-lia-user-login="jesusssss" class="lia-mention lia-mention-user"&gt;jesusssss&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please provide couple of examples&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 08:24:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3132885#M111527</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-03-15T08:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3132978#M111533</link>
      <description>&lt;P&gt;Please Provide more info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 09:09:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3132978#M111533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-15T09:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3133089#M111542</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;and&amp;nbsp;Anonymous&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In this Excel file, you can see the unit price data per month and then the average, which is what we would like to replicate in Power BI. The function in the Average cell is in Spanish but it is AVERAGE($B$6:D$6), and we replicated that function in the other cells.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In this image, you can see the column for which we want to calculate the average, which we achieved by creating a custom column that multiplies "quantity" by "net price."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As you can see, the average in the Excel table is not the same as the one I get when I use the AVERAGE function in Power BI, I hope this extra information has been helpful and that we can identify what the problem is. Thank you very much for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 10:07:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3133089#M111542</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2023-03-15T10:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3133134#M111547</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458216" data-lia-user-login="jesusssss" class="lia-mention lia-mention-user"&gt;jesusssss&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Average =
VAR CurrentDia =
    MAX ( 'Table'[Dia] )
VAR DiaOnAndBefore =
    FILTER ( ALLSELECTED ( 'Table'[Dia] ), 'Table'[Dia] &amp;lt;= CurrentDia )
RETURN
    IF (
        [17.1 Provider Cost Sum] &amp;lt;&amp;gt; BLANK (),
        AVERAGEX ( DiaOnAndBefore, [17.1 Provider Cost Sum] )
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 15 Mar 2023 10:26:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3133134#M111547</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-03-15T10:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3133177#M111552</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I just tried it, but I'm still getting the same result as with the average measure. What I think is that it has to do with the calendar[date], meaning that when you put Table[day], I thought you were referring to my date calendar table, but it's still not working. Maybe I have to create an additional column in the calendar table?&lt;/SPAN&gt;&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>Wed, 15 Mar 2023 10:43:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3133177#M111552</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2023-03-15T10:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3133233#M111561</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458216" data-lia-user-login="jesusssss" class="lia-mention lia-mention-user"&gt;jesusssss&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Average =
VAR CurrentDate =
    MAX ( Calendario[Date] )
VAR DatesOnAndBefore =
    CALCULATETABLE (
        VALUES ( Calendario[Mes] ),
        Calendario[Date] &amp;lt;= CurrentDate,
        ALLSELECTED ()
    )
RETURN
    IF (
        [17.1 Provider Cost Sum] &amp;lt;&amp;gt; BLANK (),
        AVERAGEX ( DatesOnAndBefore, [17.1 Provider Cost Sum] )
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 15 Mar 2023 11:08:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3133233#M111561</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-03-15T11:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3135879#M111764</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, I have already tested it and the result is this. They are giving me the same data. I don't know if you know why this could be happening, if it could be an error in the calculation of the supplier cost sum column or in the calendar.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;thanks for the help,&lt;SPAN&gt;Let's see if we can figure out what the error is.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 10:49:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3135879#M111764</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2023-03-16T10:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3135909#M111766</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458216" data-lia-user-login="jesusssss" class="lia-mention lia-mention-user"&gt;jesusssss&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Anything else in the filter context other than Month? Also lets avoid using the [Date].[Month] and create the column [Month] or [Year-Month] in the Calendar table.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 11:02:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3135909#M111766</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-03-16T11:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3135978#M111768</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The only filters that exist are the year and month filters.&lt;/SPAN&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;SPAN&gt;I just created a column in my calendar table that refers to the months.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But the average is still coming out wrong&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 11:17:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3135978#M111768</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2023-03-16T11:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136005#M111771</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458216" data-lia-user-login="jesusssss" class="lia-mention lia-mention-user"&gt;jesusssss&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;In the table and slicer also use the [monthname] column. Do the same for the [Year]&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 11:25:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136005#M111771</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-03-16T11:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136053#M111776</link>
      <description>&lt;P&gt;I have changed the filters on the slicers for the new dates columns of year and month that i have alredy created but it doesn´t work.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 11:55:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136053#M111776</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2023-03-16T11:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136133#M111780</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458216" data-lia-user-login="jesusssss" class="lia-mention lia-mention-user"&gt;jesusssss&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;What about this?&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please paste the final DAX you're using&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 12:20:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136133#M111780</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-03-16T12:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136235#M111787</link>
      <description>&lt;P&gt;You are right, that section was not changed but I changed it and it seems that it takes me new data but it still does not average the excel&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 12:57:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136235#M111787</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2023-03-16T12:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136320#M111791</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458216" data-lia-user-login="jesusssss" class="lia-mention lia-mention-user"&gt;jesusssss&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Average =
VAR MaxDate =
    MAX ( Calendario[Date] )
VAR MinDate =
    CALCULATE ( MIN ( Calendario[Date] ), ALLSELECTED ( Calendario ) )
VAR DatesOnAndBefore =
    CALCULATETABLE (
        VALUES ( Calendario[Mes] ),
        Calendario[Date] &amp;lt;= MaxDate,
        Calendario[Date] &amp;gt;= MinDate,
        ALLSELECTED ()
    )
RETURN
    IF (
        [17.1 Provider Cost Sum] &amp;lt;&amp;gt; BLANK (),
        AVERAGEX ( DatesOnAndBefore, [17.1 Provider Cost Sum] )
    )&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 16 Mar 2023 13:24:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136320#M111791</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-03-16T13:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136456#M111801</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I already tested it and it works correctly, thank you very very much. The only thing is that the month column I created appears to be disordered, I don't know if you know how to fix it.&lt;/SPAN&gt;&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;</description>
      <pubDate>Thu, 16 Mar 2023 14:07:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136456#M111801</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2023-03-16T14:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136481#M111805</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458216" data-lia-user-login="jesusssss" class="lia-mention lia-mention-user"&gt;jesusssss&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a month number column and use "sort by column " to sort the monthname by monthnunber&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 14:15:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136481#M111805</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-03-16T14:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136491#M111807</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Perfect, it worked correctly. Thank you very much for everything.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 14:19:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3136491#M111807</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2023-03-16T14:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3138712#M111974</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yesterday, I thought I had managed to sort it out, but apparently not because when I sort it by the 'date' column with the formula I created, it messes up the average again.&lt;/P&gt;&lt;P&gt;This is without sorting.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this is when I sort it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the columns that I have&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calendario = CALENDAR(DATE(2022,1,1),MAXX(Fecha,Fecha[FechaEntregaPrevista]))&lt;/P&gt;&lt;P&gt;monthname = FORMAT(Calendario[Date],"MMMM")&lt;/P&gt;&lt;P&gt;yearname = YEAR(Calendario[Date])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Number of the month = MONTH(Calendario[Date])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what's going on, whether it's a problem with the calendar table or not. I'm not sure if there is another way to sort the column or to create a 'month' column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 12:00:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3138712#M111974</guid>
      <dc:creator>jesusssss</dc:creator>
      <dc:date>2023-03-17T12:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with calculating month-to-month average using AVERAGE or AVERAGEX formula in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3144368#M112415</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="458216" data-lia-user-login="jesusssss" class="lia-mention lia-mention-user"&gt;jesusssss&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Sorry I did not notice your reply. You need to use "sort by column" to sort the [monthname] column by the [&lt;SPAN&gt;Number of the month] column&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 10:50:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Issue-with-calculating-month-to-month-average-using-AVERAGE-or/m-p/3144368#M112415</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-03-21T10:50:00Z</dc:date>
    </item>
  </channel>
</rss>

