# Rollup fields as part of calculation

**URL:** <https://community.noloco.io/t/rollup-fields-as-part-of-calculation/614>\
**Category:** Bugs\
**Created:** [April 29, 2024, 3:20pm UTC](https://community.noloco.io/t/rollup-fields-as-part-of-calculation/614 "2024-04-29T15:20:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![garyGHL](https://dub1.discourse-cdn.com/flex005/user_avatar/community.noloco.io/garyghl/32/555_2.png) [@garyGHL](https://community.noloco.io/u/garyGHL)\
**Post date:** [April 29, 2024, 3:20pm UTC](https://community.noloco.io/t/rollup-fields-as-part-of-calculation/614/1 "2024-04-29T15:20:33Z")

</div>

Hi there, maybe a bug, maybe not but as I understand rollups can be included in formula fields but I’m having lots of trouble making it happen. The below is my formula where the Holiday Taken is the rollup.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/noloco/original/1X/fa81b2f0ae1559b3c83ec6242334a1c5391d9fe9.png)

Now, the actual data backend shows like below. The calculation is 29.0 - 17.0 = 12, it reports -17. Whatever figure the holiday taken shows is the result of the formula with a minus. The odd thing is sometimes it works, sometimes it doesn’t. If I manually change the HR Allocation and save it works again.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/noloco/original/1X/dffac2163ca983d6c7fd851153efa4ddd1c51d6e.png)
