If you need to filter from a complex array you will need the map() function.
As your information is not complete enough to give a final answer I would suggest to read some more on get and map functions: 🚀 Learn Get() and Map() Functions in 5 Minutes - #4 by Mohamed_Jahar
Hopefully that helps you get a better understanding of these functions.