how to calculate the net profit i have cost price and sales price in product table ! i have cost price in the product table only and i want make a chart or table to show me the net profit of total orders !
Solved! Go to Solution.
According to your tables, what you need to do in order to calculate profit per order is to subtract the relevant products cost + shipping fees from the total value of the order that you name it "Total Cost".
To do this you can do the following:
I noticed that you add the shipping fees to only one item per order in your OrderDetails table. This indicates that you are collecting a shipping fee per order not per item, which is the expected usual practice. Hence, it is better to remove the shipping fee column from the OrderDetails table and add it instead to the Orders table. In this case, the expression should be:
[Total Cost] - [shipping fees]
- SUM([Related OrderDetails][Product Cost])
Read these:
Dereference Expressions | AppSheet Help Center
List Dereference | AppSheet Help Center
Order date?
and instead of the โโฆโ you should complete the list of months
The expression has to match the values.
In the expression you have short names: Jan, Feb, etc.
In the values you have long names: January, February, etc.
Change either to match the other.
User | Count |
---|---|
43 | |
29 | |
29 | |
14 | |
14 |