The repository contains a Power BI dashboard for visualizing and analyzing several metrics and also the data used in it.
With this dashboard i want to answer several question to help understand the business performance and how it can be improved in the future.
- Which are the sales tendency over time for the different categories of products?
- Find out the total sales per market over time.
- Which products are more or less profitable?
-
Show the category of products and the respective sub-categories that are more profitable, depending on the market and segment of products.
- Find out which countries have more orders placed and which ones are more profitable.
- Show the average number of days that takes to ship an order on the countries of a certain market.
- Classify the costumer by the number of orders to understand which costumers are the most profitable.
-
Identify customers who have placed a high volume of orders but have stopped ordering for a certain period of time, in order to reduce the churn rate.
ShipTimeinDays = DATEDIFF(Orders[Order Date], Orders[Ship Date],DAY)
These visualizations can be filtered using a slicer where the different markets can be chosen.
ClientClassification = SWITCH(TRUE(),
[numOrdersClient] >= 70, "High Volume Client",
[numOrdersClient] >= 20, "Medium Volume Client",
"Low Volume Client")
To create the client classification, a measure with name "numOrdersClient" was computed to know the number of orders each client has.
numOrdersClient = CALCULATE(count(Orders[Order ID]))
LastOrder = CALCULATE(
MAX(Orders[Order Date]),
FILTER(
ALL(Orders),
Orders[Customer ID] = Customers[Customer ID]
)
)
The second column was created to know how many days passed since the last order a certain client made.
DaysFromLastOrder = DATEDIFF(Customers[LastOrder], TODAY(),DAY)
And finally, the action to be taken for each client was decided.
Action =
IF(Customers[DaysFromLastOrder] > 3500 && (Customers[ClientClassification] = "High Volume Client" || Customers[ClientClassification] = "Medium Volume Client"), "Contact Client Immediatly",
IF(Customers[DaysFromLastOrder] >= 2500 && (Customers[ClientClassification] = "High Volume Client" || Customers[ClientClassification] = "Medium Volume Client"), "Contact Client ASAP",
"Do Not Contact Client"))
© 2024 Victor Malheiro