<?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 Customer Retention Part 4:Customers to Retain- Segment in 4 quadrant based on Margin % and Discount in Quick Measures Gallery</title>
    <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Customer-Retention-Part-4-Customers-to-Retain-Segment-in-4/m-p/1421627#M638</link>
    <description>&lt;P&gt;&lt;FONT size="5"&gt;Objective: &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;We would always like to retain profitable customers, Those who give High Margin. And If there are buying less discounted items, that would be best.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Important Measures&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;LI-CODE lang="markup"&gt;Discount % = DIVIDE(Sum(Sales[Discount]),sum(Sales[Gross Sales]))
Margin % = DIVIDE([Margin Amount],sum(Sales[net sales]))
&lt;/LI-CODE&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;Best Customer – Margin% &amp;gt;= Over All Margin % , Discount % &amp;lt;= Over All Discount %&lt;/P&gt;
&lt;P&gt;Good Customer -&amp;nbsp; Margin% &amp;gt;= Over All Margin % , Discount % &amp;gt; Over All Discount %&lt;/P&gt;
&lt;P&gt;Bad Customer -&amp;nbsp; Margin% &amp;lt; Over All Margin % , Discount % &amp;lt;= Over All Discount %&lt;/P&gt;
&lt;P&gt;Worst Customer -&amp;nbsp; Margin% &amp;lt; Over All Margin % , Discount % &amp;lt; Over All Discount %&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We would plot these customers on the scatter visual and color based on the above logic. So let us have a color measure&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;LI-CODE lang="markup"&gt;Color Dot = 
    var _avgDisc = CALCULATE([Discount %],ALL(Sales))
    var _avgMargin = CALCULATE([Margin %],ALL(Sales))
    return switch(TRUE(),
    [Margin %]&amp;gt;=_avgMargin &amp;amp;&amp;amp; [Discount %] &amp;lt;=_avgDisc , "Green",
    [Margin %]&amp;gt;=_avgMargin &amp;amp;&amp;amp; [Discount %] &amp;gt;_avgDisc , "Blue",
    [Margin %]&amp;lt;_avgMargin &amp;amp;&amp;amp; [Discount %] &amp;lt;=_avgDisc , "Yellow",
    [Margin %]&amp;lt;_avgMargin &amp;amp;&amp;amp; [Discount %] &amp;gt;_avgDisc , "Red", "Black")
&lt;/LI-CODE&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;&lt;SPAN class="reportid hidden"&gt;eyJrIjoiNGNjNjczNTEtMDFlOS00NDBiLTk1MTAtY2Y1OGY5OWYyMjFlIiwidCI6ImVhOGJkMWZkLWFjMzQtNGFlMi1iNDIxLTZjZmEyZmNmZjI0MyJ9&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Oct 2020 14:39:58 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2020-10-08T14:39:58Z</dc:date>
    <item>
      <title>Customer Retention Part 4:Customers to Retain- Segment in 4 quadrant based on Margin % and Discount</title>
      <link>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Customer-Retention-Part-4-Customers-to-Retain-Segment-in-4/m-p/1421627#M638</link>
      <description>&lt;P&gt;&lt;FONT size="5"&gt;Objective: &amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;We would always like to retain profitable customers, Those who give High Margin. And If there are buying less discounted items, that would be best.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Important Measures&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;LI-CODE lang="markup"&gt;Discount % = DIVIDE(Sum(Sales[Discount]),sum(Sales[Gross Sales]))
Margin % = DIVIDE([Margin Amount],sum(Sales[net sales]))
&lt;/LI-CODE&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;Best Customer – Margin% &amp;gt;= Over All Margin % , Discount % &amp;lt;= Over All Discount %&lt;/P&gt;
&lt;P&gt;Good Customer -&amp;nbsp; Margin% &amp;gt;= Over All Margin % , Discount % &amp;gt; Over All Discount %&lt;/P&gt;
&lt;P&gt;Bad Customer -&amp;nbsp; Margin% &amp;lt; Over All Margin % , Discount % &amp;lt;= Over All Discount %&lt;/P&gt;
&lt;P&gt;Worst Customer -&amp;nbsp; Margin% &amp;lt; Over All Margin % , Discount % &amp;lt; Over All Discount %&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We would plot these customers on the scatter visual and color based on the above logic. So let us have a color measure&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;LI-CODE lang="markup"&gt;Color Dot = 
    var _avgDisc = CALCULATE([Discount %],ALL(Sales))
    var _avgMargin = CALCULATE([Margin %],ALL(Sales))
    return switch(TRUE(),
    [Margin %]&amp;gt;=_avgMargin &amp;amp;&amp;amp; [Discount %] &amp;lt;=_avgDisc , "Green",
    [Margin %]&amp;gt;=_avgMargin &amp;amp;&amp;amp; [Discount %] &amp;gt;_avgDisc , "Blue",
    [Margin %]&amp;lt;_avgMargin &amp;amp;&amp;amp; [Discount %] &amp;lt;=_avgDisc , "Yellow",
    [Margin %]&amp;lt;_avgMargin &amp;amp;&amp;amp; [Discount %] &amp;gt;_avgDisc , "Red", "Black")
&lt;/LI-CODE&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;&lt;SPAN class="reportid hidden"&gt;eyJrIjoiNGNjNjczNTEtMDFlOS00NDBiLTk1MTAtY2Y1OGY5OWYyMjFlIiwidCI6ImVhOGJkMWZkLWFjMzQtNGFlMi1iNDIxLTZjZmEyZmNmZjI0MyJ9&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 14:39:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/Customer-Retention-Part-4-Customers-to-Retain-Segment-in-4/m-p/1421627#M638</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-10-08T14:39:58Z</dc:date>
    </item>
  </channel>
</rss>

