<?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: Find the Highest Potential Customer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Highest-Potential-Customer/m-p/1445436#M27083</link>
    <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please &lt;STRONG&gt;always&lt;/STRONG&gt; show a sample of youra data&lt;FONT color="#000000"&gt;. Otherwise we have to invent names of columns, make assumptions, ask questions and it's an unnecessary waste of everybody's time.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;You can create a measure and place it in a card visual. Along the lines of:&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;HighestPotentialName =
VAR highestRevenue_ =
    CALCULATE ( MAX ( Table1[Revenue] ), Table1[Last Booking Day Duration] &amp;gt; 180 )
RETURN
    CALCULATE (
        DISTINCT ( Table1[Name] ),
        Table[Revenue] = highestRevenue_,
        Table1[Last Booking Day Duration] &amp;gt; 180
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving kudos if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Oct 2020 18:46:43 GMT</pubDate>
    <dc:creator>AlB</dc:creator>
    <dc:date>2020-10-20T18:46:43Z</dc:date>
    <item>
      <title>Find the Highest Potential Customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Highest-Potential-Customer/m-p/1445085#M27071</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I'm trying to find the most valueable customer who is lost.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I'm caluculating the Lost Customer using the below dax.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF([Last Booking Day Duration]&amp;gt;180,1,0). So if a customer has not placed for the past 180 days will be considered as a lost customer. Now I want to get the name of the customer who was giving highest revenue out of that lost customer list.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Oct 2020 14:34:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Highest-Potential-Customer/m-p/1445085#M27071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-20T14:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Find the Highest Potential Customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Highest-Potential-Customer/m-p/1445436#M27083</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please &lt;STRONG&gt;always&lt;/STRONG&gt; show a sample of youra data&lt;FONT color="#000000"&gt;. Otherwise we have to invent names of columns, make assumptions, ask questions and it's an unnecessary waste of everybody's time.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;You can create a measure and place it in a card visual. Along the lines of:&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;HighestPotentialName =
VAR highestRevenue_ =
    CALCULATE ( MAX ( Table1[Revenue] ), Table1[Last Booking Day Duration] &amp;gt; 180 )
RETURN
    CALCULATE (
        DISTINCT ( Table1[Name] ),
        Table[Revenue] = highestRevenue_,
        Table1[Last Booking Day Duration] &amp;gt; 180
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving kudos if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 18:46:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Highest-Potential-Customer/m-p/1445436#M27083</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2020-10-20T18:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Find the Highest Potential Customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Highest-Potential-Customer/m-p/1446817#M27128</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="92178" data-lia-user-login="AlB" class="lia-mention lia-mention-user"&gt;AlB&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your formula has the potential to return an error if there is more than 1 customer with the same characteristics.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 10:54:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Highest-Potential-Customer/m-p/1446817#M27128</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-21T10:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Find the Highest Potential Customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Highest-Potential-Customer/m-p/1446825#M27129</link>
      <description>Anonymous&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;What happens if there is more than 1 customer that satisfies the condition?</description>
      <pubDate>Wed, 21 Oct 2020 10:53:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Highest-Potential-Customer/m-p/1446825#M27129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-21T10:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Find the Highest Potential Customer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Highest-Potential-Customer/m-p/1446829#M27130</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yeah, that's by design. So that the user is alerted if that is the case. They can then decide how to deal with those cases.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark the question solved when done and consider &lt;FONT color="#FF9900"&gt;giving a thumbs up if posts are helpful.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Contact me privately for support with any larger-scale BI needs, tutoring, etc.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Cheers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 10:55:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Find-the-Highest-Potential-Customer/m-p/1446829#M27130</guid>
      <dc:creator>AlB</dc:creator>
      <dc:date>2020-10-21T10:55:52Z</dc:date>
    </item>
  </channel>
</rss>

