Get data from child table

I have 2 Tables Customer(parent table), Order(child table) has CustomerID for Ref.
I know in child table I want to get parent table data, I just use app formula [CustomerID].[xxxxxxxx]
but what about other way around?
Currently Iโ€™m using any(select(Order[xxxxxxxx],[CompanyID] = [_thisrow].[CompanyID],true))
what if I use lookup formula? is the sync time will be faster? My app keep getting timeout, when I check the performance data, itโ€™s the VC causing the hang.

0 3 499
3 REPLIES 3

When you use the syntax TableName[ColumnName] it needs to read the whole child table. Instead of doing that, you can read only your related child virtual table (only few records). Then the syntax is likeโ€ฆ
SELECT([RelatedChildRecords][xxxxxx],TRUE) and it will give you the list of [xxxxxx] columnโ€™s values.

@Aleksi Thank You!

Youโ€™re welcome

Top Labels in this Space