cancel
Showing results for
Did you mean:
Helper II

## Can anyone explain? Same measure in Calc Column as in Measure. Two different results.

TestColumn  = CALCULATE(SUMX(plan, plan[REMAINING] * 10), plan[PROJECT] = "OFFICE")
TestMeasure = CALCULATE(SUMX(plan, plan[REMAINING] * 10), plan[PROJECT] = "OFFICE")

2 ACCEPTED SOLUTIONS
Super User

@PBInonpro , Column will consider the full table and then apply the filter on that, if added. It can not be compared with the measure.

In measure calculate with and without filter will give different result

TestMeasure = CALCULATE(SUMX(plan, plan[REMAINING] * 10), plan[PROJECT] = "OFFICE")

vs

TestMeasure = CALCULATE(SUMX(plan, plan[REMAINING] * 10), FIlter(plan, plan[PROJECT] = "OFFICE"))

will be different

refer: Calculate with and Without filter : https://youtu.be/cN8AO3_vmlY?t=9310

Community Support

Hi @PBInonpro ,

Your calculated column returns correct result 139500 on myside.

I think 141500 is the sum of the calculated column which is calculated based on your data model. You can try MAX/MIN function on [TestColumn] in table visual and check the result. If you still couldn't find the result, please show us a screenshot of your table or share a sample file with us.

Best Regards,
Rico Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

3 REPLIES 3
Super User

@PBInonpro , Column will consider the full table and then apply the filter on that, if added. It can not be compared with the measure.

In measure calculate with and without filter will give different result

TestMeasure = CALCULATE(SUMX(plan, plan[REMAINING] * 10), plan[PROJECT] = "OFFICE")

vs

TestMeasure = CALCULATE(SUMX(plan, plan[REMAINING] * 10), FIlter(plan, plan[PROJECT] = "OFFICE"))

will be different

refer: Calculate with and Without filter : https://youtu.be/cN8AO3_vmlY?t=9310

Helper II

Thanks, but is there a way to see where the 141,500 is coming from on the column?

Community Support

Hi @PBInonpro ,

Your calculated column returns correct result 139500 on myside.

I think 141500 is the sum of the calculated column which is calculated based on your data model. You can try MAX/MIN function on [TestColumn] in table visual and check the result. If you still couldn't find the result, please show us a screenshot of your table or share a sample file with us.

Best Regards,
Rico Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Announcements

#### Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

#### Power BI March 2023 Update

Find out more about the March 2023 update.

#### March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors
Top Kudoed Authors