Q1:Does using related function inside an iterator create a transition context ?
The RELATED() function just retun a related value from another table. The RELATED function needs a row context; therefore the function often uses in the calculated column and we can use SUMX, SELECTCOLUMNS function to create a row context.
Q2:Does the nested iterator knows the location of the outer iterator ans thus the nested iterator will be filtered based on the row context of the first iterator ?
For nested iterators, this is mainly to look at the order of evaluation. Usually iterators such as FILTER(), SUMX() and other functions are iteration functions, when we use nested iterations, such as SUMX(FILTER()), then generally the FILTER() function is evaluated first, and then a table is returned, and then SUMX() iteration is performed on the generated table.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly