<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Cuoji De on Medium]]></title>
        <description><![CDATA[Stories by Cuoji De on Medium]]></description>
        <link>https://medium.com/@cuoji-de?source=rss-9f889cb90b5c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YY6UUnvusXI5z0koEAWOVQ.jpeg</url>
            <title>Stories by Cuoji De on Medium</title>
            <link>https://medium.com/@cuoji-de?source=rss-9f889cb90b5c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 06:41:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cuoji-de/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A Great Tool for Website Operators — Use API to subscribe Monitor Key Web Traffic Metrics via Email]]></title>
            <link>https://medium.com/kyligence/a-great-tool-for-website-operators-use-api-to-subscribe-monitor-key-web-traffic-metrics-via-email-1712cd25469c?source=rss-9f889cb90b5c------2</link>
            <guid isPermaLink="false">https://medium.com/p/1712cd25469c</guid>
            <category><![CDATA[email]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[metrics]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[business-analysis]]></category>
            <dc:creator><![CDATA[Cuoji De]]></dc:creator>
            <pubDate>Mon, 21 Nov 2022 05:43:24 GMT</pubDate>
            <atom:updated>2022-11-21T05:43:24.568Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Great Tool for Website Operators — Use API to subscribe Monitor Key Web Traffic Metrics via Email</h3><p>Kevin, a website operations engineer, is responsible for managing the user operations of the company’s website. Active Users, User Views, and other key metrics are critical to website operation and management. By browsing the metrics catalog on Kyligence Zen, Kevin can view the metric data he follows at any time. But he wants to regularly receive daily changes in the metrics.</p><p>In this article, let’s take a look at how Kevin subscribes to and alerts on the key metrics related to user activation using the API provided by Kyligence Zen, a one-stop-shop metrics platform, to keep an eye on the metric data.</p><h3>Metrics Subscription</h3><p>Kyligence Zen provides flexible APIs, enabling users to subscribe key metrics via various tools, such as email. The diagram below shows the main process of how users call the Kyligence Zen API to query metrics. Let’s follow Kevin, to see how he subscribes his metrics via API!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/0*H8uiOseZrtIPJvud" /><figcaption>Kyligence Zen API invoking process</figcaption></figure><h3>Identify key metrics</h3><p>Firstly, Kevin browses the metrics catalog to identify a few key metrics to follow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RzjlV5InEOxjx4oG" /><figcaption>Active Users / User Views (UV) / Page Views (PV) and DOD</figcaption></figure><p>Next, he selects the metrics on the Kyligence Zen interface, clicks <strong>…</strong> &gt; <strong>Copy cURL code</strong> on the top right corner of the metrics card and gets the API key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sz17pTEQb69rpKgl" /><figcaption>Select the metrics to copy the cURL code</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KNQmVkcwKjC-xMZQ" /><figcaption>Create the Key needed to invoke the API</figcaption></figure><p>Then he pastes the code he just obtained and replaces the information after Apikey with his API Key.</p><pre>curl -X POST https://zen-cn.kyligence.io/insight/api/v1/metrics/query \<br>  -H &#39;Content-Type: application/json;charset=utf-8&#39; \<br>  -H &#39;Authorization: Apikey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&#39; \<br>  -d &#39;{<br>  &quot;metrics&quot;: [<br>    &quot;PV&quot;<br>  ],<br>  &quot;dimensions&quot;: [<br>    &quot;event_date&quot;,<br>    &quot;event_type&quot;<br>  ],<br>  &quot;filters&quot;: [],<br>  &quot;orders&quot;: []<br>}&#39;</pre><h3>Add subscription email</h3><p>Then, Kevin adds his email address to the mailing list. By running the Python code below to call the API, he can receive emails with the data of subscribed metrics.</p><p>The sample code used to get the results of the metrics by invoking the API and sending them by email is as follows, where we can see “Active Users — E-Commerce”, which is the key metric that Keven follows.</p><pre>#! /usr/bin/python3<br># -*- coding: UTF-8 -*-<br>...<br><br>class TestMail(object):<br><br>    def __init__(self):<br>        ...   <br>        self.headers = {<br>            &#39;Content-Type&#39;: &#39;application/json;charset=utf-8&#39;,<br>            &#39;Authorization&#39;: &#39;Apikey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&#39;,<br>        }<br><br>    def send_mail(self, mail_content):<br>        ...<br><br>    def callZenAPI(self, payload):<br><br>        json_data = json.dumps(payload)<br>        response = requests.post(&#39;https://zen.kyligence.io/insight/api/v1/metrics/query&#39;, headers=self.headers,<br>                                 data=json_data)<br><br>        api_data = json.loads(response.content)<br>        return api_data<br><br>    def convertToHtml(self,ks, vs):<br>        ...<br>        <br>    def getAPIResult(self,mname,api_data):<br>        ...<br><br>if __name__ == &quot;__main__&quot;:<br>    send = TestMail()<br><br>    #Metrics List<br>    metricsArray = [<br>        {<br>            &quot;metrics&quot;: [<br>                &quot;Active Users&quot;<br>            ],<br>            &quot;dimensions&quot;: [<br>                &quot;event_date&quot;<br>            ],<br>            &quot;filters&quot;: [{<br>                &quot;operator&quot;: &quot;IN&quot;,<br>                &quot;member&quot;: &quot;event_date&quot;,<br>                &quot;values&quot;: [&quot;2020-10-27&quot;]<br>            }],<br>            &quot;orders&quot;: []<br>        }     <br>        #...<br>    ]<br>    ...<br><br>    for m in metricsArray:<br>        mname = m[&#39;metrics&#39;][0]<br>        title.append(mname)<br>        api_data = send.callZenAPI(m)<br>        mresult = send.getAPIResult(mname, api_data)<br>        result.append(mresult)<br><br>    mail_content = &quot;&lt;p&gt;&lt;h1&gt;2020-12-27 Website Operation Metrics: &lt;/h&gt;&lt;/p&gt;&quot; + send.convertToHtml(title, result)<br>    send.send_mail(mail_content)<br></pre><p>As for subscribing to the key metrics of website operations via email, please contact us to get the source code.</p><h3>Receive daily email alerts</h3><p>In this way, Operations Engineer Kevin will regularly receive daily emails containing data on the key operating metrics of the website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VsDkwY-y726not35" /><figcaption>Diagram of an example of metrics subscription email</figcaption></figure><h3>Metrics Alert</h3><p>Active Users, UV, and PV are the core metrics that operations staff pay close attention to. But it is not enough to receive regular reports of metric values. By setting a threshold value, alarm notifications can be triggered if the data fluctuation reached a certain degree. Once Kevin receives the email notification, he can start monitoring the active data in real-time. His working efficiency can be improved.</p><p>Next, Kevin can create scheduled tasks to call APIs every other hour. An alert email will be sent to Kevin if the predefined threshold value is reached so he can adjust the operations strategy accordingly.</p><h3>Experience Kyligence Zen Now</h3><p>The <a href="https://zen.kyligence.io/templates/50110_ecommerce_userbehavior_uv_pv_dod_jadede/?utm_medium=medium&amp;utm_source=APIyoujian">E-Commerce PV and UV Day-to-Day Analysis Metrics</a> have been published in the Kyligence Zen Metrics Template market. You may click the <a href="https://zen.kyligence.io/templates/50110_ecommerce_userbehavior_uv_pv_dod_jadede/?utm_medium=medium&amp;utm_source=APIyoujian">link</a> and reproduce the use case in your own <a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=APIyoujian">Kyligence Zen</a> account.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1712cd25469c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kyligence/a-great-tool-for-website-operators-use-api-to-subscribe-monitor-key-web-traffic-metrics-via-email-1712cd25469c">A Great Tool for Website Operators — Use API to subscribe Monitor Key Web Traffic Metrics via Email</a> was originally published in <a href="https://medium.com/kyligence">Kyligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Consume Credible Metric Data Effortlessly with Microsoft Excel]]></title>
            <link>https://medium.com/kyligence/consume-credible-metric-data-effortlessly-with-microsoft-excel-909bcbd06fed?source=rss-9f889cb90b5c------2</link>
            <guid isPermaLink="false">https://medium.com/p/909bcbd06fed</guid>
            <category><![CDATA[retail]]></category>
            <category><![CDATA[metrics]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Cuoji De]]></dc:creator>
            <pubDate>Mon, 07 Nov 2022 07:37:24 GMT</pubDate>
            <atom:updated>2022-11-07T07:37:24.755Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QqwqCg4o2bNAzRFZ" /><figcaption>Consume credible metric data effortlessly with Microsoft Excel (Image: iStockPhoto)</figcaption></figure><h3>Excel: important skill for data analysis</h3><p>Excel is probably the most commonly used spreadsheet for data statistics and data analysis. Compared with BI, Excel is less expensive and easier to use. People can do various data analysis jobs with Excel.</p><p>However, like other BI tools, when using Excel for data analysis, it is often necessary to reprocess the current data source, e.g., applying functions, or using pivot tables for customized aggregations. In this case, issues will inevitably arise even if everyone uses the same set of data. For instance, the definition of a metric might be inconsistent among different teams, and there might be duplicate metrics, reducing the reusability of metrics.</p><h3>Metrics store and Kyligence Zen</h3><p>It is actually quite common to encounter such issues when using Excel for collaborative work. Take the retail industry as an example, where data and metric analytics are widely needed. For instance, Peter, a regional manager, and Jane, a financial manager, both use Excel for sales order analysis. The regional manager is more concerned with the breakdown of sales data, while the financial manager prefers to see the trend. Obviously, with this approach, they are likely to disagree with each other due to inconsistent metric definitions or are reluctant to use the report already created</p><p>In blog “The Missing Piece in the Modern Data Stack”, Benn Stancil, Chief Analytics Officer of Mode, presents the chart below. As can be seen from the chart, in traditional architectures, the logic of metrics is “firmly” coupled with the application layer. This has resulted in inconsistent metrics policies or reuse problems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/0*q4FKK4faLJVOLb3e" /><figcaption>Why do we need a Metrics Store (Image: <a href="https://benn.substack.com/p/metrics-layer">The missing piece of the modern data stack</a>）</figcaption></figure><p>In the new architecture, by extracting the metrics logic (i.e., establishing a metrics store), a single source of truth (that is, consistent metrics definition) can serve as the application layer. In such an architecture, we can continue to consume credible metrics data with lightweight BI tools like Microsoft Excel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*C9cVmNio3m8WtLPL" /><figcaption>Kyligence Zen architecture (Image: Kyligence)</figcaption></figure><p>Kyligence Zen makes it easy for customers to perform metric-centered data analysis. As an intelligent metrics-driven management and decision-making platform, Kyligence Zen enables enterprises to build an agile, consistent, and low-cost metrics system. For data consumers, Kyligence Zen provides an open API to easily connect with various application tools and platforms, such as Microsoft Excel, and helps to achieve efficient digital-driven collaboration.</p><h3>Create credible metrics with a consistent metrics catalog</h3><p>Let’s check how to quickly set up a consistent metric catalog in Kyligence Zen:</p><p><em>The </em><a href="https://zen.kyligence.io/templates/50018_retail_profitandloss_seanzong/"><em>Metrics for New Retail Profit and Loss Analysis</em></a><em> have been published in </em><a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=excelzhibiao"><em>Kyligence Zen</em></a><em> Metrics Template market. You may click the link and reproduce the use case in your own Kyligence Zen account.</em></p><p>Upon completion of data preparation and batch creation of metrics, we can see these metrics in the metric catalog of Kyligence Zen and achieve consistent metrics management. In this way, we can increase metrics credibility and bring together team members to work collaboratively, enabling metrics reuse.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5pCvv9L10r78NqLT" /><figcaption>Create consistent metrics definitions via Metric Directory (Image: Kyligence Zen)</figcaption></figure><h3>Use Microsoft Excel to connect Kyligence Zen and consume metrics data</h3><p>Next, we will use Excel to consume the metrics defined in Kyligence Zen, helping enterprises with a metrics-driven business and management approach.</p><p>To integrate Excel with Kyligence Zen, we need to install the Kyligence Zen add-ins. <em>For specific steps, please refer to </em><a href="https://zen-docs.kyligence.io/en/appendix/install-excel-plugin"><em>Install Kyligence Zen Excel Add-In | Kyligence Zen</em></a><em>. </em>Upon completion of installation, you can connect to the standardized metrics service provided by Kyligence Zen via Excel to create charts and pivot tables for analytics related to metrics data.</p><h3>Connect to metrics services via Excel</h3><p>Create a new worksheet in Excel, click the Kyligence plugin icon, create a connection, connect to the Kyligence Zen server, and enter the user information to complete the login.</p><p><em>For specific steps, please refer to </em><a href="https://zen-docs.kyligence.io/en/excel"><em>Use Excel for Data Analysis | Kyligence Zen</em></a><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*iIHBIXZzFVMzsmWn" /><figcaption>Get Excel connection information and log in (Image: Kyligence Zen)</figcaption></figure><h3>Analytics based on credible metrics</h3><p>After connecting to Kyligence Zen Server, you can create pivot tables by adding charts and adding metrics from the metrics catalog. Given the fact that these metrics are all from the metric catalog of Kyligence Zen, they have consistent metrics definitions and better reusability, so everyone in the organization can work on credible metrics.</p><p>This solves the issue encountered by Peter, the regional manager, and Jane, the financial manager. Kyligence Zen lays a solid foundation for interdepartmental collaboration.</p><p>As mentioned above, Peter, the regional manager, gives particular attention to the breakdown of two metrics, i.e., total sales and net profit margin. By importing metrics data and identifying the analytics dimensions needed, Peter can create a pivot table and consume the metrics data directly to guide him in making further decisions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4u4RM7sjxd5LXZwP" /><figcaption>Peter, the regional manager, gives particular attention to the breakdown of two metrics, i.e., total sales and net profit margin. (Image: Kyligence Zen)</figcaption></figure><p>Jane, the financial manager, wants to see a visualized trend chart directly. Based on the centrally managed metric catalog, she can determine whether the current allocation of budget is appropriate based on the changes in the trend line.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EkUyErL9_sln_b7x" /><figcaption>Jane, the financial manager, determines whether the current allocation of budget is appropriate based on the changes in the trend line (Image: Kyligence Zen)</figcaption></figure><p>Both Peter’s decision-making and Jane’s budget resource allocation are highly convincing, as they are based on analytics on credible metrics with consistent metrics definitions. Consuming credible metrics data via Excel empowers businesses with effortless self-serve digital analytic capability.</p><h3>Conclusion</h3><p>As we can see from the above examples, the concept that “the metrics can be defined once, and then reused anywhere” can be implemented by defining metrics in the metric catalog of Kyligence Zen. Meanwhile, metrics with consistent definition also lay a solid foundation for mutual trust, enabling team members to make informed decisions.</p><p>Kyligence Zen also provides open standard interfaces, organizations can consume credible metrics data in Microsoft Excel and other commonly-used BI tools, and reuse metrics in various business scenarios. By doing so, Kyligence Zen empowers businesses by making everyone a data expert, reducing time spent on gaining insight from data and unleashing date values for the goal of building an e-enterprise.</p><h3>Experience Kyligence Zen now</h3><p>The <a href="https://zen.kyligence.io/templates/50018_retail_profitandloss_seanzong/">Metrics for New Retail Profit and Loss Analysis</a> have been published in <a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=excelzhibiao">Kyligence Zen</a> Metrics Template market. You may click the link and reproduce the use case in your own Kyligence Zen account.</p><p><em>Note : The dataset is from </em><a href="https://www.kaggle.com/"><em>Kaggle</em></a><em>, with </em><a href="https://www.kaggle.com/mohamedharris"><em>Mohamed Harris</em></a><em> as </em>the <em>author. Some columns of the data used in this article are adjusted on the basis of the original dataset.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=909bcbd06fed" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kyligence/consume-credible-metric-data-effortlessly-with-microsoft-excel-909bcbd06fed">Consume Credible Metric Data Effortlessly with Microsoft Excel</a> was originally published in <a href="https://medium.com/kyligence">Kyligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[There Is No Point Talking About YOY / MOM If You Cannot Easily Create Them]]></title>
            <link>https://medium.com/kyligence/there-is-no-point-talking-about-yoy-mom-if-you-cannot-easily-create-them-6d8e5ef7e783?source=rss-9f889cb90b5c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d8e5ef7e783</guid>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[metrics]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Cuoji De]]></dc:creator>
            <pubDate>Wed, 26 Oct 2022 03:46:39 GMT</pubDate>
            <atom:updated>2022-10-26T04:02:49.573Z</atom:updated>
            <content:encoded><![CDATA[<h4>Kyligence Zen supports self-service YOY/MOM analysis</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*geEUTANhEQ14I8euv60rSA.jpeg" /><figcaption>Image from <a href="https://unsplash.com/photos/IrRbSND5EUc">Unsplash</a> by <a href="https://unsplash.com/@markuswinkler">markuswinkler</a></figcaption></figure><p>May, a business team analyst, needs to run a month-on-month analysis of the company’s net profit. But if she turns to her data developer to develop new metrics, it will take about 1–2 weeks for approval and development. Since the basic metric of net profit has already been created, May decided to try the graphical interface of Kyligence Zen and create the MOM of net profit by herself.</p><p>Thanks to the low-code graphical metrics development and management environment of Kyligence Zen, data analysis is no longer the patent of a few data engineers, but a self-service data analysis activity that enables everyone to participate. In the following section, May will show you how to perform self-service creation of the ‘YOY/MOM of net profit’ metric by using Kyligence Zen without needing help from a data engineer.</p><p>The datasets and templates used in this article are now available on the <a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=tonghuanbi">Kyligence Zen</a> Metrics template marketplace. <a href="https://zen.kyligence.io/templates/50017_retail_netprofit_xox_seanzong/?utm_medium=medium&amp;utm_source=tonghuanbi">Try it now</a>.</p><h3>Self-service creation of year-on-year metrics</h3><h4>Step 1: Tim, a Data Engineer, has created the core metrics including the basic metrics of net profit</h4><p>May, a business analyst, entered Kyligence Zen’s metrics catalog to search and view the basic metric of “net profit”. Information about the metric is as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tgRMtHqFQFZQha5A" /><figcaption>Basic metric of Net Profit</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1CBfFK0ZKHFbOHgs" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SZeHSR-hsSw2iTOm" /><figcaption>‘Net Profit’ basic metric</figcaption></figure><h4>Step 2: Business Analyst May performs self-service defining of year-on-year derived metrics</h4><p>Based on the chart below, we know that net profit is a basic metric, and the year-on-year and month-on-month of net profit are both derived metrics based on this net profit. May, a business analyst, does not need to worry about the complicated technical details of year-on-year metrics when creating them. She can create derived metrics effortlessly by setting only a few relevant metric attributes (Derivation Type, Computation Interval, and Time Granularity).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aydZCfC0vUyuiMWK" /><figcaption>Relationship between the basic metrics of net profit and the derivative MOM and YOY metrics</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8joJ02Br7HiFEVkb" /><figcaption>Create derived metrics of MOM of net profit</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lFcu7-MYUW85vZYw" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gJvAcU4reNgySvih" /><figcaption>Metrics Definition of Net Profit MOM / YOY</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7Bs20z9T5M9i3EwD" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cvvliMNkSReZ_DmC" /><figcaption>Metrics Chart of Net Profit MOM and YOY</figcaption></figure><h4>Step 3: Business Analyst May performs business analytics with MOM and YOY Net Profit Metrics</h4><p>Creating metrics is not the ultimate goal of May’s analytics. After the above second step, business analyst May has easily defined the metrics of MOM and YOY of net profit through self-service. May can finally use these metrics for her business analytics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/0*8KV3nY4cOGZFsD9J" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/0*OCNqH2fsm-nK8OyE" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/0*OYhQtJ1yCY08Ozy6" /><figcaption>Metric definition card for net profit, net profit MOM / YOY</figcaption></figure><p>She wants to correlate metrics to the company’s business goals, so that they can actually drive the company’s business growth. Therefore, May created the goals for <strong>Net Profit</strong>, <strong>YOY of Net Profit</strong> and <strong>MOM of Net Profit </strong>with the Goal module of Kyligence Zen. Finally, the management team can clearly see the current revenue status of the enterprise by comparing the target value and the value of the Net Profit, YOY/MOM of Net Profit metrics, and adjust their business strategy accordingly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fcxMZreThI2Ng1OY" /></figure><h3>Experience Kyligence Zen Now</h3><p>The datasets and templates used in this article are now available on the <a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=tonghuanbi">Kyligence Zen</a> Metrics template marketplace. <a href="https://zen.kyligence.io/templates/50017_retail_netprofit_xox_seanzong/?utm_medium=medium&amp;utm_source=tonghuanbi">Try it now</a>.</p><p><em>Note 1: The dataset is from </em><a href="https://www.kaggle.com/"><em>Kaggle</em></a><em>, with </em><a href="https://www.kaggle.com/mohamedharris"><em>Mohamed Harris</em></a><em> as author. Some columns of the data used in this article are adjusted on the basis of the original dataset.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d8e5ef7e783" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kyligence/there-is-no-point-talking-about-yoy-mom-if-you-cannot-easily-create-them-6d8e5ef7e783">There Is No Point Talking About YOY / MOM If You Cannot Easily Create Them</a> was originally published in <a href="https://medium.com/kyligence">Kyligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Find out Why Your Order is Delivered Late. It’s that simple!]]></title>
            <link>https://medium.com/kyligence/find-out-why-your-order-is-delivered-late-its-that-simple-f2aef6fd1ee2?source=rss-9f889cb90b5c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2aef6fd1ee2</guid>
            <category><![CDATA[metrics]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[delivery]]></category>
            <category><![CDATA[business-analysis]]></category>
            <category><![CDATA[supply-chain]]></category>
            <dc:creator><![CDATA[Cuoji De]]></dc:creator>
            <pubDate>Thu, 13 Oct 2022 03:31:53 GMT</pubDate>
            <atom:updated>2022-10-13T05:24:41.244Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fWWgGgtZjfVsQeQ3ZxGi4g.png" /><figcaption><em>Image from </em><a href="https://unsplash.com/photos/BFdSCxmqvYc"><em>Unsplash </em></a><em>by </em><a href="https://unsplash.com/@commonboxturtle">Conor Brown</a></figcaption></figure><h3>“Information black hole” makes it difficult to locate the root cause</h3><p>Ray, the head of the Data Analytics Department at a supply chain company, recently encountered a problem — The company had encountered significant amount of delayed orders, increasing of customer complaints, and loss of long-term customers. As we all know, the supply chain is a closed-loop chain, consisting of raw materials -&gt; manufacturers -&gt; suppliers -&gt; channels -&gt; end users, as well as production, procurement/sales, inventory, logistics, consumption, and other aspects. Therefore, the key task and goal for Ray in the near future is to identify the root cause of the problem, collaborate with the other departments to optimise and improve the processes, and improve the overall efficiency of the supply chain.</p><h3>Quickly identifying factors that affect the on-time delivery rate</h3><p>After some analysis, Ray, the Data Analytics Manager, reached the conclusion that the on-time delivery rate of orders was the key to the company’s overall supply chain performance. As a result, Ray decided to do some On-Time Delivery Rate metric. Let’s follow Ray to see how Kyligence Zen, a SaaS-based metrics management platform on the cloud, can help analyse the key supply chain metric of On-Time Delivery Rate, identify the key factors affecting the overall efficiency of the supply chain, and then facilitate decision-making and optimisation by the management to improve the overall efficiency of the supply chain.</p><blockquote>The <a href="https://zen.kyligence.io/templates/50047_supplychain_ontimedelivery_attribution_seanzong/?utm_medium=medium&amp;utm_source=orderdelay">Metrics for Supply Chain On-Time Delivery Rate Correlation Factor Analysis</a> have been published in Kyligence Zen Metrics Template market. You may click the link and reproduce the use case in your own Kyligence Zen account.</blockquote><p>Firstly, in the metrics catalog on the Kyligence Zen, Ray defined the key metric On-Time Delivery Rate as follows:</p><p><em>On-Time Delivery Rate metric = Number of On-Time Delivery Orders / Total Orders * 100%</em></p><p>On the metrics definition page, Ray can analyse by dimensions such as order date, order shipping level, etc. We can also create visual charts such as bar charts, line charts, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tH9DvnrMy_5TezSk" /><figcaption>On-Time Delivery Rate Metric</figcaption></figure><p>In addition, Ray defined metrics such as Delayed Delivery Rate and Canceled Shipping Rate for comparison with the On-Time Delivery Rate metric:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*mcPJtUgzD3gk2Glu" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/0*MsL6b6Apr5FaLRMR" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/0*xy3yBOqoyVmLxtqb" /><figcaption>Supply chain delivery rate-related metrics</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UM7Ub8F9h-KtIoXf" /></figure><p>Secondly, based on the key metrics defined above, Ray further visualised them in a dashboard and presented and reported the results of the metrics analysis at the company’s management meeting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qfJafP1bKZb3VCoW4HKjIw.gif" /><figcaption>Supply chain metrics analysis dashboard</figcaption></figure><p>Using the 3 charts (see below), Ray conducted correlation analysis on On-Time Delivery Rate, Delayed Delivery Rate and other metrics based on different factors, and reached the following conclusions:</p><p>1. As the number of days for picking increases, the delayed delivery rate of orders also increases. When the number of days for picking &gt;= 3 days, the delayed delivery rate of orders rises to 59% and reaches 95% when the number of days for picking is 4.</p><p>The number of days for picking has a direct impact on the on-time delivery rate and, ultimately, on the efficiency of the entire supply chain. To improve the on-time delivery rate of orders, Ray recommended that the company’s Warehousing Department improve the efficiency of warehouse picking.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DBnpPUWu7f6dAGAC" /><figcaption>Delayed delivery — attribution analysis on days for picking</figcaption></figure><p>2. When the number of actual days for shipment &gt;= 5, the delayed delivery rate of orders exceeds 95%. In this case, the orders are not delivered on time and customer satisfaction is bound to be affected, which can also directly lead to customer loss.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EQzl1KB-hHd01jSh" /><figcaption>Delayed delivery — attribution analysis on actual days for shipment</figcaption></figure><p>3. For the different order shipping levels, it can be found that the on-time delivery rates are, in descending order, Standard Class &gt; Same Day &gt; Second Class &gt; First Class. In the Second Class, the on-time delivery rate is only about 18%; while the delayed delivery rate of the First Class is as high as 99%. By comparing the different shipping levels, Ray recommended that the company’s management push the Logistics Department to optimise the delivery efficiency of the first and second classes of shipping levels as soon as possible, to effectively improve the on-time delivery rate of orders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*i-WWf_4VY3CGP1rT" /><figcaption>Delayed delivery — attribution analysis on shipping level</figcaption></figure><h3>Experience Kyligence Zen now</h3><p>The above process is a demonstration of how Kyligence Zen can effectively help supply chain companies’ data departments and management with metrics analysis and decision making. Kyligence Zen provides supply chain metrics templates for instant experience with On-Time Delivery Rate and other related metrics. Try it now!</p><blockquote>The <a href="https://zen.kyligence.io/templates/50047_supplychain_ontimedelivery_attribution_seanzong/?utm_medium=medium&amp;utm_source=orderdelay">Metrics for Supply Chain On-Time Delivery Rate Correlation Factor Analysis</a> have been published in Kyligence Zen Metrics Template market. You may click the link and reproduce the use case in your own Kyligence Zen account.</blockquote><p><em>Note : The dataset is from </em><a href="https://www.kaggle.com/"><em>Kaggle</em></a><em>, with </em><a href="https://www.kaggle.com/shashwatwork"><em>Shashwat Tiwari</em></a><em> as </em>the <em>author. Some columns of the data used in this article are adjusted on the basis of the original dataset.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2aef6fd1ee2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kyligence/find-out-why-your-order-is-delivered-late-its-that-simple-f2aef6fd1ee2">Find out Why Your Order is Delivered Late. It’s that simple!</a> was originally published in <a href="https://medium.com/kyligence">Kyligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Achieve Perfect Order in Supply Chain?]]></title>
            <link>https://medium.com/kyligence/how-to-achieve-perfect-order-in-supply-chain-cb9c8c08da06?source=rss-9f889cb90b5c------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb9c8c08da06</guid>
            <category><![CDATA[supply-chain]]></category>
            <category><![CDATA[metrics-store]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[logistics]]></category>
            <dc:creator><![CDATA[Cuoji De]]></dc:creator>
            <pubDate>Thu, 29 Sep 2022 01:47:16 GMT</pubDate>
            <atom:updated>2022-10-14T10:04:42.526Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*otyYcma4vpzCBJ7rqRkg1A.png" /><figcaption>Image from <a href="https://unsplash.com/photos/mVqTumQH-c0">Unsplash</a> by <a href="https://unsplash.com/@zetong">zetong</a></figcaption></figure><h3>Perfect order rate plays a vital role in the supply chain and logistics companies</h3><p>Ideally, the perfect order for the supply chain industry looks like this: Customers place orders successfully, goods are available in stock, and customers receive the goods they purchase in sound condition; companies deliver goods, return rates are at a low level, and companies receive payment for goods without a hitch.</p><p>However, this is what usually happens in real life:</p><ul><li>Jane, the receptionist of a company, orders a package of printer paper, but the order is not delivered on time. The logistics status shows that the goods have been in the nearby transit station for more than 24 hours;</li><li>Tom of the production department was notified by the logistics company this morning that an overseas shipment of parts requires additional documentation before they can be successfully delivered;</li><li>After placing an order for fabrics, May, the purchasing manager of a garment manufacturer, is informed by the raw material supplier that the raw materials are out of stock and the delivery will be delayed;</li><li>……</li></ul><p>The supply chain industry is made up of numerous links. Process collaboration is the key and it determines if orders can be successfully delivered or not. The above scenarios will impact the business and eventually result in financial losses. Faced with these problems, how can supply chain companies effectively find key factors and make targeted improvements?</p><p><em>The </em><a href="https://zen.kyligence.io/templates/50005_supplychain_perfectorder_attribution_seanzong/?utm_medium=medium&amp;utm_source=perfectorder">Metrics for Supply Chain Perfect Order Correlation Factor Analysis</a> <em>have been published in Kyligence Zen Metrics Template market. You may click the</em><a href="https://zen.kyligence.io/templates/50009_cloud_costmanagement_cassandrachen/?utm_medium=medium&amp;utm_source=cloud_cost_control"><em> </em></a>link <em>and reproduce the use case in your own </em><a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=perfectorder"><em>Kyligence Zen</em></a><em> account.</em></p><h3>What is a perfect order?</h3><p>A perfect order means that the order is fulfilled perfectly and that each step of the operation is performed in strict accordance with the commitments made to the customer throughout the order fulfillment cycle. The perfect order rate can be used to assess the effectiveness of a company’s overall supply chain performance. It measures how successfully and completely an order flow goes through all the stages: on-time shipment as per the order, on-time delivery, and timely and successful payment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pz0ukXJEoD-Nd3IclFQd6w.png" /><figcaption>A Perfect Order</figcaption></figure><h3>Kyligence Zen helps quickly analyze the perfect order rate</h3><p>For the supply chain industry, they can use <a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=perfectorder">Kyligence Zen</a> to create a metrics platform centering around the key metric of Perfect Orders Rate. Kyligence Zen is a one-stop shop metrics platform, you can click Kyligence Zen to start a free trial. The metric catalog provides a unified definition of the metric. Therefore, a trustworthy and functional metric is available to various departments for collaboration.</p><p><em>Note:</em> <em>As shown in the final section of this document, you can download the scenario dataset (CSV) and supply chain metrics template (YAML) used in this document, and import them from </em><a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=perfectorder"><em>Kyligence Zen</em></a><em> with one click to trial and reproduce the scenarios.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bzbSINotyMku2ipPJgYqzA.png" /><figcaption>Kyligence Zen Metrics Catalog</figcaption></figure><p>First, let’s take a look at the definition of the metric Perfect Orders. We filtered out perfect orders that meet the following conditions: advance delivery or on-time delivery orders; and orders with a status of complete or closed, which means that the orders have been paid for.</p><pre>#Perfect Orders【Basic】<br>  - name: Perfect Orders - Supply Chain<br>    display_name: Perfect Orders - Supply Chain<br>    description: Perfect Orders<br>    datasource: supply_chain_management<br>    type: basic<br>    status: online<br>    measure:<br>      expressions: supply_chain_management.order_id<br>      aggregation: count_distinct<br>      return_type: int<br>    dimensions:<br>      order_date_year:<br>        expressions: supply_chain_management.order_date_year<br>        display_name: Order year<br>      order_status:<br>        expressions: supply_chain_management.order_status<br>        display_name: Order status<br>      delivery_status:<br>        expressions: supply_chain_management.delivery_status<br>        display_name: Delivery status<br>        ...<br>    time_dimension:<br>      order_date:<br>        expressions: supply_chain_management.order_date<br>        display_name: Order date<br>    filters:<br>    - operator: AND<br>      conditions:<br>        - member: delivery_status<br>          operator: IN<br>          values:<br>          - Shipping on time<br>          - Advance shipping<br>        - member: order_status<br>          operator: IN<br>          values:<br>          - COMPLETE<br>          - CLOSED</pre><p>Based on the basic metric of Perfect Orders, we can further create the composite metric of “Perfect Orders Rate”:</p><p><em>Expression: Perfect Orders / Total Orders * 100 %</em></p><p>The following is a snippet of the definition of the Perfect Orders Rate metric in YAML format, from which you can find that the expressions are the above calculation formula:</p><pre>name: &quot;Perfect Orders Rate - Supply Chain&quot;<br>...<br>type: &quot;COMPOSITE&quot;<br>measure:<br>  expressions: &quot;${Perfect Orders - Supply Chain} / ${Total Orders - Supply Chain}&quot;<br>  ...</pre><p>This completes the definition of the two metrics:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*By1AG4V8VKlnhq68Z2byRA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*VOTFnaaSmE2-VCRHMSjY_w.png" /><figcaption>Perfect Orders and Perfect Orders Rate</figcaption></figure><p>After completing the definition related to the metric of Perfect Orders Rate, we can further perform visual analysis in the metric analysis dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DngRmXQFRK5pniG2m5ABAw.png" /><figcaption>Kyligence Zen Perfect Orders Rate Dashboard Analysis</figcaption></figure><p>The dashboard above shows that:</p><p>Throughout the year, the on-time delivery rate is at a low level, ranging from 38% to 47%; the paid orders rate is around 50%; and the perfect orders rate is also at a low level, ranging from 16% to 26%.</p><p>By analyzing the correlation between the paid orders rate, the on-time delivery rate, and the perfect orders rate, we suggest further improving the on-time delivery rate, so as to increase the ratio of the perfect delivery rate, improve the customer satisfaction of the supply chain companies, and thus enhance the competitiveness and viability of companies.</p><h3>Experience Kyligence Zen now</h3><p><em>The </em><a href="https://zen.kyligence.io/templates/50005_supplychain_perfectorder_attribution_seanzong/?utm_medium=medium&amp;utm_source=perfectorder">Metrics for Supply Chain Perfect Order Correlation Factor Analysis</a> <em>have been published in Kyligence Zen Metrics Template market. You may click the</em><a href="https://zen.kyligence.io/templates/50009_cloud_costmanagement_cassandrachen/?utm_medium=medium&amp;utm_source=cloud_cost_control"><em> </em></a>link <em>and reproduce the use case in your own </em><a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=perfectorder"><em>Kyligence Zen</em></a><em> account.</em></p><p><em>Note 1: The dataset is from </em><a href="https://www.kaggle.com/"><em>Kaggle</em></a><em>, with </em><a href="https://www.kaggle.com/shashwatwork"><em>Shashwat Tiwari</em></a><em> as </em>the <em>author. Some columns of the data used in this article are adjusted on the basis of the original dataset.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb9c8c08da06" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kyligence/how-to-achieve-perfect-order-in-supply-chain-cb9c8c08da06">How to Achieve Perfect Order in Supply Chain?</a> was originally published in <a href="https://medium.com/kyligence">Kyligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Repeat Purchase Analytics for New Retail : Retain Existing Customers in 3 Simple Steps]]></title>
            <link>https://medium.com/kyligence/repeat-purchase-analytics-for-new-retail-retain-existing-customers-in-3-simple-steps-5aebf64a2697?source=rss-9f889cb90b5c------2</link>
            <guid isPermaLink="false">https://medium.com/p/5aebf64a2697</guid>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[repeat-purchase]]></category>
            <category><![CDATA[big-data-analytics]]></category>
            <category><![CDATA[metrics-store]]></category>
            <category><![CDATA[the-new-retail]]></category>
            <dc:creator><![CDATA[Cuoji De]]></dc:creator>
            <pubDate>Tue, 27 Sep 2022 03:13:19 GMT</pubDate>
            <atom:updated>2022-10-14T10:09:41.990Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mUfUlrypj1hJkZciy5QIhw.jpeg" /><figcaption>Repeat Purchase Analytics for New Retail ( Source: unsplash )</figcaption></figure><h3>Significance of repeat purchase analytics for new retail</h3><p>Nowadays, customer acquisition costs are getting increasingly higher in both the Internet and the new retail industry. Meanwhile, new retail and other industries have encountered new challenges such as increased customer attrition, low daily active customers, and slow revenue growth. In the stage of sluggish growth, retaining existing customers or loyal customers is a critical entry point. Repeat purchase analytics will play an important role in this regard.</p><p>This is also supported by the RFM model, a gold model for retailers that profiles shoppers’ behavior, where F (frequency) is the repeat purchase we mentioned here. In this blog, we will analyze customer repeat purchase metrics based on the one-stop metrics template provided by <a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=retail_repurchase">Kyligence Zen</a> for the retail industry. We will define 3 RMF metrics to stratify users. Adopting different operational approaches for users with different values can increase the repeat purchase rate.</p><blockquote><em>The </em><a href="https://zen.kyligence.io/templates/50026_retail_repurchaserate_and_crosssellratio_seanzong/?utm_medium=medium&amp;utm_source=retail_repurchase">Metrics for New Retail Full-Scenario Repurchase Analysis</a> <em>have been published in Kyligence Zen Metrics Template market. You may click to try it and reproduce the use case in your own </em><a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=retail_repurchase"><em>Kyligence Zen</em></a><em> account.</em></blockquote><h3>Repeat purchase analytics with Kyligence Zen in 3 simple steps</h3><p>It only takes 3 simple steps to analyze repeat purchase metrics in<a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=retail_repurchase"> Kyligence Zen</a>. The steps are as follows.</p><p>First, we can import the retail metrics template provided by <a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=retail_repurchase">Kyligence Zen</a> with one click to support informed decisions based on repeat purchase analytics. Take the repeat purchase rate as an example:</p><h4>Step 1 : Import the retail sample dataset</h4><figure><img alt="Data source import can be completed by uploading CSV in the data entry (image from Kyligence)" src="https://cdn-images-1.medium.com/max/1024/1*kf1941YBp69v7L6buKZE1Q.png" /><figcaption>Data source import can be completed by uploading CSV in the data entry (image from Kyligence)</figcaption></figure><h4>Step 2 : Import the retail metrics template</h4><p><a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=retail_repurchase">Kyligence Zen</a> supports the definition of metrics in YAML format, allowing metrics creation and import in bulk. The metrics definition entails a clear calculation methodology and dimensions that can be aggregated for analytics. The metrics in this blog are mainly created based on the following three metrics:</p><p>1. Repeat Purchase Rate: RPR for short. To calculate the RPP, simply divide the number of return customers by the total number of active customers:</p><p><em>Repeat purchase rate = number of return customers / total number of active customers * 100%</em></p><p>2. Number of Return Customers: It is the number of customers who have made more than one purchase in a given time frame. This metric directly reflects the customer’s consumption capacity and purchase intention, and directly affects the customer loyalty metric. The higher the repeat purchase rate, the higher the loyalty of consumers to the store/brand, and vice versa. Therefore, the repeat purchase rate is also a direct reflection of consumers’ satisfaction with the store/brand.</p><p>3. Cross-Selling Rate: Repeat purchase analytics does not just focus on the repeat purchase rate. But repeat purchase rate focuses only on the number of purchases per unit time. However, there are many different types of products. Therefore, we need to study whether users repeatedly purchase the same product under the same category or a variety of products. This needs to be answered by the cross-selling rate. To calculate the cross-selling rate, simply divide the number of cross-selling customers by the total number of active customers:</p><p><em>Cross-selling rate = number of cross-selling customers / total number of active customers * 100%</em></p><p>4. Number of Cross-Selling Customers: This metric focuses on checking whether customers have purchased products from different categories in a given time frame. This is one of the main analytical methodologies for tapping and matching diverse needs.</p><p>A sample definition of the repeat purchase rate metric in YAML format is shown below. We also added dimension to it, enabling aggregation analysis by dimensions such as order by year, order by month, store area, and customer name.</p><pre>#Repeat Purchase Rate [Composite]<br>  - name: Repeat Purchase Rate<br>    display_name: Repeat Purchase Rate<br>    description: The Repeat Purchase Rate, abbreviated as RPR, is calculated as the ratio of the number of repeat customers divided by the number of active customers<br>    datasource: retail_stores_by_customer<br>    type: composite<br>    status: online<br>    measure:<br>      expressions: ${Repeat Purchase Customers} / ${Active Customers}<br>      return_type: float<br>      format:<br>        type: percentage<br>        decimal_place: 2<br>    dimensions:<br>      order_date_year:<br>        expressions: retail_stores_by_customer.order_date_year<br>        display_name: Order year<br>      order_date_month:<br>        expressions: retail_stores_by_customer.order_date_month<br>        display_name: Order month<br>      store_region:<br>        expressions: retail_stores_by_customer.store_region<br>        display_name: Store region<br>      store_city:<br>        expressions: retail_stores_by_customer.customer_name<br>        display_name: Customer name</pre><p>Next, we will upload Yaml on the Metrics page of <a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=retail_repurchase">Kyligence Zen</a> to complete metrics creation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HjChMzpThItnUFuhGbbXWQ.png" /><figcaption>Import YAML metrics templates in metric catalog (image from Kyligence)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cRTG94TAeurU39fruIj_tA.png" /><figcaption>Repeat purchase rate metric and Kyligence Zen metric catalog (image from Kyligence)</figcaption></figure><h4>Step 3 : Analyse repeat purchase metrics to identify return customers and repeat purchase characteristics</h4><p>On the <a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=retail_repurchase">Kyligence Zen</a> platform, we can view individual metrics directly, or finish a more detailed repeat purchase attribution analytics through the dashboard for decision-making.</p><p>Based on the analysis of the dashboard below, we can see that, compared with FY2015, the repeat purchase rate in 2018 showed a growing trend. When we check the data by month, it can be seen that the number of active users and the user repeat purchase rate have increased to some extent at the end of the year. The user operation department of a new retailer can further adjust and develop effective business strategies to help the new retailers to achieve sales growth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XCyMvFxrUpb19x1ZJFrWHw.png" /><figcaption>Metrics visualisation (image from Kyligence)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cp2DK1LvFxrQ-FLiZEakpQ.png" /><figcaption>Visualised dashboard for analytics on user contribution and loyalty (image from Kyligence)</figcaption></figure><h3>Experience Kyligence Zen now</h3><p>The <a href="https://zen.kyligence.io/templates/50026_retail_repurchaserate_and_crosssellratio_seanzong/?utm_medium=medium&amp;utm_source=retail_repurchase">Metrics for New Retail Full-Scenario Repurchase Analysis</a> have been published in Kyligence Zen Metrics Template market. You may click to try it and reproduce the use case in your own <a href="https://zen.kyligence.io/?utm_medium=medium&amp;utm_source=retail_repurchase">Kyligence Zen</a> account.</p><p><em>The dataset is from </em><a href="https://www.kaggle.com/"><em>Kaggle</em></a><em>, with </em><a href="https://www.kaggle.com/mohamedharris"><em>Mohamed Harris</em></a><em> as author. Some columns of the data used in this article are adjusted on the basis of the original dataset.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5aebf64a2697" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kyligence/repeat-purchase-analytics-for-new-retail-retain-existing-customers-in-3-simple-steps-5aebf64a2697">Repeat Purchase Analytics for New Retail : Retain Existing Customers in 3 Simple Steps</a> was originally published in <a href="https://medium.com/kyligence">Kyligence</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>