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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
CraigBlackman
Helper III
Helper III

How Do i correctly calculate the sum of a column of percentages?

Hi All,

 

I have a simple table with rows which are days of the month. Two columns Sales for each day from 2015 and a second column for 2014. 

 

I want to calcuate the percentage change, which i can do on a row to row basis no problem.

 

The issue is that when that percentage column is sumed, it is incorrectly calulcating the total percentage cange, its adding each row together so i am getting very high results like 1423% increase when the actual is something like 10.45% for example.

 

I cannot figure out the correct DAX formula to correct this. Any help appreciated.

 

Thanks

 

Craig

1 ACCEPTED SOLUTION
ashishrj
Power Participant
Power Participant

@CraigBlackman You can use different DAX (Data Analysis Expression) functions to achieve your result

View solution in original post

4 REPLIES 4
willz06jw
Helper II
Helper II

I found that my problem was that when I created the object, I created it as a 'New Column' instead of a 'New Measure'.  

 

This caused it to add the percentages for each row (since there was a percentage created for each row, because it was a 'column' in the actual data).

willz06jw
Helper II
Helper II

I have the exact same problem.  Of course, the answer given above gives no help.  How did you resolve the issue?

ashishrj
Power Participant
Power Participant

@CraigBlackman You can use different DAX (Data Analysis Expression) functions to achieve your result

andre
Memorable Member
Memorable Member

create a new measure

 

Pct = divide(sum(tableName[columnA]), sum(tableName[columnB]))

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors