<?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: moving average help in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4987354#M187045</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190710" data-lia-user-login="gilmore_staci" class="lia-mention lia-mention-user"&gt;gilmore_staci&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P data-start="101" data-end="201"&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;&amp;amp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287762" data-lia-user-login="FBergamaschi" class="lia-mention lia-mention-user"&gt;FBergamaschi&lt;/a&gt;&amp;nbsp;, response looks good. Please let us know if you are facing any issues or if you need any additional details or assistance from our side.&lt;/P&gt;
&lt;P data-start="101" data-end="201"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="101" data-end="201"&gt;Thank you for your valuable response, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287762" data-lia-user-login="FBergamaschi" class="lia-mention lia-mention-user"&gt;FBergamaschi&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P data-start="101" data-end="201"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="101" data-end="201"&gt;Regards,&lt;/P&gt;
&lt;P data-start="101" data-end="201"&gt;Yugandhar.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Feb 2026 05:46:00 GMT</pubDate>
    <dc:creator>V-yubandi-msft</dc:creator>
    <dc:date>2026-02-02T05:46:00Z</dc:date>
    <item>
      <title>moving average help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4948386#M186997</link>
      <description>&lt;P&gt;I'm trying to add a Moving 3 month average to my Line Chart.&amp;nbsp; The field being used for the x-axis is a text field so I can just see Month-Year.&amp;nbsp; I put the Date that the text came from in the calculation the moving average line is the same as my data line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I make the x-axis field (Year Month Incident Resolved) a date field but not mess with the formatting of the line chart?&amp;nbsp; If I use the text field in my moving average, it obviously throws an error saying its not a date field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Moving_Average_3_Months =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;AVERAGEX&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[Dealer Resolution Rate]&lt;/SPAN&gt;&lt;SPAN&gt; ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;DATESINPERIOD&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[Date Incident Resolved]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;LASTDATE&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[Date Incident Resolved]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;MONTH&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Jan 2026 21:47:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4948386#M186997</guid>
      <dc:creator>gilmore_staci</dc:creator>
      <dc:date>2026-01-28T21:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: moving average help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4948419#M187000</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190710" data-lia-user-login="gilmore_staci" class="lia-mention lia-mention-user"&gt;gilmore_staci&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;In order to use any time intelligence calculation (as DATESINPERIOD), you need a well-formed date table.&lt;BR /&gt;I understand that the "case" table is the table where you register your transactions (and therefore should not be your date table).&lt;BR /&gt;please try to adjust your model creating a calendar table and its relationship with the case table. please check if it resolve your needs.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/datesinperiod-function-dax" target="_blank"&gt;https://learn.microsoft.com/en-us/dax/datesinperiod-function-dax&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If this response was helpful in any way, I’d gladly accept a&amp;nbsp;kudo.&lt;BR /&gt;&lt;STRONG&gt;Please mark it as the correct solution&lt;/STRONG&gt;. It helps other community members find their way faster.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 23:10:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4948419#M187000</guid>
      <dc:creator>pcoley</dc:creator>
      <dc:date>2026-01-28T23:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: moving average help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4951989#M187004</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190710" data-lia-user-login="gilmore_staci" class="lia-mention lia-mention-user"&gt;gilmore_staci&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Time intelligence functions (like DATESINPERIOD,&amp;nbsp;LASTDATE&amp;nbsp;) rely on dedicated date table.&lt;BR /&gt;Supposing you have a data table like below:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;date&lt;/TD&gt;&lt;TD&gt;rate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025/1/1&lt;/TD&gt;&lt;TD&gt;0.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025/2/1&lt;/TD&gt;&lt;TD&gt;0.12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025/3/1&lt;/TD&gt;&lt;TD&gt;0.14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025/4/1&lt;/TD&gt;&lt;TD&gt;0.16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025/5/1&lt;/TD&gt;&lt;TD&gt;0.18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025/6/1&lt;/TD&gt;&lt;TD&gt;0.2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025/7/1&lt;/TD&gt;&lt;TD&gt;0.22&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025/8/1&lt;/TD&gt;&lt;TD&gt;0.24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025/9/1&lt;/TD&gt;&lt;TD&gt;0.26&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025/10/1&lt;/TD&gt;&lt;TD&gt;0.28&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2025/11/1&lt;/TD&gt;&lt;TD&gt;0.3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;You may try the following:&lt;BR /&gt;1) write a calculated table like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;dates = 
ADDCOLUMNS(
    CALENDAR(MIN(data[date]), MAX(data[date])),
    "YY/MM", FORMAT([Date], "YY/MM")
 )&lt;/LI-CODE&gt;&lt;P&gt;2) relate data[date] with the dates[date]&lt;/P&gt;&lt;P&gt;3) plot an chart/table visual with dates[yy/mm] and a measure like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;3M Avg Moving = 
VAR _date = MAX(dates[date])
VAR _result =
CALCULATE(
    AVERAGE(data[rate]),
    DATESINPERIOD(dates[Date], _date, -3, MONTH)
)
RETURN _result&lt;/LI-CODE&gt;&lt;P&gt;it works like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 06:47:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4951989#M187004</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2026-01-29T06:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: moving average help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4952196#M187005</link>
      <description>&lt;P&gt;Or try without Time Intelligence Functions, like:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1) write a calculated column in data table like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;YY/MM = FORMAT([date], "YY/MM")&lt;/LI-CODE&gt;&lt;P&gt;2) plot a visual with data[yy/mm] with a measure like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;3M Avg Moving NonTIF = 
VAR _end = MAX(data[date])
VAR _start = EDATE(_end, -3) 
VAR _result =
CALCULATE(
    AVERAGE(data[rate]),
    data[date]&amp;gt;_start &amp;amp;&amp;amp; data[date]&amp;lt;=_end,
    ALLEXCEPT(data, data[date])
)
RETURN _result&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it works like:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 06:54:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4952196#M187005</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2026-01-29T06:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: moving average help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4959190#M187016</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="80476" data-lia-user-login="gfreeman" class="lia-mention lia-mention-user"&gt;gfreeman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I'm missing something.&amp;nbsp; In my visual I have&lt;/P&gt;&lt;P&gt;x-axis:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Year Date Incident Resolved =&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[Date Incident Resolved]&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;[Month]&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;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[Date Incident Resolved]&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;[Year]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Which is text&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[Date Incident Resolved] is modeled to my 'Calendar'[Date] field&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Date Incident Resolved is a Date field&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;y-axis:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Dealer Resolution Rate =&lt;/SPAN&gt; &lt;SPAN&gt;IFERROR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[FalseCount]&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[Count of incidents resolved in Month]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;which is percentage&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Count of incidents resolved &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; Month =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'CASE'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;USERELATIONSHIP&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[Incident Resolved]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Incident Resolved is a Date/Time field&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Do I create YY/MM in my Calendar table or Case table?&amp;nbsp; I've added it to both and added in your 3M Avg calcs (updating to my info) to both and I'm getting no data in my visual.&amp;nbsp; Do my other calculations need to be reworked?&amp;nbsp; If I add in YY/MM to the x-axis i'm getting all the data lines again for Dealer Resolution Rate, not by month.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Jan 2026 16:26:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4959190#M187016</guid>
      <dc:creator>gilmore_staci</dc:creator>
      <dc:date>2026-01-29T16:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: moving average help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4959861#M187017</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190710" data-lia-user-login="gilmore_staci" class="lia-mention lia-mention-user"&gt;gilmore_staci&lt;/a&gt;&amp;nbsp;if you want to use time intelligence functions: in the report you should use the "date" from a column of the Dimensional DateTable not from a column of the "Case" table.&lt;BR /&gt;You should have a DateTable to be used as a dimensional table: with a relationship one to many pointing the dates column in your transactional table.&amp;nbsp;&lt;BR /&gt;Please see how what&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt; includes diferent tables in his first post: creating a DateTable; and proposed (in his second post) an option using the dates from your transactional table.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;you dont need a measure to get the format of MM/YY to be used in the report, this calculated value won´t have a valid field with that calculated value in the table to iterate over that field...&lt;BR /&gt;&lt;BR /&gt;please check&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;second post.&lt;BR /&gt;Create a new CalculatedColumn inside your case table.&lt;BR /&gt;Use that CalculatedColumn (directly) in your report.&lt;BR /&gt;Use the next measure in your report:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MovingAvg_3M_CaseDates = 
