Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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.
Solved! Go to Solution.
Interesting because it looks like the measurement is correct on the visible rows, no?
This is an example:
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.
Interesting because it looks like the measurement is correct on the visible rows, no?
This is an example:
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
78 | |
40 | |
40 | |
35 |