<?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 PROMEDIO EXCLUYENDO LOS 0 in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PROMEDIO-EXCLUYENDO-LOS-0/m-p/3494846#M133875</link>
    <description>&lt;P&gt;COMO PUEDO SACAR EL PROMEDIO DESDE EL MES DE SEPTIEMBRE DEL AÑO 2022 A SEPTIEMBRE DEL 2023 EXLUYENDO LOS 0 O NULL.&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>Tue, 24 Oct 2023 21:21:07 GMT</pubDate>
    <dc:creator>REPORTES_WILSON</dc:creator>
    <dc:date>2023-10-24T21:21:07Z</dc:date>
    <item>
      <title>PROMEDIO EXCLUYENDO LOS 0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PROMEDIO-EXCLUYENDO-LOS-0/m-p/3494846#M133875</link>
      <description>&lt;P&gt;COMO PUEDO SACAR EL PROMEDIO DESDE EL MES DE SEPTIEMBRE DEL AÑO 2022 A SEPTIEMBRE DEL 2023 EXLUYENDO LOS 0 O NULL.&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>Tue, 24 Oct 2023 21:21:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PROMEDIO-EXCLUYENDO-LOS-0/m-p/3494846#M133875</guid>
      <dc:creator>REPORTES_WILSON</dc:creator>
      <dc:date>2023-10-24T21:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: PROMEDIO EXCLUYENDO LOS 0</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PROMEDIO-EXCLUYENDO-LOS-0/m-p/3497730#M134025</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="369192" data-lia-user-login="REPORTES_WILSON" class="lia-mention lia-mention-user"&gt;REPORTES_WILSON&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, here are my steps you can follow as a solution.&lt;/P&gt;
&lt;P&gt;(1) This is my test data.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;(2) We can create a measure.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
var _a=CALCULATE(SUM('Table'[value]),FILTER(ALL('Table'),'Table'[date]&amp;lt;=DATE(2023,9,30) &amp;amp;&amp;amp; 'Table'[date] &amp;gt;=DATE(2022,9,1)))
var _b=ADDCOLUMNS(ALL('Table'),"Year",YEAR('Table'[date]),"Month",MONTH('Table'[date]))
var _c= SUMMARIZE(_b,[Year],[Month],"sum",SUM('Table'[value]))
var _d=COUNTROWS(FILTER(_c,[sum]&amp;lt;&amp;gt;0 &amp;amp;&amp;amp; [sum] &amp;lt;&amp;gt; BLANK()))
return DIVIDE(_a,_d)&lt;/LI-CODE&gt;
&lt;P&gt;(3) Then the result is as follows.&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;If the above one can't help you get the desired result, please provide some&amp;nbsp;&lt;STRONG&gt;sample data&lt;/STRONG&gt;&amp;nbsp;in your tables (&lt;STRONG&gt;exclude&amp;nbsp;sensitive&amp;nbsp;data&lt;/STRONG&gt;) with&amp;nbsp;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;format and your&amp;nbsp;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&amp;nbsp;with backend logic and special examples.&amp;nbsp;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&amp;nbsp;if you can share a&amp;nbsp;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;pbix file.&amp;nbsp;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 05:42:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/PROMEDIO-EXCLUYENDO-LOS-0/m-p/3497730#M134025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-26T05:42:39Z</dc:date>
    </item>
  </channel>
</rss>

