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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
CallumMurfet
Helper II
Helper II

Measure totals not summing properly

power bi help image.png

 

Hello I need help, where my measure is not summing properly.

 

Here I have employment by industry code. I have a measure for employment in a particular segment of the industry, as well as the total employment in the industry.

 

I have the % of employment in segment as the total and then apply this to another employment figure. To derive a final employment estimate titled new employment * employment share.

 

However my measure at 184.3k does not sum correctly. It should sum all of those in the last column which is around 2.3m. The issue is that its making the calculation on the totals rather than the values in the columns.

 

I don’t know if this requires me to put in sumx somewhere. I appreciate any of your help.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Interesting because it looks like the measurement is correct on the visible rows, no?

This is an example: 

AminAlian_2-1656674668587.png

 

 

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hello @CallumMurfet !

 

You are correct in thinking you have to use a SUMX.

 

Try adding a 

 

Measure = SUMX('Table', [new employment] * [employment share] )

 

as sumx calculates each row

that didnt seem to work, but made the measure total much larger. 

 

second power bi image.PNG

Anonymous
Not applicable

Interesting because it looks like the measurement is correct on the visible rows, no?

This is an example: 

AminAlian_2-1656674668587.png

 

 

actually that worked, its because i was putting sum( within the sumx, when i didnt need to, many thanks!

I think see the issue in that its now summing the employment % shares first and then applying that to the sum of new employment. , which is then increasing the value to 26m

Yes the visible rows are there, but it seems to be summing other values which dont appear in the column in the table, but make up the total.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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