VAR _end = MAX('Case'[Date Incident Resolved])
VAR _start = EDATE(_end, -3) 
VAR _result =
CALCULATE(
    AVERAGE('Case'[Dealer Resolution Rate]),
    'Case'[Date Incident Resolved]&amp;gt;_start &amp;amp;&amp;amp; 'Case'[Date Incident Resolved]&amp;lt;=_end,
    ALLEXCEPT('Case', 'Case'[Date Incident Resolved])
)
RETURN _result&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this response was helpful in any way, I’d gladly accept a&amp;nbsp;kudo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Please mark it as the correct solution&lt;/STRONG&gt;&lt;SPAN&gt;. It helps other community members find their way faster.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 18:12:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4959861#M187017</guid>
      <dc:creator>pcoley</dc:creator>
      <dc:date>2026-01-29T18:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: moving average help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4976894#M187044</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190710" data-lia-user-login="gilmore_staci" class="lia-mention lia-mention-user"&gt;gilmore_staci&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;why not using a visual calc here? But in order to help you can you show pictures of the "mess" you refer to?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this helped, please consider giving kudos and mark as a solution&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;@me in replies or I'll lose your thread&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Want to check your DAX skills? &lt;A href="https://www.linkedin.com/company/kubisco/" target="_blank"&gt;Answer my biweekly DAX challenges on the kubisco Linkedin page&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Consider voting &lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/Power-BI-Filter-Pane-as-an-icon-on-the-right-side-bar-in-on/idi-p/4728588" target="_blank"&gt;this Power BI idea&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Francesco Bergamaschi&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;MBA, M.Eng, M.Econ, Professor of BI&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jan 2026 10:06:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4976894#M187044</guid>
      <dc:creator>FBergamaschi</dc:creator>
      <dc:date>2026-01-31T10:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: moving average help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4987354#M187045</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190710" data-lia-user-login="gilmore_staci" class="lia-mention lia-mention-user"&gt;gilmore_staci&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P data-start="101" data-end="201"&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;&amp;amp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287762" data-lia-user-login="FBergamaschi" class="lia-mention lia-mention-user"&gt;FBergamaschi&lt;/a&gt;&amp;nbsp;, response looks good. Please let us know if you are facing any issues or if you need any additional details or assistance from our side.&lt;/P&gt;
&lt;P data-start="101" data-end="201"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="101" data-end="201"&gt;Thank you for your valuable response, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1287762" data-lia-user-login="FBergamaschi" class="lia-mention lia-mention-user"&gt;FBergamaschi&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P data-start="101" data-end="201"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="101" data-end="201"&gt;Regards,&lt;/P&gt;
&lt;P data-start="101" data-end="201"&gt;Yugandhar.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 05:46:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4987354#M187045</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2026-02-02T05:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: moving average help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4996482#M187064</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190710" data-lia-user-login="gilmore_staci" class="lia-mention lia-mention-user"&gt;gilmore_staci&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P data-start="93" data-end="298"&gt;We haven’t received a response from your end yet. Please let us know whether the issue has been resolved or if you’re still facing any difficulties. Feel free to reach out if you need further assistance.&lt;/P&gt;
&lt;P data-start="93" data-end="298"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="305" data-end="315"&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 10:40:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4996482#M187064</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2026-02-05T10:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: moving average help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4998263#M187065</link>
      <description>&lt;P&gt;I understand what needs to be done, but in order to get my original data, the x-axis date is coming from my Case table.&amp;nbsp; If I swtich and model the date to the Date in my Calendar table, my original data all ends up as either zero's or I end up getting every single day, not a combined month data.&amp;nbsp; I will post pics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 17:04:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4998263#M187065</guid>
      <dc:creator>gilmore_staci</dc:creator>
      <dc:date>2026-02-05T17:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: moving average help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4999070#M187071</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190710" data-lia-user-login="gilmore_staci" class="lia-mention lia-mention-user"&gt;gilmore_staci&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Based on the screenshots, it seems the relationship between your Case date and Calendar date is inactive. This causes the visual to display 0s when you set the X-axis to the Calendar table, as it doesn’t filter the Case table correctly.&lt;/P&gt;
