In addition to viewing the trend of profit changes over time easily, you may want to further observe the impact of seasons on profits.
This article introduces how to calculate profits on a daily basis. You can calculate the number of days with high profits and losses for each month.
Categorize dates into three types: high profit, loss, and profit.
The chart below shows that November is the peak season with the most high profit days and the least loss days throughout the year.
Example data:
Order Information.xlsx
Create a subject and upload the example data to the subject.
Calculate the profit for each date, and label each date as high profit, profit, or loss based on the profit amount to make it easier for statistics.
Calculating the Profit for Each Date
Add a calculation indicator to calculate the daily profit.
Formula
Description
SUM_AGG(Profit)
Calculate the summation of profits.
DEF(SUM_AGG(Profit),[Order Time])
Calculate the profit for each date.
Note: For details about the function SUM_AGG, see SUM_AGG.
Tagging Each Date
If the daily profit exceeds 2000, label it as High Profit.
If the daily profit is less than 0, label it as Loss.
Add a calculation indicator, the formula is shown in the following figure:
Counting the Number of Days
Add a calculation indicator Number of Days to count the number of days with High profit, Loss, and Profit for each month.
Creating a Line Chart
Select Partitioned Line Chart as Chart Type, and drag the fields into Horizontal Axis, Vertical Axis, and Color.
Select year as the grouping type of the first Order Time, and Month for the second Order Time.
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy