<?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: SUMMARIZECOLUMNS and ORDER BY in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZECOLUMNS-and-ORDER-BY/m-p/3870910#M151201</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="588396" data-lia-user-login="pasit" class="lia-mention lia-mention-user"&gt;pasit&lt;/a&gt;&amp;nbsp; SUMX is iterator so it provide some values. I guess you need table with output sorted or TOPN like first row for Poisson?&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2024 11:03:50 GMT</pubDate>
    <dc:creator>some_bih</dc:creator>
    <dc:date>2024-04-26T11:03:50Z</dc:date>
    <item>
      <title>SUMMARIZECOLUMNS and ORDER BY</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZECOLUMNS-and-ORDER-BY/m-p/3870253#M151180</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm trying to add ORDER BY in the following DAX measure, but how ? I can not get it working. My goal is to organize return so that the largest Poisson value would be the first&lt;BR /&gt;&lt;BR /&gt;Goals[NumOfGoals] is table with goals 0-6&lt;BR /&gt;HomeTeamAttack is the expected goal value for the team&lt;BR /&gt;At first I used the SUMMARIZE function, but it won't work with the ORDER BY .....&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;CalculatePoissonCombined =&lt;BR /&gt;VAR _table4 =&lt;BR /&gt;SUMMARIZECOLUMNS (&lt;BR /&gt;Goals[NumOfGoals],&lt;BR /&gt;"Poisson",&lt;BR /&gt;SUMX (&lt;BR /&gt;VALUES ( Goals[NumOfGoals] ),&lt;BR /&gt;POISSON.DIST (&lt;BR /&gt;Goals[NumOfGoals],&lt;BR /&gt;[HomeTeamAttack],&lt;BR /&gt;FALSE()&lt;BR /&gt;) * 100&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;RETURN&lt;BR /&gt;SUMX ( _table4, [Poisson] )&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 07:01:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZECOLUMNS-and-ORDER-BY/m-p/3870253#M151180</guid>
      <dc:creator>pasit</dc:creator>
      <dc:date>2024-04-26T07:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: SUMMARIZECOLUMNS and ORDER BY</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZECOLUMNS-and-ORDER-BY/m-p/3870910#M151201</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="588396" data-lia-user-login="pasit" class="lia-mention lia-mention-user"&gt;pasit&lt;/a&gt;&amp;nbsp; SUMX is iterator so it provide some values. I guess you need table with output sorted or TOPN like first row for Poisson?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 11:03:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SUMMARIZECOLUMNS-and-ORDER-BY/m-p/3870910#M151201</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2024-04-26T11:03:50Z</dc:date>
    </item>
  </channel>
</rss>

