<?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: Need some clarifications with TOPN &amp;amp; how to add more criteria in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-clarifications-with-TOPN-amp-how-to-add-more-criteria/m-p/4826889#M184426</link>
    <description>&lt;P&gt;You can specify multiple sort criteria for TOPN.&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/dax/topn-function-dax" target="_blank" rel="noopener"&gt;TOPN function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Sep 2025 01:05:16 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2025-09-16T01:05:16Z</dc:date>
    <item>
      <title>Need some clarifications with TOPN &amp; how to add more criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-clarifications-with-TOPN-amp-how-to-add-more-criteria/m-p/4826878#M184425</link>
      <description>&lt;P&gt;I have bottom DAX that illustrates TOPN:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;My understanding with TOPN is that it returns the top row.&lt;/P&gt;&lt;P&gt;So, for this case, because we have &lt;STRONG&gt;same&lt;/STRONG&gt; value for "MaxTotalWHSS", it would return 5 rows, &lt;STRONG&gt;instead of 1 row&lt;/STRONG&gt;, correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I add more criteria so that it would be something like:&lt;/P&gt;&lt;P&gt;tblSurvey[MaxTotalWHSS] ASC &lt;STRONG&gt;and&lt;/STRONG&gt;&amp;nbsp;tblSurvey[ProcessingDate] ASC ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2025 23:44:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-clarifications-with-TOPN-amp-how-to-add-more-criteria/m-p/4826878#M184425</guid>
      <dc:creator>JustinDoh1</dc:creator>
      <dc:date>2025-09-15T23:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need some clarifications with TOPN &amp; how to add more criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-clarifications-with-TOPN-amp-how-to-add-more-criteria/m-p/4826889#M184426</link>
      <description>&lt;P&gt;You can specify multiple sort criteria for TOPN.&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/dax/topn-function-dax" target="_blank" rel="noopener"&gt;TOPN function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Sep 2025 01:05:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-clarifications-with-TOPN-amp-how-to-add-more-criteria/m-p/4826889#M184426</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-09-16T01:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need some clarifications with TOPN &amp; how to add more criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-clarifications-with-TOPN-amp-how-to-add-more-criteria/m-p/4827095#M184428</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="296339" data-lia-user-login="JustinDoh1" class="lia-mention lia-mention-user"&gt;JustinDoh1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you can try below snippet.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table 2 = TOPN(1,
FILTER(
    ALL('Table'),
    'Table'[StartCutOff]&amp;gt;=0
),
'Table'[MaxTotalWHSS],ASC,'Table'[ProcessingDate],ASC)
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 16 Sep 2025 05:52:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Need-some-clarifications-with-TOPN-amp-how-to-add-more-criteria/m-p/4827095#M184428</guid>
      <dc:creator>Praful_Potphode</dc:creator>
      <dc:date>2025-09-16T05:52:48Z</dc:date>
    </item>
  </channel>
</rss>

