Hi All,
I have 3 SharePoint lists that are related via their IDs, as an example I have created a sample dataset below.

Based on an item from SP List 3 (in a gallery), I would like find the corresponding company from SP List 1.
A nested lookup, such as the one below, results in a delegation warning.
Lookup('SP List 1', ID1 =Lookup('SP List 2', ID2 = ThisItem.ID2).ID1).Company
Is it viable to breakup the lookup into two parts to avoid the nested lookup? For example, store the inner lookup result as a variable and then use that variable within the outer lookup.
eg:
Step 1: Updatecontext({var_LookUpResult:Lookup('SP List 2', ID2 = ThisItem.ID2).ID1})
Step 2:Lookup('SP List 1', ID1 =var_LookUpResult).Company
Based on my testing in Power Apps, this appears to work, but I am wondering if I have missed any potential issues/complications that could arise from doing this loophole.
Thank you in advance for your help.