We took the stock customer profitability report in Netsuite (Reports Tab > Customer/Receivables Section > Customer Profitability) and added a formula field to look at Margin:
((Total Revenue - Total Cost) / Total Revenue) * 100
Just trying to figure out how to sort by this - is that even possible?