I have developed an app that creates appointments during any given day. Requirements are that there cannot be more than four persons in ten minute time slot increments. I created a TimeSlot collection seen here. This is a gallery showing this collection, but now what I need to do is filter the gallery items based on the date selected (stored in a variable called _currentDate) and where the count of each item in TimeSlot is less than 4. I can easily do the RowCount, but how do I iterate through each time slot to get that RowCount? My guess is I need to create a temporary table and use that as the Gallery item? Thanks for the information
UPDATE: I pretty much solved this going another route (but I still would like to know if the ForAll is feasible for my own understanding). In the datacard, I set another text label to do a count on each ThisItem.Value and the set this formula in the Visible property: If(Value(lblCurrentScheduledCount.Text)<4,true,false)

Report
All responses (
Answers (