<?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: DAX: remove visual filter set by a measure for calculation in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-remove-visual-filter-set-by-a-measure-for-calculation/m-p/3912674#M152339</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="585150" data-lia-user-login="johnbasha33" class="lia-mention lia-mention-user"&gt;johnbasha33&lt;/a&gt;&amp;nbsp;,thanks for the quick reply, I'll add further.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="740617" data-lia-user-login="MetroRogi" class="lia-mention lia-mention-user"&gt;MetroRogi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Regarding your question, the argument to the function does need to be a column rather than a measure.Perhaps you could add your rankings as filters to the measure instead of adding the rankings to the filter window.&lt;/P&gt;
&lt;P&gt;The Table data is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total = SUM('Table'[Column2])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Rank = RANKX(ALL('Table'[Column1]),[Total],,DESC,Skip)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Measure = IF( [Rank] &amp;lt;4,[Total])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Final output:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally you can add additional measures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2024 04:37:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-05-13T04:37:00Z</dc:date>
    <item>
      <title>DAX: remove visual filter set by a measure for calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-remove-visual-filter-set-by-a-measure-for-calculation/m-p/3908016#M152232</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a visual of top-3 cutomers and their revenue. The rank is done as a measure and added to a visual filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to include in this visual another measure, which should ignore the rank (i.e. run for all customers, and of course keep all other report filters). In my understanding, I can't use REMOVEFILTERS as I need a column as an argument.&lt;BR /&gt;&lt;BR /&gt;A hint on how to achieve this would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;MetroRogi.&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 09:17:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-remove-visual-filter-set-by-a-measure-for-calculation/m-p/3908016#M152232</guid>
      <dc:creator>MetroRogi</dc:creator>
      <dc:date>2024-05-10T09:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: DAX: remove visual filter set by a measure for calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-remove-visual-filter-set-by-a-measure-for-calculation/m-p/3908140#M152236</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="740617" data-lia-user-login="MetroRogi" class="lia-mention lia-mention-user"&gt;MetroRogi&lt;/a&gt;&amp;nbsp; create a measure like below, this will do the job.&lt;BR /&gt;Total Revenue (Ignore Rank) =&lt;BR /&gt;CALCULATE(&lt;BR /&gt;[Total Revenue],&lt;BR /&gt;ALL('Customer'[CustomerName])&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#993300"&gt;Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 09:46:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-remove-visual-filter-set-by-a-measure-for-calculation/m-p/3908140#M152236</guid>
      <dc:creator>johnbasha33</dc:creator>
      <dc:date>2024-05-10T09:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: DAX: remove visual filter set by a measure for calculation</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-remove-visual-filter-set-by-a-measure-for-calculation/m-p/3912674#M152339</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="585150" data-lia-user-login="johnbasha33" class="lia-mention lia-mention-user"&gt;johnbasha33&lt;/a&gt;&amp;nbsp;,thanks for the quick reply, I'll add further.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="740617" data-lia-user-login="MetroRogi" class="lia-mention lia-mention-user"&gt;MetroRogi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Regarding your question, the argument to the function does need to be a column rather than a measure.Perhaps you could add your rankings as filters to the measure instead of adding the rankings to the filter window.&lt;/P&gt;
&lt;P&gt;The Table data is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total = SUM('Table'[Column2])&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Rank = RANKX(ALL('Table'[Column1]),[Total],,DESC,Skip)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Measure = IF( [Rank] &amp;lt;4,[Total])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Final output:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally you can add additional measures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 04:37:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-remove-visual-filter-set-by-a-measure-for-calculation/m-p/3912674#M152339</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-13T04:37:00Z</dc:date>
    </item>
  </channel>
</rss>

