I would like to create a Variable that will return for me the division the site is from for example site Aeroton is a Bakery(Division)
I already have a variable called varBranch that returns the site this information is in an external table called mas.branch and it returns the site with no issues using this function below
Set(
varBranch,
LookUp(
'[mas].[Branch]',
varBranchCode = POPCode,
POPName
)
);
However I have created another variable called varCategory/varDivision but still returns as blank maybe my function is incorrect may you assist please as the division or category is also found in the same table.My Function is as below

Set(
varDivision,
LookUp(
'[mas].[Branch]',
varBranch = Division,POPCode
)
);