Hello All,
I have calculated the Sales margin value as below.
cog = Cost of goods sold
Tcost = Total cost
I also want to calculate sales margin %. What would be the right query to achieve sales margin %?
Solved! Go to Solution.
@AbbasG , Try like
Sales Margin %= divide(SUM('Total Sales'[Total Sales Amount]) - (SUM(Cost[TCost]) + SUM(cog[Amount]), SUM('Total Sales'[Total Sales Amount]) ) )
@AbbasG , Try like
Sales Margin %= divide(SUM('Total Sales'[Total Sales Amount]) - (SUM(Cost[TCost]) + SUM(cog[Amount]), SUM('Total Sales'[Total Sales Amount]) ) )
User | Count |
---|---|
334 | |
91 | |
64 | |
57 | |
44 |
User | Count |
---|---|
299 | |
113 | |
87 | |
70 | |
60 |