You can do it,
at first you have to bring the sales data and product cost in the same result set. For that, write a JOIN between both the tables and bring the product cost in one table. Then create a calculated column with the multiplied result as required. You can do these steps in a calculation view easily.
Sreehari