<?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: RANKX with visual filters in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3173180#M114466</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;There was a visual filter for the field "Type" where the logic was &lt;STRONG&gt;concatenate(comments,ntn/non-ntn)&lt;/STRONG&gt; and this had the output as below: I was restricting this to only show&amp;nbsp;Regular NTN and&amp;nbsp;Premium NTN.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Regular NTN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Regular Non-NTN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;PremiumI NTN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Premium Non-NTN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Non-Premium NTN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Non-Premium Non-NTN&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I created another column with the logic as i&lt;STRONG&gt;f type=Regular NTN and&amp;nbsp;Premium NTN then include else exclude&lt;/STRONG&gt;. I used this field instead of TYPE in the visual filter. This fixed the issue with Ranking.&lt;BR /&gt;Thanks for the responses.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2023 07:21:53 GMT</pubDate>
    <dc:creator>poojithas</dc:creator>
    <dc:date>2023-04-05T07:21:53Z</dc:date>
    <item>
      <title>RANKX with visual filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3171315#M114317</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a requirement to show top 20 values in a table.&lt;/P&gt;&lt;P&gt;For that I have used RANKX function. Code below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This gives me the correct ranking based on the field volume.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;But, after I apply Top 20 filter, the ranking is incorrect. The Ranks are repeated and the values are not in the expected order.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This is happening due to the RL12 filter.&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am only including data where RL12="Y". There are other visual filters as well.&lt;BR /&gt;So, where ever there are no records for RL12=Y, the rank is getting skipped.&lt;/P&gt;&lt;P&gt;Could someone please suggest on how this can be fixed and show all the ranks in order without any repetition.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Poojitha&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Apr 2023 09:53:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3171315#M114317</guid>
      <dc:creator>poojithas</dc:creator>
      <dc:date>2023-04-04T09:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX with visual filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3171331#M114321</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="305928" data-lia-user-login="poojithas" class="lia-mention lia-mention-user"&gt;poojithas&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Try by replacing ALL with ALLSELECTED&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 09:56:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3171331#M114321</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-04-04T09:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX with visual filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3171405#M114323</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp; : Tried ALLSELECTED as well, and the results are same as ALL.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The results are not as expected&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 10:25:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3171405#M114323</guid>
      <dc:creator>poojithas</dc:creator>
      <dc:date>2023-04-04T10:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX with visual filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3171542#M114329</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="305928" data-lia-user-login="poojithas" class="lia-mention lia-mention-user"&gt;poojithas&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Ok. Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Rank =
RANKX (
    CALCULATETABLE (
        SUMMARIZE ( NTN_GRAPHS, NTN_GRAPHS[GRANDPARENT], NTN_GRAPHS[GRANDPARENT] ),
        ALLSELECTED ()
    ),
    [Volume (k1)]
)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 04 Apr 2023 11:22:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3171542#M114329</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-04-04T11:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX with visual filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3171608#M114331</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp; : Thanks for the quick response. I have tried the above logic and the results are again same as before . Please find the screenshot below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 11:49:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3171608#M114331</guid>
      <dc:creator>poojithas</dc:creator>
      <dc:date>2023-04-04T11:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX with visual filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3171713#M114337</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="305928" data-lia-user-login="poojithas" class="lia-mention lia-mention-user"&gt;poojithas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the DAX of [Volume (k1)]?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 12:26:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3171713#M114337</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-04-04T12:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX with visual filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3171724#M114339</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;: It is&lt;STRONG&gt; volume *0.001&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 12:30:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3171724#M114339</guid>
      <dc:creator>poojithas</dc:creator>
      <dc:date>2023-04-04T12:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX with visual filters</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3173180#M114466</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;There was a visual filter for the field "Type" where the logic was &lt;STRONG&gt;concatenate(comments,ntn/non-ntn)&lt;/STRONG&gt; and this had the output as below: I was restricting this to only show&amp;nbsp;Regular NTN and&amp;nbsp;Premium NTN.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Regular NTN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Regular Non-NTN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;PremiumI NTN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Premium Non-NTN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Non-Premium NTN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Non-Premium Non-NTN&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I created another column with the logic as i&lt;STRONG&gt;f type=Regular NTN and&amp;nbsp;Premium NTN then include else exclude&lt;/STRONG&gt;. I used this field instead of TYPE in the visual filter. This fixed the issue with Ranking.&lt;BR /&gt;Thanks for the responses.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 07:21:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-with-visual-filters/m-p/3173180#M114466</guid>
      <dc:creator>poojithas</dc:creator>
      <dc:date>2023-04-05T07:21:53Z</dc:date>
    </item>
  </channel>
</rss>

