Short answer: ROAS (return on ad spend) = revenue attributed to ads / ad spend. A ROAS of 4 (often written 400%) means 4 euros of revenue per euro of ads. Whether that is profitable depends on your margin: break-even ROAS = 1 / gross margin %, so at 40% margin you need a ROAS of 2.5 just to cover the product cost of the sales the ads bring. ROAS uses revenue; ROI uses profit, (gross profit - spend) / spend.
Ad platforms each report their own ROAS, usually generously. Bringing spend and your own orders into one model gives one consistent number per campaign.
How is it calculated?
| Campaign | Spend | Attributed revenue | ROAS | Gross profit at 40% | ROI |
|---|---|---|---|---|---|
| Search brand | 10 | 85 | 8.5 | 34.0 | 240% |
| Search generic | 40 | 120 | 3.0 | 48.0 | 20% |
| Social prospecting | 30 | 60 | 2.0 | 24.0 | -20% |
| Social retargeting | 15 | 75 | 5.0 | 30.0 | 100% |
| Total | 95 | 340 | 3.6 | 136.0 | 43% |
Social prospecting is below break-even on direct revenue, but it may bring customers who buy again later; judge it with lifetime value, not only first-order ROAS.
What is the DAX?
Ad spend comes from the platforms (Date, Campaign, Spend, Clicks, Impressions); orders carry the campaign they are attributed to (from UTM tags or the platform's conversion export):
Ad Spend = SUM ( Ads[Spend] )
Attributed Revenue =
CALCULATE ( SUM ( Orders[Revenue] ), NOT ISBLANK ( Orders[Campaign] ) )
ROAS = DIVIDE ( [Attributed Revenue], [Ad Spend] )
Gross Margin % = 0.40
Break-even ROAS = DIVIDE ( 1, [Gross Margin %] )
Attributed Gross Profit = [Attributed Revenue] * [Gross Margin %]
ROI = DIVIDE ( [Attributed Gross Profit] - [Ad Spend], [Ad Spend] )Relate both tables to a shared Campaign dimension and the Date table so one slicer filters spend and revenue. Use the real margin per product instead of a fixed 40% when order lines carry cost.
Which attribution should you use?
| Model | Credit goes to | Effect on ROAS |
|---|---|---|
| Last click | the last ad clicked before the order | favours retargeting and brand search |
| First click | the first ad that brought the customer | favours prospecting |
| Linear | all touches equally | evens out |
| Data-driven | the platform's model of each touch's effect | depends on the platform |
Also fix the attribution window (for example 7 days after a click, 1 day after a view): a longer window raises reported ROAS. Platforms counting the same order each make total attributed revenue larger than real revenue; your own order data, attributed once, avoids double counting.
What goes wrong?
- ROAS above 1 called profitable. Below break-even ROAS, ads lose money.
- Brand search inflating the total. People searching your name would often buy anyway; report brand separately.
- Platform numbers summed. Each platform claims the same orders; attribute in your own data.
- Revenue before returns. Use net revenue, or high-return campaigns look best.
Where can you check this?
- Microsoft Learn: DIVIDE function (DAX)
- Microsoft Learn: Model relationships in Power BI Desktop
- Microsoft Learn: Bar and column charts in Power BI
Where do you start?
Join spend and attributed orders on one campaign dimension, add break-even ROAS as a constant line on the bar chart (Analytics pane), and review campaigns below it. Conversion rate shows where the funnel loses buyers.