QIRO
4
I may be misunderstanding but if you’re doing a dynamic calculation based on the dates shown in the Repeating Group, that shouldn’t really rely on any complex filtering actions, should it?
The RG would search for records where the start date is (up to) 1 one billling month before the selected Start date, and ends before the End date.
I have done something similar in my application where I have a main RG that displays all records, and a hidden RG that only appears if the Date/Search input has a value (hiding the first RG).
Then in the hidden RG, calcuations are made, in your case, this would be the duration (in days) multipled but your daily rate to show your revenues. If the cost is always in months, you could just round it up. You could even use the selected Start and End dates as the inputs for your calculation, rather than the booking itself, reducing the complexity further.