<?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: Rank Output based on Selected Criteria in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-Output-based-on-Selected-Criteria/m-p/2537727#M71382</link>
    <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2022 03:43:35 GMT</pubDate>
    <dc:creator>CNENFRNL</dc:creator>
    <dc:date>2022-05-25T03:43:35Z</dc:date>
    <item>
      <title>Rank Output based on Selected Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-Output-based-on-Selected-Criteria/m-p/2537414#M71361</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Essentially I need to figure out a way to see a list of students based on best fit to my selected search criteria.&lt;BR /&gt;Example:&lt;BR /&gt;A user chooses 5 criteria for search (range between 1-10), any students who match at least one criteria will be displayed, with the students matching the most search criteria displayed at the top and sorted in descending order (i.e. students who match all 5 criteria would be displayed at top, descending down to students who only meet one criteria). The students should have a percentage match displayed (e.g. students matching all 5 criteria would display 100%, students who match 4 criteria would display 80%, down to students who only match one criteria displaying 20%). If more than one student has the same exact percentage match, the students should be displayed in A-Z alpha ordering.&lt;/P&gt;&lt;P&gt;I was thinking that a switch statement could work, but my attempts have not been successful.&lt;BR /&gt;The slicers will be on separate pages because ultimately they could select from 28 criteria.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks so much!&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 00:10:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-Output-based-on-Selected-Criteria/m-p/2537414#M71361</guid>
      <dc:creator>Toni_H</dc:creator>
      <dc:date>2022-05-25T00:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Output based on Selected Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-Output-based-on-Selected-Criteria/m-p/2537514#M71368</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="348948" data-lia-user-login="Toni_H" class="lia-mention lia-mention-user"&gt;Toni_H&lt;/a&gt; , First create a measure on match criteria &lt;/P&gt;
&lt;P&gt;new measure =&lt;BR /&gt;var _max = maxx(allselected(criteria1),criteria1[Date])&lt;BR /&gt;var _min = minx(allselected(criteria1),criteria1[Date]) &lt;BR /&gt;return &lt;BR /&gt;calculate( sum(Table[Value]), filter('Table', 'Table'[attitude] &amp;gt;=_min &amp;amp;&amp;amp; 'Table'[attitude] &amp;lt;=_max))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;add other too&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then create a measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rankx(allselected(Table[Name]),[new measure],,desc,dense)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 01:53:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-Output-based-on-Selected-Criteria/m-p/2537514#M71368</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-05-25T01:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Output based on Selected Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-Output-based-on-Selected-Criteria/m-p/2537727#M71382</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 03:43:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-Output-based-on-Selected-Criteria/m-p/2537727#M71382</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2022-05-25T03:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Output based on Selected Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-Output-based-on-Selected-Criteria/m-p/2539484#M71491</link>
      <description>&lt;P&gt;Thank you so much for taking the time to provide the pbix file. I was having issues sending mine as a link.&lt;/P&gt;&lt;P&gt;I am hopeful that this will work. However, is there a way to make the denominator dynamic? Sometimes they will select from 2 slicers other times 5 or 10?&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;TH&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 15:51:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-Output-based-on-Selected-Criteria/m-p/2539484#M71491</guid>
      <dc:creator>Toni_H</dc:creator>
      <dc:date>2022-05-25T15:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rank Output based on Selected Criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-Output-based-on-Selected-Criteria/m-p/2539512#M71493</link>
      <description>&lt;P&gt;Thank you for taking the time to respond.&lt;BR /&gt;This does work, but I would need to create a rank measure that considers all the criteria selected in the slicers.&lt;/P&gt;&lt;P&gt;Not sure how that would work...&lt;/P&gt;&lt;P&gt;Thanks again for your help,&lt;/P&gt;&lt;P&gt;TH&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 15:56:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rank-Output-based-on-Selected-Criteria/m-p/2539512#M71493</guid>
      <dc:creator>Toni_H</dc:creator>
      <dc:date>2022-05-25T15:56:59Z</dc:date>
    </item>
  </channel>
</rss>

