You have a Power BI data model at MDFT Pro with explicit measures for Sales and Cogs (Cost of Goods Sold). The measures are defined as follows:
Sales := SUM(SalesTable[SalesAmount])
Cogs := SUM(SalesTable[CogsAmount])
The academy’s finance team wants a Margin measure for detailed analysis and reporting. You need to calculate the margin using existing explicit measures to ensure maximum flexibility and scalability in your model.
Which DAX expression should you use to define the Margin measure?
Choose the correct answer from the options below.
Explanations for each answer: