How to get the value of intermediate table from previous data - Filament