Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

View all the Fabric Data Days sessions on demand. View schedule

Reply
Lubna-Gafer123
New Member

Data analysis

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.

3 REPLIES 3
Nabha-Ahmed
Impactful Individual
Impactful Individual

Hi @Lubna-Gafer123 

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.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors