Welcome there @Zachary_Comtois-Poissant!
At first it seems you could make databaseTask.Subtasks
a Select List and filter it by [Larger task]=thisRow
.
See the solution to this post if it helps:
Otherwise sharing your doc here makes it easier to members to help.