Icon

wf-writer-gross-profit-margin

<p>This workflow calculates the Gross Profit Margin (GPM) KPI, as per the following formula:</p><p></p><ul><li><p><strong>GPM = ((Revenue - Cost of Goods Sold (COGS)/Revenue) * 100</strong></p></li></ul><p>The Revenue and COGS is computed before the formula is applied. These are calculated as follows: <br><br>- <strong>Revenue = Total Sales + Shipping Charges</strong></p><ul><li><p>Revenue is the money that the company makes from end customer</p></li></ul><p>-- <strong>COGS = Delivery Cost + Storage Cost + Quantity * (Material Cost + Miscellaneous Cost + Assembly Cost)</strong></p><ul><li><p>COGS is the cost that a company endures in producing goods or services.</p><p></p></li></ul><p>The Gross Profit Margin is essentially the <strong>Gross Profit (GP)</strong> measured as percentage of Revenue, where, GP is COGS subtracted from Revenue.</p><p><br><br><br></p>
KPI computation for the 6 KPIs dashboarda

Gross Profit Margin (GPM) KPI


Read data from different CSV files:

  • order_misc.csv - Storage Duration of products in warehouse

  • prices.csv - Table containing prices of the product.

  • invoices.csv - Table containing the orders received.

  • inventory_storage_cost - Data sent by DEF Inc. of storage costs per piece for each product every month

  • costs.csv - Breakdown of cost in producing the final product.


Workflow Summary
  • Join the input data in one complete table.

  • Calculate the storage cost incurred when product was first made available in the inventory until the day it was dispatched.

  • For calculating GPM we calculate Cost of Goods Sold (COGS) and Revenue first, and then apply the formula below:

    • Gross Profit Margin (GPM) = ((Revenue - COGS) / Revenue) * 100

  • COGS is calculated as follows:

    • COGS = Delivery Cost + Total Storage Cost + Quantity * (Material + Miscellaneous + Assembly Cost)

  • Revenue is calculated as:

    • Revenue = Total Order Value + Shipping Charges

  • To clarify, Total Delivery Cost is the cost that ABC Furniture pays to DEF Inc for fulfilling the delivery and Shipping Charges is the shipping cost added to the invoice along with the total order value for the end customer.

  • GPM is visualized in the interactive Data App for selected year and the monthly breakdown of the selected year.

Costs

Invoices

Products

Calculate Costs & Revenues

Invoices
CSV Reader
Storage duration foreach order in warehouse
CSV Reader
Products & Prices
CSV Reader
add prices & product names
Joiner
Cost price breakdown
CSV Reader
Storage Costs
CSV Reader
Capture Workflow End
Workflow Writer
Missing Value
add storage infos
Joiner
Monthly Gross Profit
Monthly Gross profit Margin
Bar Chart
Format processing
add cost price
Joiner
Monthly Revenue
Constant Value Column
Monthly COGS
Variable Creator
Calculate Storage Costs
Storage Costs
Row Filter
extract date&time infos
Date&Time Processing
Expression
Expression
Capture Workflow Start

Nodes

Extensions

Links