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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
KateHardcastle7
New Member

Incorrect Sales Contribution Percentage

Hi everyone. I am working on a Power BI report and need help with a specific DAX calculation. I'm trying to calculate the sales contribution percentage for each product category within a specific region, based on the top three customer segments. However, I seem to be getting incorrect results with my current DAX formula. Here's what I've tried:

 

Sales Contribution Percentage = DIVIDE( SUM('Sales'[Sales Amount]), CALCULATE( SUM('Sales'[Sales Amount]), TOPN(3, 'Customers'[Customer Segment], SUM('Sales'[Sales Amount]), DESC), 'Regions'[Region] = "North" ) ) * 100

 

Could you please review the DAX formula and suggest any necessary corrections or alternative approaches to achieve the correct calculation of sales contribution percentages?

 

Thank you!!!

 

-Kate

1 REPLY 1
Ashish_Mathur
Super User
Super User

Hi,

Share some data in a format that can be pasted in an MS Excel file and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.