<?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: Calculate TOP customer with multiple criteria in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-TOP-customer-with-multiple-criteria/m-p/1013264#M12981</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="182953" data-lia-user-login="KRISH80" class="lia-mention lia-mention-user"&gt;KRISH80&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try modifying your DAX as follows:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RANKX(FILTER(FUNNEL, [TOTAL] &amp;gt; 50000),&amp;nbsp;[TOTAL-GP%], , DESC)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pragati&lt;/P&gt;</description>
    <pubDate>Tue, 07 Apr 2020 16:40:13 GMT</pubDate>
    <dc:creator>Pragati11</dc:creator>
    <dc:date>2020-04-07T16:40:13Z</dc:date>
    <item>
      <title>Calculate TOP customer with multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-TOP-customer-with-multiple-criteria/m-p/1012585#M12957</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I need to RANK my Top customers my GP%. Below table has Customer Name, Contract Value, Profit and GP%.&lt;/P&gt;&lt;P&gt;But one condition that I need to apply is TOTAL Profit from the customer should be greater than 50K. From the below example, Accenture should not show up in my list as the TOTAL profit is less than 50K.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current DAX to RANK is&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RANKX(ALL(FUNNEL[Customer Name]),[TOTAL-GP%], , DESC)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;HOw should i modify this DAX to add that criteria of &amp;gt;50K ?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 12:39:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-TOP-customer-with-multiple-criteria/m-p/1012585#M12957</guid>
      <dc:creator>KRISH80</dc:creator>
      <dc:date>2020-04-07T12:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate TOP customer with multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-TOP-customer-with-multiple-criteria/m-p/1013264#M12981</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="182953" data-lia-user-login="KRISH80" class="lia-mention lia-mention-user"&gt;KRISH80&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try modifying your DAX as follows:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RANKX(FILTER(FUNNEL, [TOTAL] &amp;gt; 50000),&amp;nbsp;[TOTAL-GP%], , DESC)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pragati&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 16:40:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-TOP-customer-with-multiple-criteria/m-p/1013264#M12981</guid>
      <dc:creator>Pragati11</dc:creator>
      <dc:date>2020-04-07T16:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate TOP customer with multiple criteria</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-TOP-customer-with-multiple-criteria/m-p/1013493#M12998</link>
      <description>&lt;P&gt;Hi, This is not heping. Below is the actual DAX i am using. Where i have dynaic filed like Ranking Dimension and Ranking Select. In this code i need to add that condition of selecting ONLY accounts which have TOTAL-Gp of &amp;gt;50K&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Top Accounts by Rank (GP%-OPEN) = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RankingDimension =VALUES(FUNNEL[Account Name])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RankingSelect = [Ranking Select]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE([TOTAL-OPEN-GP%],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Filter( RankingDimension,RANKX(ALL(FUNNEL[Account Name]),[TOTAL-OPEN-GP%], , DESC) &amp;lt;= RankingSelect))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Apr 2020 18:55:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-TOP-customer-with-multiple-criteria/m-p/1013493#M12998</guid>
      <dc:creator>KRISH80</dc:creator>
      <dc:date>2020-04-07T18:55:58Z</dc:date>
    </item>
  </channel>
</rss>

