<?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: undefined in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/undefined/m-p/4271570#M58154</link>
    <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/837698"&gt;@0134ss&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I created some data:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_0-1730857574961.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1194750i1D221B5A5AA91A20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_0-1730857574961.png" alt="vyangliumsft_0-1730857574961.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create measure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
var _today=TODAY()
var _avgYTD=
AVERAGEX(
    FILTER(ALL('Table'),'Table'[Date]&amp;gt;=DATE(YEAR(_today),1,1)&amp;amp;&amp;amp;'Table'[Date]&amp;lt;=_today),[Value])
var _avgall=
AVERAGEX(
    ALL('Table'),[Value])
return
DIVIDE(_avgYTD,_avgall)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_1-1730857574962.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1194749i80DA83593F4EE6B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_1-1730857574962.png" alt="vyangliumsft_1-1730857574962.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the above results do not meet your expectations, you can express the expected results in the form of a picture, we can better help you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2024 01:48:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-06T01:48:38Z</dc:date>
    <item>
      <title>undefined</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/undefined/m-p/4271166#M58151</link>
      <description>&lt;P&gt;How to find Average YTD percentage using Dax&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 17:58:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/undefined/m-p/4271166#M58151</guid>
      <dc:creator>0134ss</dc:creator>
      <dc:date>2024-11-05T17:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: undefined</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/undefined/m-p/4271570#M58154</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/837698"&gt;@0134ss&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I created some data:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_0-1730857574961.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1194750i1D221B5A5AA91A20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_0-1730857574961.png" alt="vyangliumsft_0-1730857574961.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create measure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
var _today=TODAY()
var _avgYTD=
AVERAGEX(
    FILTER(ALL('Table'),'Table'[Date]&amp;gt;=DATE(YEAR(_today),1,1)&amp;amp;&amp;amp;'Table'[Date]&amp;lt;=_today),[Value])
var _avgall=
AVERAGEX(
    ALL('Table'),[Value])
return
DIVIDE(_avgYTD,_avgall)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vyangliumsft_1-1730857574962.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1194749i80DA83593F4EE6B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vyangliumsft_1-1730857574962.png" alt="vyangliumsft_1-1730857574962.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the above results do not meet your expectations, you can express the expected results in the form of a picture, we can better help you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 01:48:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/undefined/m-p/4271570#M58154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-06T01:48:38Z</dc:date>
    </item>
  </channel>
</rss>

