<?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: weighted average in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/weighted-average/m-p/1239061#M20293</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Not very clear. Both formulae seems the same. You can make one of them as count and divide &lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2020 16:12:59 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2020-07-21T16:12:59Z</dc:date>
    <item>
      <title>weighted average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/weighted-average/m-p/1238732#M20278</link>
      <description>&lt;P&gt;Hi community,&lt;BR /&gt;I need calculate a weighted average and i have this condition:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Weight:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Weight = SUMX('Table',&lt;BR /&gt;IF([category]="XPTO1" &amp;amp;&amp;amp;&lt;BR /&gt;MONTH('Table'[Date]) = MONTH(IF(DISTINCTCOUNT('Table'[Date])&amp;gt;1, NOW(),[Date])) &amp;amp;&amp;amp;&lt;BR /&gt;YEAR'Table'[Date]) = YEAR(IF(DISTINCTCOUNT('Table'[Date])&amp;gt;1, NOW(),[Date]))&lt;BR /&gt;,[total])&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Value:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;value= Weight = SUMX('Table',&lt;BR /&gt;IF([category]="XPTO2" &amp;amp;&amp;amp;&lt;BR /&gt;MONTH('Table'[Date]) = MONTH(IF(DISTINCTCOUNT('Table'[Date])&amp;gt;1, NOW(),[Date])) &amp;amp;&amp;amp;&lt;BR /&gt;YEAR'Table'[Date]) = YEAR(IF(DISTINCTCOUNT('Table'[Date])&amp;gt;1, NOW(),[Date]))&lt;BR /&gt;,[total])&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can help me?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 14:36:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/weighted-average/m-p/1238732#M20278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-21T14:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: weighted average</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/weighted-average/m-p/1239061#M20293</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Not very clear. Both formulae seems the same. You can make one of them as count and divide &lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 16:12:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/weighted-average/m-p/1239061#M20293</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-07-21T16:12:59Z</dc:date>
    </item>
  </channel>
</rss>

