Forum

How to find profit ...
 
Notifications
Clear all

How to find profit percent from sale amount & purchase amount?


KV Kumar
Posts: 27
Admin
Topic starter
(@vinodkrsetty)
Member
Joined: 2 years ago

Please answer to this question How to find profit% from sale amount & purchase amount?

1 Reply
Naveen
Posts: 36
 Naveen
(@Naveen)
Joined: 1 year ago

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 
Reply
Share: