Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
How to Analyze which product segments contribute most to profit. Use measures to calculate profit margin %, and add conditional formatting in visuals based on performance thresholds.
To analyze which product segments contribute most to profit:
1. Create Measures:
Create a measure for Total Profit = SUM(Sales[Profit]).
Create a measure for Profit Margin % =
Profit Margin % = DIVIDE(SUM(Sales[Profit]), SUM(Sales[Sales]), 0)
This calculates the profit as a percentage of total sales.
2. Build Visuals:
Use a Bar Chart or Treemap to show Product Segment on the axis and Profit or Profit Margin % as the value.
This helps identify which segments contribute the most to total profit.
3. Add Conditional Formatting:
In the visual (for example, bar chart or table), apply conditional formatting to the Profit Margin % measure.
Define performance thresholds, for example:
> 20% → Green (High Performance)
10–20% → Yellow (Average Performance)
< 10% → Red (Low Performance)
4. Interpret Results:
The visual will highlight top-performing product segments in green, showing which ones contribute most to profit.
thank you
If this solution helps, please mark it as “Accepted Solution” so others can benefit as well. Try the steps and let us know if it works for you.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!