<?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 Analysing customer churn in Data Stories Gallery</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/Analysing-customer-churn/m-p/3103570#M9435</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Business Request&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;A telecom service provider requests an analysis of why customers are churning, or in other words, cancelling their mobile subscriptions.&lt;/P&gt;&lt;P&gt;The offered solution provides a Power BI report with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;An overview page which summarizes the critical churn statistics and churn reasons.&lt;/LI&gt;&lt;LI&gt;A detailed report providing a deeper analysis of churn across customer demographics and segments&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Errors and data transformation:&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A review of the dataset reveals data entry errors in demographic columns classifying customers as “Under 30” or “Senior”.&amp;nbsp; 4.144 out of 6.687 customers have been left unclassified.&lt;/P&gt;&lt;P&gt;Customer is offered a solution which corrects this error and provides a more granular demographic classification. Customers are classified as “Youth” if age is less than 20, as “Young Adult” if age is between 20-30, as “Middle Aged” if age is between 30-60, and “Senior” if age is above 60.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DAX (Data Analysis Expressions) calculations&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;The following measure and columns are created using DAX to facilitate the analysis:&lt;/P&gt;&lt;P&gt;SERIAL # DAX DESCRIPTION&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1.&lt;/TD&gt;&lt;TD&gt;Number of Customers = count(‘Databel – Data'[Customer ID])&lt;/TD&gt;&lt;TD&gt;A count of the number of Customer IDs listed in dataset.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2.&lt;/TD&gt;&lt;TD&gt;Number of Unique Customers = DISTINCTCOUNT(‘Databel – Data'[Customer ID]) &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;A count of the Unique Customer IDs. This is compared with the previous measure (#2) to check the data for duplicates.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3.&lt;/TD&gt;&lt;TD&gt;Churned = IF(‘Databel – Data'[Churn Label]=”Yes”,1,0) &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;IF statement converting the column ‘Churn Label’ from text (yes/no) entries to a binomial column (1/0) to allow calculations.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4.&lt;/TD&gt;&lt;TD&gt;Number of Churned Customers = sum(‘Databel – Data'[Churned]) &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Uses previously created column (#3) to calculate total churned customers.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5.&lt;/TD&gt;&lt;TD&gt;Churn Rate = [Number of Churned Customers]/[Number of Customers] &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Calculates churn rate and is formatted as to display a percentage.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;DemographicClassification = If(‘Databel – Data'[Age]&amp;lt;=20, “Youth”, IF(‘Databel – Data'[Age]&amp;lt;30, “Young Adult”, IF(‘Databel – Data'[Age]&amp;lt;60, “Middle Aged”,”Senior”))) &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Nested IF statement to correct error mentioned in the data transformation section and to provide a classification of customers. &amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7.&lt;/TD&gt;&lt;TD&gt;Contract Category = SWITCH(‘Databel – Data'[Contract Type], “One Year”, “Yearly”, “Two Year”, “Yearly”, “Monthly”)&lt;/TD&gt;&lt;TD&gt;SWITCH statement to classify different contract types as yearly or monthly contracts.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8.&lt;/TD&gt;&lt;TD&gt;Grouped Consumption = IF(‘Databel – Data'[Avg Monthly GB Download]&amp;lt;5,”Less than 5 GB”, IF(‘Databel – Data'[Avg Monthly GB Download]&amp;lt;10,”Between 5 and 10 GB”,”10 or more GB”)) &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Nested IF statement to classify customers monthly data usage into three categories.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&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;eyJrIjoiMDQ3ODVkMjgtMjkwOC00YjU2LWFhZWEtMDYwNTg2NDNhNDY5IiwidCI6Ijk5N2FhN2QwLTQ1NDYtNDQ4ZS1iNDY0LTk0ZDM0MTc3ODczNyIsImMiOjl9&amp;amp;embedImagePlaceholder=true&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2023 12:24:32 GMT</pubDate>
    <dc:creator>ShobhitAnalytic</dc:creator>
    <dc:date>2023-02-28T12:24:32Z</dc:date>
    <item>
      <title>Analysing customer churn</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/Analysing-customer-churn/m-p/3103570#M9435</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Business Request&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;A telecom service provider requests an analysis of why customers are churning, or in other words, cancelling their mobile subscriptions.&lt;/P&gt;&lt;P&gt;The offered solution provides a Power BI report with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;An overview page which summarizes the critical churn statistics and churn reasons.&lt;/LI&gt;&lt;LI&gt;A detailed report providing a deeper analysis of churn across customer demographics and segments&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Errors and data transformation:&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A review of the dataset reveals data entry errors in demographic columns classifying customers as “Under 30” or “Senior”.&amp;nbsp; 4.144 out of 6.687 customers have been left unclassified.&lt;/P&gt;&lt;P&gt;Customer is offered a solution which corrects this error and provides a more granular demographic classification. Customers are classified as “Youth” if age is less than 20, as “Young Adult” if age is between 20-30, as “Middle Aged” if age is between 30-60, and “Senior” if age is above 60.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DAX (Data Analysis Expressions) calculations&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;The following measure and columns are created using DAX to facilitate the analysis:&lt;/P&gt;&lt;P&gt;SERIAL # DAX DESCRIPTION&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1.&lt;/TD&gt;&lt;TD&gt;Number of Customers = count(‘Databel – Data'[Customer ID])&lt;/TD&gt;&lt;TD&gt;A count of the number of Customer IDs listed in dataset.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2.&lt;/TD&gt;&lt;TD&gt;Number of Unique Customers = DISTINCTCOUNT(‘Databel – Data'[Customer ID]) &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;A count of the Unique Customer IDs. This is compared with the previous measure (#2) to check the data for duplicates.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3.&lt;/TD&gt;&lt;TD&gt;Churned = IF(‘Databel – Data'[Churn Label]=”Yes”,1,0) &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;IF statement converting the column ‘Churn Label’ from text (yes/no) entries to a binomial column (1/0) to allow calculations.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4.&lt;/TD&gt;&lt;TD&gt;Number of Churned Customers = sum(‘Databel – Data'[Churned]) &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Uses previously created column (#3) to calculate total churned customers.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5.&lt;/TD&gt;&lt;TD&gt;Churn Rate = [Number of Churned Customers]/[Number of Customers] &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Calculates churn rate and is formatted as to display a percentage.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;DemographicClassification = If(‘Databel – Data'[Age]&amp;lt;=20, “Youth”, IF(‘Databel – Data'[Age]&amp;lt;30, “Young Adult”, IF(‘Databel – Data'[Age]&amp;lt;60, “Middle Aged”,”Senior”))) &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Nested IF statement to correct error mentioned in the data transformation section and to provide a classification of customers. &amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7.&lt;/TD&gt;&lt;TD&gt;Contract Category = SWITCH(‘Databel – Data'[Contract Type], “One Year”, “Yearly”, “Two Year”, “Yearly”, “Monthly”)&lt;/TD&gt;&lt;TD&gt;SWITCH statement to classify different contract types as yearly or monthly contracts.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;8.&lt;/TD&gt;&lt;TD&gt;Grouped Consumption = IF(‘Databel – Data'[Avg Monthly GB Download]&amp;lt;5,”Less than 5 GB”, IF(‘Databel – Data'[Avg Monthly GB Download]&amp;lt;10,”Between 5 and 10 GB”,”10 or more GB”)) &amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Nested IF statement to classify customers monthly data usage into three categories.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&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;eyJrIjoiMDQ3ODVkMjgtMjkwOC00YjU2LWFhZWEtMDYwNTg2NDNhNDY5IiwidCI6Ijk5N2FhN2QwLTQ1NDYtNDQ4ZS1iNDY0LTk0ZDM0MTc3ODczNyIsImMiOjl9&amp;amp;embedImagePlaceholder=true&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 12:24:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/Analysing-customer-churn/m-p/3103570#M9435</guid>
      <dc:creator>ShobhitAnalytic</dc:creator>
      <dc:date>2023-02-28T12:24:32Z</dc:date>
    </item>
  </channel>
</rss>

