Goal:
Calculate the number of entities related to an entity using roll up field
In our Dynamics 365 online instance, We've implemented 1:N relationship between the out of box Project
entity and custom entity Activity entry
.
On the Project
form, we've added a roll-up field named Total Activities:
And the conditions are properly set:
The Project
looks perfectly related to the Activity Entry
The form shall at least show 1 in the field. Because, there is one Project
assigned to one Activity entry
.
However on the main Project
form, the count is always 0 only.