Sum values from related items created this month
 Hi all!   I would like to have your help based on this: I have app A and a related app B, that have a field value and a field date.   I want a calculation field in app A that makes sum of all B items that date have a date based on this month.   Thank you all!   Tiago     Sum values from related items created this month

  • Hi Tiago, In app A it would be a good idea to have two date fields that you change to provide a date range that the calculation will work in Then your calculation should be something like this var dat1 = @Start Date;var dat2 = @End Date;var datb = @all of Date;var val1 = 0;for (i in datb){ if (datb[i] > dat1 && datb[i] < dat2){ val1 += @all of Value[i]; };};val1;    
This question is closed.