&lt;P&gt;Try these steps.&lt;/P&gt;
&lt;P&gt;1. Verify that the relationship between Case[Date Incident Resolved] and Calendar[Date] is active.&lt;/P&gt;
&lt;P&gt;2. Use a Month Year column from the Calendar table&amp;nbsp; for the X-axis instead of a text field from the Case table.&lt;/P&gt;
&lt;P&gt;3. Note that using the full Date field will show daily values in Power BI, so a Month-Year column will keep it grouped by month.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once the relationship is active and the axis is set from the Calendar table, your monthly values and 3 month moving average should display correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for sharing more details and your insights.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 10:59:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/4999070#M187071</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2026-02-06T10:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: moving average help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/5001290#M187087</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190710" data-lia-user-login="gilmore_staci" class="lia-mention lia-mention-user"&gt;gilmore_staci&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P data-start="295" data-end="329"&gt;&lt;SPAN&gt;Could you please let us know whether your issue has been resolved, or if you are still facing any issues. If you need any additional details or clarification, please feel free to let us know.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 11:54:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/5001290#M187087</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2026-02-09T11:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: moving average help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/5004311#M187095</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="883001" data-lia-user-login="V-yubandi-msft" class="lia-mention lia-mention-user"&gt;V-yubandi-msft&lt;/a&gt;&amp;nbsp;thank you, I'm getting closer.&amp;nbsp; The moving average is giving zero for the data points but the line seems correct.&amp;nbsp; The only thing I can see is the AVERAGE in the calculation.&amp;nbsp; If I use AVERAGE it says I can't use Dealer Resolution Rate its either not in the table or can't be used in the expression.&amp;nbsp; It doesn't give an error if I use AVERAGEX, but also gives me zeros&lt;/P&gt;&lt;P&gt;Dealer Resolution Rate(percentage) =&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IFERROR&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[FalseCount]&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[Count of incidents resolved in Month]&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Moving_Average_3_Months =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;_end&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[Date Incident Resolved]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;_start&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;EDATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;_end&lt;/SPAN&gt;&lt;SPAN&gt;, -&lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt; &lt;SPAN&gt;_result&lt;/SPAN&gt;&lt;SPAN&gt; =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;AVERAGEX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[Dealer Resolution Rate]&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[Date Incident Resolved]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;_start&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[Date Incident Resolved]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;_end&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ALLEXCEPT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Case'&lt;/SPAN&gt;&lt;SPAN&gt;[Date Incident Resolved]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt; &lt;SPAN&gt;_result&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&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;</description>
      <pubDate>Tue, 10 Feb 2026 16:17:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/5004311#M187095</guid>
      <dc:creator>gilmore_staci</dc:creator>
      <dc:date>2026-02-10T16:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: moving average help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/5004808#M187097</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="190710" data-lia-user-login="gilmore_staci" class="lia-mention lia-mention-user"&gt;gilmore_staci&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for sharing the formula. The error with AVERAGE occurs because Dealer Resolution Rate is a measure, not a column. AVERAGE works only with columns, so Power BI doesn’t allow it here. This is also why AVERAGEX doesn’t return an error but gives zeros, as it iterates row by row while your percentage is already calculated as a measure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the value is already aggregated, there’s no need to average it again over the Case table. Instead, the moving average should evaluate the measure over the last 3 months using the date context, allowing Power BI to calculate the measure across the previous 3 months based on the date filter, rather than averaging row-level values, which can lead to zeros.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps....&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 05:21:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/moving-average-help/m-p/5004808#M187097</guid>
      <dc:creator>V-yubandi-msft</dc:creator>
      <dc:date>2026-02-11T05:21:13Z</dc:date>
    </item>
  </channel>
</rss>

