<?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 Sergio Verga on Medium]]></title>
        <description><![CDATA[Stories by Sergio Verga on Medium]]></description>
        <link>https://medium.com/@sergiov3005?source=rss-509a500d9488------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6NMivrf7noYth4XVr0n8LQ.jpeg</url>
            <title>Stories by Sergio Verga on Medium</title>
            <link>https://medium.com/@sergiov3005?source=rss-509a500d9488------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 06:52:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sergiov3005/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[Automate KPI Report Interpretation and Insights with GenAI & KNIME]]></title>
            <link>https://medium.com/low-code-for-advanced-data-science/automate-kpi-report-interpretation-and-insights-with-genai-knime-d979c76be7de?source=rss-509a500d9488------2</link>
            <guid isPermaLink="false">https://medium.com/p/d979c76be7de</guid>
            <category><![CDATA[stories]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[knime]]></category>
            <category><![CDATA[kpi]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Sergio Verga]]></dc:creator>
            <pubDate>Fri, 25 Apr 2025 07:57:12 GMT</pubDate>
            <atom:updated>2025-04-25T12:03:51.242Z</atom:updated>
            <content:encoded><![CDATA[<h4>DATA STORIES | GENAI AND LLMs | KNIME ANALYTICS PLATFORM</h4><h4>A tutorial to use local multimodal LLMs for automating KPI report analysis and getting strategic recommendations</h4><p><em>Co-author: </em><a href="https://www.linkedin.com/in/roberto-daniele-cadili-7422471b6/"><em>Roberto Cadili</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/0*WDnWaDAL_i41r6hN.png" /></figure><p>Companies rely on Key Performance Indicators (KPIs) to track progress and guide decision-making. However, generating reports is just the first step: Interpreting those reports to extract actional insights is often time-consuming and requires expertise.</p><p>Generative AI (GenAI) tools can help automate this process, saving valuable time. In this blog post, we use <a href="https://www.knime.com/knime-analytics-platform?utm_source=website&amp;utm_medium=organic&amp;utm_term=Roberto&amp;utm_content=blog&amp;utm_campaign=evangelism">KNIME Analytics Platform</a> and the KNIME <a href="https://hub.knime.com/e/OXN67luV6igE_g6J">AI extension</a> to build a workflow that leverages <a href="https://www.knime.com/blog/local-llms-made-easy">local large language models (LLMs)</a> sourced from Ollama to analyze a company’s annual KPI report.</p><p>By running models locally, the workflow ensures data security, while automating the interpretation of the company’s six key KPIs, from employee turnover to CO2 emissions. We use <a href="https://ollama.com/library/llama3.2:1b">llama3.2:1b</a> to process text and <a href="https://ollama.com/library/llama3.2-vision">llama3.2-vision</a> to interpret charts, providing recommendations to support data-driven strategies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*PkKdEycAWAMY6ORv.png" /><figcaption>Header of the generated document and first KPI interpreted by LLaMa3.2-vision.</figcaption></figure><h3>Why monitor KPIs?</h3><p>KPIs help companies measure performance, identify trends, and make informed decisions.</p><p>At the fictional software company, Deep Thought, the data team compiles an annual report for the CEO, summarizing key business metrics.</p><p>The <a href="https://www.knime.com/blog/ceo-kpis">six KPIs</a> in the report include:</p><p>1. <strong>Revenue Growth</strong>: Percentage increase in revenues over time.</p><p>2. <strong>Gross Profit Margin:</strong> Percentage of revenue retained after costs of goods sold.</p><p>3. <strong>Market Share</strong>: Company’s percentage of the total market within its industry.</p><p>4. <strong>Employee Turnover</strong>: Rate of change in the workforce.</p><p>5. <strong>Customer Churn</strong>: Percentage of customers leaving the company’s business.</p><p>6. <strong>Carbon Emission</strong>: Total CO2 emissions from a company’s operations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*NP-bHantJqgkRLJe.png" /><figcaption><a href="https://hub.knime.com/s/OvsNY5FXcbOy8FD-">Report of the 6 KPIs</a> that will be parsed and interpreted by local LLMs.</figcaption></figure><p>While the KPI report is neat and well-structured, interpreting KPIs can be complex and time-intensive, requiring expertise to uncover insights, spot critical trends, and craft actionable recommendations.</p><p>Instead of manually analyzing trends, you can automate the process with GenAI in a KNIME workflow. While <a href="https://medium.com/low-code-for-advanced-data-science/evaluate-llm-rag-and-ml-vulnerabilities-in-knime-with-giskard-nodes-4da8ccb8bcdd">LLMs might present some risks</a>, they also offer a quick baseline to simplify KPI interpretation and generate strategic advice for addressing weaknesses highlighted in the charts.</p><h3>How to build the KPI Interpretation workflow in KNIME</h3><blockquote><a href="https://hub.knime.com/s/_HVjLdQa2xnChoyO">Download the workflow</a> from KNIME Community Hub to follow along.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*SimWodC3nAWnfAbP.png" /><figcaption>Overview of the KNIME workflow to interpret plots, get recommendations and save insights into a new report.</figcaption></figure><h4>Step 1: Extract text from the KPI report</h4><p>We start by parsing the KPI report (a PDF document) to extract KPI definitions, using the <a href="https://hub.knime.com/knime/extensions/org.knime.features.ext.textprocessing/latest/org.knime.ext.textprocessing.nodes.source.parser.tika.TikaParserNodeFactory">Tika Parser</a> node. This node reads many different file formats and extracts the text and metadata, as well as in-line images (e.g. KPI charts) from documents and stores them to a local folder for later processing.</p><p><strong>Challenge: </strong>The report follows a two-column layout, which causes text parsing issues. Since the Tika Parser node processes text top-to-bottom and left-to-right, the KPI definitions become misaligned.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*QiIYvIPJMOuvplYZ.png" /><figcaption>KPI definitions extracted by the Tika Parser. Because of the node parsing sequence, documents with multiple-column text layout are hard to parse correctly.</figcaption></figure><p><strong>Solution: </strong>We use the local open-source LLM, <a href="https://ollama.com/library/llama3.2:1b">llama3.2:1b</a>, to correctly structure the extracted text.</p><p>Steps to apply <a href="https://www.knime.com/blog/how-to-leverage-open-source-llms-ollama">local LLMs via Ollama in KNIME</a>:</p><ol><li><strong>Authenticate</strong>: Use the <a href="https://hub.knime.com/n/pRhZljTFfiCNhD9C">OpenAI Authenticator</a> with dummy credentials and the base URL of a local host to establish a connection to Ollama.</li><li><strong>Connect</strong>: Use the <a href="https://hub.knime.com/knime/extensions/org.knime.python.features.llm/latest/org.knime.python3.nodes.extension.ExtensionNodeSetFactory$DynamicExtensionNodeFactory:a4f3d43a">OpenAI Chat Model Connector</a> node to select the LLM model you want and define hyperparameters. Go to “All models → Specific model ID” in the connector node.</li><li><strong>Prompt</strong>: Use the <a href="https://hub.knime.com/n/TtkJwMI4jI-nrR3s">LLM Prompter</a> node to instruct the model to reorganize the KPI definitions.</li></ol><p>Example prompt:</p><p>We used the following prompt in the <a href="https://hub.knime.com/n/Ls5yIzatVMzhFnzu">Expression</a> node:</p><blockquote><strong>Prompt: </strong>“Consider the following OCR file. There are 6 KPIs contained inside, but the structure of the pdf had 2 columns and 3 rows. So it’s not easy to extract them, but associate each KPI with its definition. Return only a bullet list (with * at the begin) with each KPI and the following description. OCR: “ + ($[“Content”] )</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*fmR-hTubfZOTP3cW.png" /><figcaption>Inside the “Parse KPI definitions” component that is used to correctly parse KPI definitions. Error handling is performed to prevent possible missing information in the response.</figcaption></figure><p>After processing, the KPI definitions are properly structured and ready for the next step: We want to use these KPI definitions to enrich the next prompt with context and obtain better plot interpretations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*UXdeYwe9KsrVLR3W.png" /><figcaption>Properly parsed KPI definitions.</figcaption></figure><h4>Step 2: Access and encode KPI visualizations</h4><p>Since KPI insights rely on both text and charts, we have to extract and prepare visual data for processing.</p><ol><li><strong>Extract charts</strong>: The Tika Parser node extracts in-line images from documents and saves the KPI visualizations to a defined folder.</li><li><strong>Read images</strong>: The <a href="https://hub.knime.com/n/knCR2e_gRcYkIu20">Image Reader (Table)</a> node, which is inside the “Read plots and charts” metanode, imports them.</li><li><strong>Convert images to Base64 (i.e., ASCII format)</strong>: This conversion is needed to include KPI plots in the next prompt and allow the LLM to correctly “see” them. First, we transform images into binary objects with the <a href="https://hub.knime.com/n/kxpEASo_ApwZb4zH">PNGs to Binary Objects</a> node, and then finalize the encoding using the <a href="https://hub.knime.com/armingrudd/spaces/Public/Components/Binary%20Object%20to%20Base64~0n2O_6HRqGztib8y/current-state">Binary Object to Base64</a> component.</li></ol><p>Encoding ensures that both the KPI definitions and visualizations can be included in the next prompt, where we’ll ask the LLM for interpretations and recommendations.</p><h4>Step 3: Interpret KPI visualizations and recommend actions with multimodal local LLMs</h4><p>To interpret KPI visualizations and generate recommendations for improving the company’s performance, we use <a href="https://ollama.com/library/llama3.2-vision">llama3.2-vision</a>, an open-source, multimodal, 11b-parameter model sourced for free from Ollama.</p><blockquote><strong>Note: </strong>The term “multimodal” indicates that these models are capable of understanding and generating information across multiple formats, such as text, images, and audio.</blockquote><p>The model performs two tasks:</p><ul><li>Image-to-text: Interprets the KPI plots</li><li>Text-to-text: Generates improvement recommendations.</li></ul><p>This task is fairly complex and, while the model has good capabilities, we can be smart about the way we prompt it to meet our expectations and optimize its performance.</p><h4>Optimize the prompt for better results</h4><p>We can improve the LLM performance with two prompting techniques:</p><ol><li><strong>Chain-of-Thought Prompting (CoT)</strong> guides the model through a structured reasoning process. The user instructs the LLM in a single prompt to break down a complex task and reason through the task step by step before generating a response. In our example we want the LLM to interpret plots.</li></ol><blockquote><strong>Example prompt:</strong> “Comment the trend of this KPI using the following instructions. The KPI is: [KPI definitions]. Provide an interpretation for the CEO of the Deep Thought software company. Note that, if there is a time variable it likely is a month. Some other graphs may not have temporal information, so pay attention. Let’s start with generally describing the graph, by identifying the x variable and then the y variable. And to generally observe the behavior of the chart/plot. Later this will be used for suggestions and refinement.”</blockquote><p>In the prompt, you can see how we guided the model to approach the task step-by-step, interpreting KPI visualizations by structuring its reasoning on how to analyze plots and charts. This included actions like first identifying the x- and y-axis dimensions or observing trends in plots with a time variable:</p><p>2. <strong>Prompt Chaining</strong> breaks tasks down into a series of separate prompts (a.k.a. chain). Here, we are using it for suggestions and refinement.</p><blockquote><strong>Example prompt: </strong>“Followingly, you find the response of LLaMa3.2-vision to interpret a KPI graph for the CEO of the DEEP THOUGHT software company. We need to summarize it and to provide suggestions to improve in terms of this KPI for the future. Please let the final response be of maximum 5 lines in total. Directly write the output without introducing it or commenting on it. RESPONSE: [KPI plot interpretations]”</blockquote><p>We broke down the task into two different prompts. The first prompt asks the model for an interpretation of the KPI plots. The second prompt is enriched with the output of the first prompt and asks the model to formulate concise recommendations for the CEO.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*ml2JqYrIwuHfsO6X.png" /><figcaption>In the “Plot interpretations” component, we use Chain-of-Thought Prompting to help the LLM interpret the charts. Next, we use the obtained interpretations in the “Suggestions and refinement” component and ask the model to provide recommendations for improving the company’s performance in each KPI.</figcaption></figure><h4>Image-to-text: Plot interpretation</h4><p>In KNIME we use llama3.2-vision to interpret the KPI visualizations. We use the <a href="https://hub.knime.com/knime/extensions/org.knime.features.rest/latest/org.knime.rest.nodes.post.RestPostNodeFactory">POST Request</a> node, providing the pertinent local URL: <a href="http://localhost:11434/api/generate"><em>http://localhost:11434/api/generate</em></a><em> </em>as defined by the <a href="https://github.com/ollama/ollama/blob/main/docs/api.md#generate-a-completion">Ollama API</a>, and set a very high timeout (i.e., 600 s).</p><p>The crucial part, though, is what the JSON request body that is fed to the POST Request node contains.</p><p>To define this request body, we use the <a href="https://hub.knime.com/knime/extensions/org.knime.features.json/latest/org.knime.json.node.input.JSONInputNodeFactory">Container Input (JSON)</a> node. We set the model name, temperature and seed statically and parameterize the name-value pairs for the “prompt” and “images”.</p><p>This JSON request body structure is consistent across all six KPIs: The “prompt” and “images” values are each dynamically updated to reflect the task (including the KPI definition parsed in step 1) and the corresponding base64-encoded visualization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*hvmqP5wjpHTq38Gq.png" /><figcaption>Inside the “Plot interpretation” component. On the left, the structure of the JSON request body with parameterized name-value pairs for the “prompt” and “image”.</figcaption></figure><blockquote><strong>Note.</strong> The image-to-text task is computationally expensive. On a Lenovo ThinkPad T14s with AMD Ryzen 7 PRO 4750U, execution takes approximately 20 minutes (for all 6 requests).</blockquote><h4>Text-to-text: Suggestions and refinement</h4><p>The KPI interpretations obtained in the first prompt are now used as context in a second prompt. The goal of the second prompt is to refine the interpretations and provide suggestions to the CEO for improving the KPIs.</p><p>As the second prompt is purely textual, it’s possible to use the OpenAI’s nodes for authenticating and connecting, and the <a href="https://hub.knime.com/knime/extensions/org.knime.python.features.llm/latest/org.knime.python3.nodes.extension.ExtensionNodeSetFactory$DynamicExtensionNodeFactory:ffae4570">LLM Prompter</a> node for prompting, similarly to how we extracted the KPI definitions.</p><p>With this last prompt, we have now completed the interaction with the model and obtained interpretations of the KPI visualizations and suggestions for improvement.</p><h3>Results: Interpreted KPI Trends and Recommendations</h3><p>The responses of the LLM can be compiled into a static report using the <a href="https://hub.knime.com/knime/extensions/org.knime.features.reporting2/latest">KNIME Reporting</a> extension and shared across the company.</p><h4>Example: Revenue Growth KPI</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*QXv4W6__R3aZ6gmT.png" /><figcaption>AI-generated interpretations and suggestions for the Revenue Growth KPI.</figcaption></figure><p>Trend detected:</p><ul><li>Two spikes are identified: A smaller spike in April, and a decline in the second part of the year.</li></ul><p>Recommended actions:</p><ul><li>Investigate factors driving spikes.</li><li>Diversify revenue streams to address the decline and stabilize growth.</li></ul><h4>Example: Customer Churn KPI</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*4DQDox7k71r-vB2w.png" /><figcaption>AI-generated interpretations and suggestions for Customer Churn KPI.</figcaption></figure><p>Trend detected:</p><ul><li>Churn rate remains below 20% except in December (spike to approx. 25%).</li></ul><p>Recommend actions:</p><ul><li>Introduce targeted promotions.</li><li>Improve customer care support strategies.</li></ul><p>The interpretation of the remaining KPIs yielded equally satisfactory results, helping us automate the compilation of crucial insights and derived recommendations.</p><h3>Enhance KPI analysis with GenAI</h3><p>This workflow demonstrates how local LLMs can improve KPI reporting by:</p><ul><li>Extracting structured text from complex reports</li><li>Interpreting KPI charts with multimodal models</li><li>Generate actionable recommendations for decision-making</li><li>Ensure data security by running AI models locally</li></ul><h4>Considerations and next steps</h4><ul><li><strong>Task complexity</strong>: Some charts may include hard-to-read digits, low-contrast colors, and require substantial inference by the LLM.</li><li><strong>Model limitations</strong>: Local models like llama3.2-vision are less powerful than cloud-based alternatives (e.g., GPT-4o, which has ~20x more parameters and a more advanced architecture).</li><li><strong>Future improvements</strong>: More capable local models like <a href="https://ollama.com/library/llama3.2-vision:90b">llama3.2-vision:90b</a> or state-of-the-art alternatives can be explored for continuous performance improvements.</li></ul><p>— — — — -</p><p>As previously published on the KNIME Blog: <a href="https://www.knime.com/blog/automate-KPI-report-interpretation-genai">https://www.knime.com/blog/automate-KPI-report-interpretation-genai</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d979c76be7de" width="1" height="1" alt=""><hr><p><a href="https://medium.com/low-code-for-advanced-data-science/automate-kpi-report-interpretation-and-insights-with-genai-knime-d979c76be7de">Automate KPI Report Interpretation and Insights with GenAI &amp; KNIME</a> was originally published in <a href="https://medium.com/low-code-for-advanced-data-science">Low Code for Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[6 CEO KPIs and how to measure them]]></title>
            <link>https://medium.com/low-code-for-advanced-data-science/6-ceo-kpis-and-how-to-measure-them-8fa0ebc20b4d?source=rss-509a500d9488------2</link>
            <guid isPermaLink="false">https://medium.com/p/8fa0ebc20b4d</guid>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[stories]]></category>
            <category><![CDATA[revenue]]></category>
            <category><![CDATA[knime]]></category>
            <category><![CDATA[kpi]]></category>
            <dc:creator><![CDATA[Sergio Verga]]></dc:creator>
            <pubDate>Fri, 18 Apr 2025 04:32:38 GMT</pubDate>
            <atom:updated>2025-04-18T04:32:38.060Z</atom:updated>
            <content:encoded><![CDATA[<h4>DATA STORIES | FINANCE | KNIME ANALYTICS PLATFORM</h4><h4>From Revenue Growth to Market Share and Carbon Emissions using KNIME’s visual workflows</h4><p><em>Co-author: </em><a href="https://www.linkedin.com/in/rosaria/"><em>Rosaria Silipo</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BkMV23xnj1Or8BiH" /><figcaption>Photo by <a href="https://unsplash.com/@microsoft365?utm_source=medium&amp;utm_medium=referral">Microsoft 365</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A KPI (Key Performance Indicator) is a metric used to measure how well a business is performing against its objectives. KPIs measure important business metrics, such as revenue, employee retention, customer satisfaction, brand awareness, market share, carbon emissions, and more. CEOs rely on standard KPIs to feel the pulse of the business.</p><p>If you work in the data department serving the CEO, it is very likely that you need to work on one or more dashboards including a set of KPIs.</p><p>In this article, we’ll look at six of the most common CEO KPIs and how you can easily keep track of them each day, week, or month. We’ll cover the following six KPIs:</p><ol><li>Revenue Growth KPI</li><li>Gross Profit Margin KPI</li><li>Market Share KPI</li><li>Customer Churn KPI</li><li>Employee Turnover KPI</li><li>Carbon Emissions KPI</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*s7se9CnOUPi87KpQ.png" /><figcaption><em>Figure 1. Six popular KPIs for CEOs.</em></figcaption></figure><p>Let’s review and calculate the selected KPIs, one by one, before merging all of them together into one single dashboard.</p><h3>1. Revenue Growth KPI</h3><p>One of the main concerns of a CEO is making sure revenue is increasing. Here’s how to calculate the Revenue Growth KPI.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FmCaGrF_0J0Y%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DmCaGrF_0J0Y&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FmCaGrF_0J0Y%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/fced3a4ab0e209d239a45310c1d9c786/href">https://medium.com/media/fced3a4ab0e209d239a45310c1d9c786/href</a></iframe><p>Defining a period P (P = month, quarter, or year), the Revenue Growth KPI can be calculated as:</p><p>Revenue Growth KPI = (Revenue(P) − Revenue(P-1)) / Revenue(P-1) × 100%</p><p>After accessing your revenue journal entry via Odoo, SAP, Salesforce, other accounting software, a database, an Excel file, or something else, you can adapt the KNIME workflow “<a href="https://hub.knime.com/-/spaces/-/~ykOiy1CrFCFbj_4Y/current-state/">Revenue Growth KPI Monthly</a>” — downloadable for free from the KNIME Community Hub — to quickly calculate the monthly revenue growth KPI for your business.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*g5hI5O76Am6MPY-F.png" /><figcaption><em>Figure 2. Workflow “Revenue Growth KPI Monthly” calculates the monthly Revenue Growth KPI from the entry journal of the company.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*39CDJBpZyremG38G.png" /><figcaption><em>Figure 3. The monthly chart of Revenues (left) and Revenue Growth KPI (right) for year 2022, as generated from the component “data app” in the workflow “Revenue Growth KPI Monthly” depicted in Fig. 2</em></figcaption></figure><p>Learn more about how to calculate the <a href="https://medium.com/low-code-for-advanced-data-science/knime-for-finance-revenue-growth-kpi-b4b3c6f115f9">Revenue Growth KPI</a>.</p><h3>2. Gross Profit Margin</h3><p>While revenue is often the top line figure business focuses most on, it’s not everything. Revenue doesn’t mean much if your costs are also very high. That’s why CEOs often want to measure the gross profit margin.</p><p>Gross profit margin measures the amount of profit as a proportion of total revenue, and is presented as a percentage..</p><p>The Gross Profit Margin (GPM) KPI is calculated as follows:</p><p>Gross Profit Margin KPI = (Revenue − Cost of Good) / Revenue × 100%</p><p>You can use KNIME to build a dashboard for the GPM KPI, which makes it easy for you to calculate and observe trends month over month.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*ry-Y7yxaoZh5a3By.png" /><figcaption><em>Figure 4. The KNIME workflow implementing the </em><a href="https://hub.knime.com/knime/spaces/KNIME%20for%20Finance/KPI/GPM%20DataApp~zw1Xy2Uz_vLgVpwf/"><em>Gross Profit Margin DataApp</em></a><em> is available for free on the KNIME Community Hub.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Z0NFHudZ-9X1Ruvw.gif" /><figcaption><em>Figure 5. The view of the </em><a href="https://hub.knime.com/knime/spaces/KNIME%20for%20Finance/KPI/GPM%20DataApp~zw1Xy2Uz_vLgVpwf/"><em>Gross Profit Margin DataApp</em></a><em> showing the Gross Profit Margin, Gross Profit, Revenues, and Costs of Good Sold per month.</em></figcaption></figure><p>Learn more about calculating your <a href="https://medium.com/low-code-for-advanced-data-science/knime-for-finance-gross-profit-margin-693c9c08121b">Gross Profit Margin</a>.</p><h3>3. Market Share KPI</h3><p>Another important metric for a CEO to monitor is how much of the available market has been covered by the business and what remains for the taking. This is measured by the Market Share KPI. The Market Share KPI measures the percentage of the overall market that a business serves.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fhm80GNMoyyk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dhm80GNMoyyk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fhm80GNMoyyk%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f18f83b9df0ccfc2ac8568e614f24d88/href">https://medium.com/media/f18f83b9df0ccfc2ac8568e614f24d88/href</a></iframe><p>This is not a simple KPI to calculate, since the total addressable market cannot be derived from internal data.</p><p>The Market Share KPI can be calculated as follows for period P (P=month, quarter, or year):</p><p>Market Share KPI = (Market served by company(P) / Overall market(P)) × 100%</p><p>“Market served by company” can be measured according to the total value of sales or units sold in the designated period.</p><p>To estimate the total market size or total addressable market (TAM), you have two options:</p><ol><li>You could buy the data from a third-party company or create an estimation based on the publicly available data from competitors’ annual reports</li><li>You could run a survey and then, assuming the survey is statistically representative, extrapolate the results to obtain an estimate for the total market</li></ol><p>The calculation of the KPI is slightly different depending on whether you are looking at one-purchase only markets (like cars) or multi-purchase markets (like food).</p><p>Thus the calculation of the Market Share KPI depends on these 4 factors:</p><ul><li>market share as sold units vs sale revenues</li><li>business as one-purchase vs. multiple purchase scenario</li><li>TAM estimated via survey vs third-party report</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*KNG6r98-L8A7x_XSkqjQAg.png" /></figure><p>We implemented a few workflows for Market Share KPI, using different combinations of the four factors above. You can find all of the workflows to calculate the Market Share KPI in the Market Share folder within the <a href="https://hub.knime.com/-/spaces/-/~141ruevgyNi3vD3h/">KPI folder.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*M_ielpfcR_Bw-mi4.png" /><figcaption><em>Figure 6. The workflow “Market Share KPI sales company data” calculates and displays the monthly Market Share KPI in terms of units sold and sale revenues by using company data to calculate the company served market and survey data to estimate the market size for a one-purchase market.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*82lqzfRVO1Y6lyqJ.png" /><figcaption><em>Figure 7. Monthly Market Share KPI for units sold and sales revenues for 2023 based on company data.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*hftOHfZi_P702w4C.png" /><figcaption><em>Figure 8. Market Share KPI for units sold and sales revenues for 2023 based by product from survey data. Notice that survey data might be sparse and therefore a monthly calculation might not be possible.</em></figcaption></figure><p>Learn more about calculating your <a href="https://medium.com/low-code-for-advanced-data-science/knime-for-finance-market-share-kpi-afd222262969">Market Share KPI</a>.</p><h3>4. Customer Churn KPI</h3><p>Once sales are going up and salaries are paid, the next immediate worry for CEOs is customer churn. Maintaining low customer churn enables your business to have fewer revenue fluctuations, operate within a margin of safety, and maintain a healthy business and product/service satisfaction.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FM6WQ_0Vo-YA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DM6WQ_0Vo-YA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FM6WQ_0Vo-YA%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3bab39678a2b8175c9bbd6c9baffde8b/href">https://medium.com/media/3bab39678a2b8175c9bbd6c9baffde8b/href</a></iframe><p>Customer Churn KPI measures how many customers are churning over a period P (P = month, quarter, or year) and can be calculated as:</p><p>Customer Churn KPI = (Number of customers who churned(P) / total number of customers at start (P)) × 100%</p><p>This KPI should be monitored within an acceptable range to make sure customer churn levels do not endanger the business.</p><p>After connecting to the company CRM, the workflow “<a href="https://hub.knime.com/-/spaces/-/~3IMpJN9lt3vAVKe4/current-state/">Customer Churn KPI Monthly</a>” calculates the Customer Churn KPI month after month. Here’s how it works:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*excyCW7XQwp4-hYs.png" /><figcaption><em>Figure 9. The workflow “Customer Churn KPI Monthly” calculates the monthly percentages of customer churn.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cgUOu-PP2v2E8h4_.gif" /><figcaption><em>Figure 10. The dashboard produced by the component “Data App” in the workflow “Customer Churn KPI Monthly” shows the KPI over time on the left and by company subsidiary on the right.</em></figcaption></figure><p>Learn more about <a href="https://www.knime.com/blog/how-to-calculate-customer-churn-kpi">calculating customer churn</a>.</p><h3>5. Employee Turnover KPI</h3><p>CEOs don’t only look at financial metrics, but also internal metrics. That’s why the next key KPI for CEOs is the Employee Turnover KPI.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FvfzKqMQ5gaA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvfzKqMQ5gaA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FvfzKqMQ5gaA%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6068871ead10515a69104bf8901aef2d/href">https://medium.com/media/6068871ead10515a69104bf8901aef2d/href</a></iframe><p>The Employee Turnover KPI is calculated over a period P (P = month, quarter, or year) as:</p><p>Employee Turnover KPI = (Number of employees who left (P) / average number of employees (P)) × 100%</p><p>The Employee Turnover KPI is usually monitored to remain below a healthy threshold. Employee turnover is inevitable. However, employee turnover above a given threshold (usually over 10% annually) is considered a warning sign about the company culture and/or business.</p><p>The corresponding workflow “<a href="https://hub.knime.com/-/spaces/-/~wQCtPd1-TmTg3l7n/current-state/">Employee Turnover KPI Monthly” is similar</a> to the workflow implementing the Customer Churn KPI. After connecting to the company HR system, the Employee Turnover KPI is calculated according to the formula above.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OKrcVeCdY3urZH6b.gif" /><figcaption><em>Figure 10. The dashboard produced by the component “Data App” in the workflow “Employee Turnover KPI Monthly” shows the KPI over time on the left and by office location on the right.</em></figcaption></figure><p>Learn more about calculating your <a href="https://www.knime.com/blog/how-to-calculate-employee-turnover-kpi">Employee Turnover KPI</a>.</p><h3>6. Carbon Emissions KPI</h3><p>Companies are becoming more sensitive to climate change issues and are taking measures to reduce their carbon footprint. In some cases, there may be a regulatory or legal requirement to report on this KPI.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FC_utQuDXJN8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DC_utQuDXJN8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FC_utQuDXJN8%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ae91ed7882a89c52972f9034370dc383/href">https://medium.com/media/ae91ed7882a89c52972f9034370dc383/href</a></iframe><p>Tracking carbon emissions is not always straightforward and relies on a number of assumptions.</p><p>For example, a decision must be made about which CO2 production the company is actually responsible for?</p><p>Usually, CO2 emissions are classified according to sources (primary or secondary sources) and/or scopes (scope 1, scope 2, scope 3).</p><ul><li>Primary sources refer to the CO2 generated directly by the company, let’s say via transportation or via the manufacturing plant;</li><li>Secondary sources refer to the CO2 generated by third parties working with the company.</li><li>Scope 1 refers to direct emissions produced by the company’s business;</li><li>Scope 2 refers to purchased services; and</li><li>Scope 3 refers to indirect emissions like employees’ travels.</li></ul><p>For this example, we classified primary and secondary sources and limited our KPI to the calculation of primary CO2 emissions.</p><p>Once you’ve decided what types of emissions you will calculate, based on source and scope, the next issue is how you will calculate CO2 emissions. For example, I could travel from A to B by car or by train. What is the CO2 I produced in both situations? The distance is the same, but the method of transportation is different, and therefore the CO2 emissions are different, too. And then how am I supposed to convert kilometers travelled to CO2 volumes?</p><p>There are so called factors that allow you to convert activities (electricity usage, travel by car or by train, etc…) into CO2 volumes.</p><p>So far, no standard factors have been proposed and accepted as general rules. Consulting companies and research institutions usually offer their own. For this calculation we used the coefficients proposed by the UK government in the <a href="https://www.gov.uk/government/publications/greenhouse-gas-reporting-conversion-factors-2023">Greenhouse Gas Reporting: Conversion Factors for 2023</a>.</p><p>The CO2 emission KPI can then be represented with the following formula, as the sum across all company operations of consumption (measured in kWH, kilometer, or any other measure) times the corresponding CO2 factor.</p><p>CO2 emissions KPI = ∑_op CO2 emission(op) = ∑_op (CO2 factor ∗ consumption(op))</p><p>Below is the dashboard created to monitor the fictitious company’s CO2 emissions, after taking into account the following sources:</p><ol><li>Energy consumption &amp; HVAC usage</li><li>Employee commuting and travel</li><li>Advertising &amp; marketing research</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*fOwtS3qnWHXvSZz0.png" /><figcaption><em>Figure 12. The CO2 emission tracker data app.</em></figcaption></figure><p>The workflow “<a href="https://hub.knime.com/s/0_TrWWTma_oPgELW">CO2 Emission Tracker</a>” generating this dashboard is available for free.</p><p>Learn more about <a href="https://medium.com/low-code-for-advanced-data-science/knime-for-finance-tracking-co2-emissions-f7d261862bd8">how to calculate your CO2 emissions</a>. Displaying all KPIs in a single data app</p><p>We’ve calculated six commonly used CEO KPIs. We have seen the math behind them, which part of the business they help monitor, and how to create workflows that allow you to build a calculation once and re-calculate with the latest data in just a click every month.</p><p>Did you know you can also combine all 6 KPIs into a single interactive data app for consumption by your CEO or company leaders? This dashboard is created by the workflow “<a href="https://hub.knime.com/knime/spaces/KNIME%20for%20Finance/KPI/Data%20App%20-%206%20KPIs%20for%20any%20CEO~3v9Yi2QZYV7cFjlP/">Data App — 6 KPIs for any CEO</a>”, available for download from the KNIME Community Hub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*7gUzaqodaM3FnOSu.png" /><figcaption><em>Figure 11. The summary dashboard displaying the six selected KPI metrics.</em></figcaption></figure><p>Try it out for an even better way to keep track of your most important KPIs!</p><p>— — — — -</p><p>As previously published on the KNIME Blog: <a href="https://www.knime.com/blog/ceo-kpis">https://www.knime.com/blog/ceo-kpis</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8fa0ebc20b4d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/low-code-for-advanced-data-science/6-ceo-kpis-and-how-to-measure-them-8fa0ebc20b4d">6 CEO KPIs and how to measure them</a> was originally published in <a href="https://medium.com/low-code-for-advanced-data-science">Low Code for Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visualize your Revenue Growth KPI with K-AI]]></title>
            <link>https://medium.com/low-code-for-advanced-data-science/visualize-your-revenue-growth-kpi-with-k-ai-b04e4ca1968d?source=rss-509a500d9488------2</link>
            <guid isPermaLink="false">https://medium.com/p/b04e4ca1968d</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[revenue-growth]]></category>
            <category><![CDATA[kpi]]></category>
            <category><![CDATA[stories]]></category>
            <dc:creator><![CDATA[Sergio Verga]]></dc:creator>
            <pubDate>Fri, 11 Apr 2025 04:02:09 GMT</pubDate>
            <atom:updated>2025-04-11T04:02:09.673Z</atom:updated>
            <content:encoded><![CDATA[<h4>GETTING STARTED | DATA VISUALIZATION | KNIME ANALYTICS PLATFORM</h4><h4>A step-by-step tutorial to leverage KNIME’s AI assistant to build a custom bar chart in seconds</h4><p><em>Co-author: </em><a href="https://www.linkedin.com/in/rosaria/"><em>Rosaria Silipo</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O2dpfmf3TnJ2CHqMtpWN9Q.png" /><figcaption>Figure 1: Basic and AI-generated bar chart visualization. On the left is the basic result, on the right is the result with K-AI.</figcaption></figure><p><a href="https://medium.com/low-code-for-advanced-data-science/knime-for-finance-revenue-growth-kpi-b4b3c6f115f9">Revenue growth</a> is one of the most common key performance indicators (KPI) companies want to calculate and keep track of. Merely looking at the figures in a table makes it hard to see trends, identify patterns and communicate them to others. That’s why it’s a good idea to visualize it.</p><p>Using data visualization can help us reveal and communicate meaningful insights in the data in a straightforward, effective and quick way. With interactive and responsive plots, we can even actively engage the user, allowing them to zoom in and out, look at growth over a specific period, or filter and select specific data dimensions to display the specific visualizations they need.</p><p><a href="https://www.knime.com/knime-analytics-platform?utm_source=website&amp;utm_medium=organic&amp;utm_term=Roberto&amp;utm_content=blog&amp;utm_campaign=evangelism">KNIME Analytics Platform</a> offers a lot of <a href="https://hub.knime.com/e/XblED90jBdonqzRg">View nodes</a> for data visualization. These nodes are intuitive, easy-to-use, and can generate highly responsive and interactive plots. With the introduction of <a href="https://www.knime.com/blog/use-ai-to-automate-spreadsheet-work">KNIME AI Assistant (K-AI)</a>, we can now use AI to build data visualizations with less time and effort. All we need to do is to tell K-AI what we want to visualize and how we want it to look, and it will do it for us in seconds.</p><p>In this blog post, we’ll look at a simple use case to investigate the power of K-AI for custom visualizations. In particular, we’ll ask K-AI to build a bar chart with a juxtaposed line plot to display the revenue growth<em> </em>KPI of a simulated software company over the course of a year (Figure 1).</p><blockquote><em>Download the </em><a href="https://hub.knime.com/sergio_verga/spaces/Public/DemoKAI~qUJWVxSUzv-TISDR/current-state"><em>workflow</em></a><em> from the KNIME Community Hub and follow along.</em></blockquote><h3>Use case: Visualize the revenue growth KPI</h3><p><a href="https://www.knime.com/blog/calculate-revenue-growth-kpi">Revenue Growth</a> is a KPI that shows the increase in revenue from one period to the next. In this example, the periods are represented by months. A different granularity can be chosen, but “month” is often the standard choice for businesses.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*kmR30E77t_YeWGCf_gZZaA.png" /><figcaption>Figure 2: Revenue Growth formula. A more detailed explanation of the KPI can be found in the dedicated blog.</figcaption></figure><p>A common way to visualize the Revenue Growth KPI evolution over time is with a bar chart, where each month is associated with a bar proportional to the revenue growth.</p><p>KNIME offers a dedicated <a href="https://hub.knime.com/knime/extensions/org.knime.features.base.views/latest/org.knime.base.views.node.barchart.BarChartNodeFactory">Bar Chart</a> node, which can be configured with a wide variety of options, such as setting axis limits, arranging bars in a grouped or stacked way, and choosing how to group the bars. These possibilities can be extended by adding nodes before the bar chart (e.g., coloring the bars using the <a href="https://hub.knime.com/knime/extensions/org.knime.features.base/latest/org.knime.base.node.viz.property.color.ColorManager2NodeFactory">Color Manager</a> node).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*FEhMIxcH-pKYZTT8ie7JnQ.png" /><figcaption>Figure 3: Detail of Bar Chart node configuration dialog. The visualization represents the monthly percentage of revenue growth.</figcaption></figure><p>The Bar Chart node is easy to configure and generates a neat chart. However, sometimes we might need a bit more customization to display KPIs the exact way we want. For example, we may want to juxtapose the bar chart of revenue growth with a line plot representing the sum of the revenues. Something that is not possible with the simple Bar Chart node.</p><p>The quickest solution is to leverage K-AI’s friendly interface and generative capabilities in combination with the endless <a href="https://www.knime.com/blog/apache-echarts">data visualization possibilities of the Generic ECharts View node</a>.</p><h3>How to build custom bar chart with K-AI</h3><p>To access K-AI, we only need to sign in to the <a href="https://hub.knime.com/">KNIME Community Hub</a> and install (for free) the <a href="https://hub.knime.com/knime/extensions/org.knime.features.ai.assistant/latest">KNIME AI Assistant (Labs)</a> extension.</p><p>K-AI features a <strong>Q&amp;A</strong> mode to answer KNIME-oriented questions, and a <strong>Build </strong>mode to assist us with workflow creation. The Build mode lets us ask K-AI to automatically assemble the workflow for us on the Workflow Editor, providing configured nodes that are ready for execution.</p><p>In practice, it means clicking on any successfully executed node and asking K-AI to extend the workflow. In this example, we click on the “KPI computation” metanode and prompt K-AI to build the visualization we want based on the selected input data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*4BS3zf_PjeFRtTIZ2dvLiQ.png" /><figcaption>Figure 4: K-AI chat panel in Build mode (on the left partof the screenshot) and the selected node on the workflow.</figcaption></figure><p>Throughout this blog post, we’ll use K-AI in the <strong>Build</strong> mode and gradually increase the complexity of our prompts. The ultimate goal is to visualize the revenue growth KPI using a bar chart with custom coloring and a juxtaposed line plot of the total monthly revenue. Here’s a step by step guide for how to reach that end result:</p><h4>1. Create a basic bar chart</h4><p>First ask K-AI for a basic bar chart to visualize monthly revenue growth.</p><p><strong>Prompt</strong>:<em> Generate a bar chart to display the monthly growth rate. Use the month number.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pJ-znFbNtOP1ypZyQ-NOpA.png" /><figcaption>Figure 5: Result generated from K-AI with the first prompt.In this visualization, the bars represent the monthly revenue growth.</figcaption></figure><p>It’s interesting to notice that K-AI outputs a Generic ECharts View node, instead of a Bar Chart, which would have been fine in this case. This gives us a tiny sneak peek at the behind the scenes of how the LLM that powers K-AI works. It seems to prefer a node that can support JavaScript code to build visualizations, revealing the LLM’s extensive exposure to code during its training.</p><h4>2. Assign different colors according to bar length</h4><p>In the second step, the goal is to encode the values of revenue growth in three different colors to better highlight the differences in the months. Enriching the prompt with this detail leads K-AI to output a Generic ECharts View node displaying the bar chart with the desired colors.</p><blockquote><strong>Prompt</strong>: Generate a bar chart to display the monthly growth rate. Use the month number. Associate to bars higher than 100 the color green, yellow between 100 and 0 and red if negative.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*56Qwn0Rr9jLtn81_nlRGUg.png" /><figcaption>Figure 6: Result generated from K-AI with the second prompt. Three different ranges of revenue growth are encoded with three colors to highlight the differences in the KPI.</figcaption></figure><h4>3. Display quantities on the bars</h4><p>As the third step, we want to visualize the numerical values of revenue growth on top of each bar. For better readability, the value is rounded to one decimal place. Similarly to step two, we expand the prompt with this additional request.</p><blockquote><strong>Prompt</strong>: Generate a bar chart to display the monthly growth rate. Use the month number. Associate to bars higher than 100 the color green, yellow between 100 and 0 and red if negative. Add the labels to the growth rate (rounded to 1 digit).</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*96_s4Sc_wlniy7tU3PwZ9g.png" /><figcaption>Figure 7: Result generated from K-AI with the third prompt. The percentage of the Revenue Growth KPI for each month is shown rounded to one digit.</figcaption></figure><p>Prompting K-AI for the desired result leads to a successful visualization of the KPI in a matter of seconds. But we’re not done just yet.</p><p>This chart can be elaborated further, either by manually editing the generated JavaScript code in the Generic ECharts View node, or by requesting K-AI’s assistance again. We’ll go for the latter option.</p><h4>4. Juxtapose a line plot to the bar chart</h4><p>K-AI can provide additional assistance directly in the Generic ECharts View node. To access it, click on the node and the “Ask K-AI” bottom. This setting allows live manipulation of the graph, as well as the editing of existing features or the inclusion of new ones.</p><p>We ask K-AI to display a line plot with the sum of the revenue for each month on top of the existing bar chart. The visualization should also scale axes properly and display Revenue Growth on the y-axis on the left, and Total Revenue on the y-axis on the right.</p><blockquote><strong>Prompt</strong>: Display the growth rate values legend (with its three possible colors: showing to which color the growth rate percentages correspond). After, superpose a blue line plot to display the sum(credit) for every month. Let the minimum of Total Credit be -10000.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/1*l4qh25OHUVqlfH2k3X5e5w.png" /><figcaption>Figure 8: Final result generated with K-AI. This Plot includes both the bars representing the Revenue Growth and the line plot representing the total revenue in the corresponding month.</figcaption></figure><p>Voilà, with few prompts, K-AI generates a fully customized visualization of our KPI, extending the possibilities of the out-of-the-box Bar Chart node and helping us communicate richer insights.</p><blockquote><strong>Note</strong>. Depending on the JavaScript code that K-AI generates, we may need to include a few additional prompts to properly display what you wish.</blockquote><h3>Visualizing a company’s KPIs has never been easier</h3><p>In this blog post, we explored the power of K-AI in creating a customized visualization by simply typing a few prompts. We were able to generate interesting results with minimal effort, and combine two different plots, a bar chart and a line plot, in the same view. With the help of K-AI, the possibilities of customizing our data visualizations are almost endless.</p><p>Now it’s your turn to try. Interact with K-AI, let it help you build your dream visualizations, and display KPIs effectively to your stakeholders!</p><p>— — — — -</p><p>As previously published on the KNIME Blog: <a href="https://www.knime.com/blog/visualize-revenue-growth-kpi">https://www.knime.com/blog/visualize-revenue-growth-kpi</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b04e4ca1968d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/low-code-for-advanced-data-science/visualize-your-revenue-growth-kpi-with-k-ai-b04e4ca1968d">Visualize your Revenue Growth KPI with K-AI</a> was originally published in <a href="https://medium.com/low-code-for-advanced-data-science">Low Code for Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>