# AX Report error with Sum field

**URL:** <https://www.dynamicsuser.net/t/ax-report-error-with-sum-field/30330>\
**Category:** Developer Forum\
**Created:** [April 9, 2011, 4:47am UTC](https://www.dynamicsuser.net/t/ax-report-error-with-sum-field/30330 "2011-04-09T04:47:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcarvalho21](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@mcarvalho21](https://www.dynamicsuser.net/u/mcarvalho21)\
**Post date:** [April 9, 2011, 4:47am UTC](https://www.dynamicsuser.net/t/ax-report-error-with-sum-field/30330/1 "2011-04-09T04:47:27Z")

</div>

Hello,

I have a programmable section to calculate the sum of a field on my report. When I compile my report, I recieve the following error:

“The control does not point at a control computing a sum.”

I am not sure why that is but I have specified the correct DataFieldName property.

Any idea why I am recieving that error?

Thanks

---

<div class="post-metadata">

**Author:** ![kollinaresh.k](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@kollinaresh.k](https://www.dynamicsuser.net/u/kollinaresh.k)\
**Post date:** [April 9, 2011, 5:15am UTC](https://www.dynamicsuser.net/t/ax-report-error-with-sum-field/30330/2 "2011-04-09T05:15:19Z")

</div>

HI MC,

How did you do it…

First thing for the control which you want to do the sum,

For the control property – make the **Autodeclaratio** to **Yes** and **SumAll** property to **Yes.**

and For the Sum Control give the **DataFieldName** as the **Control**  **name** [for the contol which you making the sum).

Naresh Kolli

---

<div class="post-metadata">

**Author:** ![mcarvalho21](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@mcarvalho21](https://www.dynamicsuser.net/u/mcarvalho21)\
**Post date:** [April 9, 2011, 5:57am UTC](https://www.dynamicsuser.net/t/ax-report-error-with-sum-field/30330/3 "2011-04-09T05:57:03Z")

</div>

Thank you!

I missed the “Sum All” property. Interesting thing is that I copied the control that was summed from another report and it did not copy that property value.

However, the control to be summed does not need to have the AutoDeclaration set to Yes.

---

<div class="post-metadata">

**Author:** ![muralikris](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@muralikris](https://www.dynamicsuser.net/u/muralikris)\
**Post date:** [August 23, 2013, 8:30am UTC](https://www.dynamicsuser.net/t/ax-report-error-with-sum-field/30330/4 "2013-08-23T08:30:21Z")

</div>

Hi,

It is not working in my case
