<?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 Exclude Blank from rankx in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exclude-Blank-from-rankx/m-p/3169778#M114216</link>
    <description>&lt;P&gt;hello everyone&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;i have this measure&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Top Bottom = 

Var TopRank= 
    RANKX(ALLSELECTED(Keywords[Search keyword]),[New],,DESC,Dense)

Var BottomRank = RANKX(ALLSELECTED(Keywords),[New],,ASC,Dense)

Var Result=

SWITCH(
    TRUE(),

TopRank&amp;lt;=3,1,

BottomRank&amp;lt;=3,-1,

blank())

return 
Result&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;this is result&lt;BR /&gt;&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;&lt;P&gt;i dont want to include the blanks&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;how can i rank without the blanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 15:18:01 GMT</pubDate>
    <dc:creator>eliasayyy</dc:creator>
    <dc:date>2023-04-03T15:18:01Z</dc:date>
    <item>
      <title>Exclude Blank from rankx</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exclude-Blank-from-rankx/m-p/3169778#M114216</link>
      <description>&lt;P&gt;hello everyone&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;i have this measure&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Top Bottom = 

Var TopRank= 
    RANKX(ALLSELECTED(Keywords[Search keyword]),[New],,DESC,Dense)

Var BottomRank = RANKX(ALLSELECTED(Keywords),[New],,ASC,Dense)

Var Result=

SWITCH(
    TRUE(),

TopRank&amp;lt;=3,1,

BottomRank&amp;lt;=3,-1,

blank())

return 
Result&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;this is result&lt;BR /&gt;&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;&lt;P&gt;i dont want to include the blanks&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;how can i rank without the blanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 15:18:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exclude-Blank-from-rankx/m-p/3169778#M114216</guid>
      <dc:creator>eliasayyy</dc:creator>
      <dc:date>2023-04-03T15:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Blank from rankx</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exclude-Blank-from-rankx/m-p/3169868#M114224</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="434309" data-lia-user-login="eliasayyy" class="lia-mention lia-mention-user"&gt;eliasayyy&lt;/a&gt; , try like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BottomRank = RANKX(Summarize(filter(ALLSELECTED(Keywords),Keywords[Search keyword], "_1" ,[New]),not(isblank([_1]))), [net],,ASC,Dense)&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 15:45:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exclude-Blank-from-rankx/m-p/3169868#M114224</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2023-04-03T15:45:06Z</dc:date>
    </item>
  </channel>
</rss>

