Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Saved Search with formula comparing results to that of another formula
I've created a saved search that calculates the gross margin of a certain group of products and divides it by a certain group of applicable transactions.
I'm trying to figure out how to divide the results of one formula by the other so I can see the overall gross margin per applicable transaction.
Gross Margin (formula sum)
CASE WHEN {account} = '-Accessory' OR {account} = '-Aftermarket and OEM' OR {account} = 'Bluetooth' THEN {amount}-{cogsamount} ELSE 0 END
# Applicable Transactions (formula sum)
CASE WHEN {custcolphone_act_type} = 'New Activation' OR {custcolphone_act_type} = 'Upgrade' THEN {quantity} ELSE 0 END
What I need to do is create another column that divides the gross margin by the # of applicable transactions. This is easy to do in a scorecard but I need to include it as a column in my saved search.