Jul 27, 2020 12:03 pm
Please answer to this question How to find profit% from sale amount & purchase amount?
1 Reply
Jul 30, 2020 7:00 am
Hi,
You can try the below queries. I have chosen Sales_Table here.
Select Country, (Sum(Profit)*100/Select Sum(Sales) from Sales_Table)) as Per_Profit from Sales_Table Group By Country Select Country, (Sum(Purchase)*100/Select Sum(Sales) from Sales_Table)) as Per_Purchase from Sales_Table Group By Country