Hi
As long as your SubTable only has one property do it like this
where myStuff is your Collection and where I said ThisRecord.SubTable, you put ThisRecord.Atividade and change it from SUBID to AtividadedoProcesso (which I think is your subTable property name)
Filter(myStuff,
TextInput6.Text in Ungroup(ThisRecord.SubTable,"SUBID") || TextInput6.Text in ID
)
My Collection
ClearCollect(myStuff,
{
ID: "132345",
Name: "David",
SubTable: Table({ SUBID: "123456" })
},
{
ID: "33322",
Name: "Tiffany",
SubTable: Table({ SUBID: "33333" })
}
)
Filtered By ID

Filtered by SUBID

Cheers
If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey