<?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 Calculated Column of Sum of Score divided count of distinct Projects in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-of-Sum-of-Score-divided-count-of-distinct/m-p/2510598#M69627</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want a calculated column such that total Count of distinct "WS Id" must divide the total Sum of&amp;nbsp;"Average SPE Scores" corresponding to distinct WS Id as shown in the screenshot. The expected results must be that corresponding to each distinct WS Id in a single row the value of calculated column must be displayed in the same row instead of different rows.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance !!!&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2022 12:44:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-05-12T12:44:42Z</dc:date>
    <item>
      <title>Calculated Column of Sum of Score divided count of distinct Projects</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-of-Sum-of-Score-divided-count-of-distinct/m-p/2510598#M69627</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want a calculated column such that total Count of distinct "WS Id" must divide the total Sum of&amp;nbsp;"Average SPE Scores" corresponding to distinct WS Id as shown in the screenshot. The expected results must be that corresponding to each distinct WS Id in a single row the value of calculated column must be displayed in the same row instead of different rows.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance !!!&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 12:44:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-of-Sum-of-Score-divided-count-of-distinct/m-p/2510598#M69627</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-12T12:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Column of Sum of Score divided count of distinct Projects</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-of-Sum-of-Score-divided-count-of-distinct/m-p/2511250#M69660</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; ,The information you have provided is not making the problem clear to me. Can you please explain with an example. &lt;BR /&gt;&lt;BR /&gt;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;BR /&gt;&lt;STRONG&gt;Appreciate your Kudos.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 17:13:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-of-Sum-of-Score-divided-count-of-distinct/m-p/2511250#M69660</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-05-12T17:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Column of Sum of Score divided count of distinct Projects</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-of-Sum-of-Score-divided-count-of-distinct/m-p/2522115#M70381</link>
      <description>&lt;P&gt;Hi&amp;nbsp; Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create calculated column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Flag =
var _Countofdistinct=CALCULATE(DISTINCTCOUNT('Table'[WS Id]),FILTER(ALL('Table'),[GUID]=EARLIER('Table'[GUID])))
var _thetotalSum=SUMX(FILTER(ALL('Table'),'Table'[WS Id]=EARLIER('Table'[WS Id])),[Average SPE Scores])
return
DIVIDE(
    _Countofdistinct,_thetotalSum)&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 05:03:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculated-Column-of-Sum-of-Score-divided-count-of-distinct/m-p/2522115#M70381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-18T05:03:48Z</dc:date>
    </item>
  </channel>
</rss>

