Profit and Margin
Part of the Power BI Basics section of Coddy's Power BI journey. Lesson 26 of 28.
Profit = revenue minus cost.
Profit = [Revenue] - SUM(Sales[Cost])Margin % = profit divided by revenue: the share of each sale that is profit.
Margin % = DIVIDE([Profit], [Revenue])Give it a % format. Never add margins up; the total divides total profit by total revenue.
Challenge
MediumThe model has the Sales[Cost] column and the Revenue measure. Write Profit, then Margin %, profit as a share of revenue. Margin % is checked for each category and the total.
Try it yourself
Margin % =| Category | Margin % |
|---|---|
| Coffee | |
| Tea | |
| Bakery | |
| Merch | |
| Total |
- Sales
- Revenue
- Products
- ProductID
- Product
- Category
- UnitPrice
- UnitCost
- Stores
- Customers
- Dates
- Targets
All lessons in Power BI Basics
1Meet Power BI
What Power BI IsTables, Rows and ColumnsYour First ChartSum, Count and AverageFilters and SlicersRecap - Mia's First Report4Calculated Columns
Columns vs MeasuresIF in a ColumnText ColumnsLooking Up with RELATEDColumns Feed MeasuresProfit and MarginWhen to Use WhichRecap - Profit by Category