Hello Bruce Favreau,
Use the code ".LY" or ".LYY" to get the required value from the P&L accounts. For an example, check out (or import) the statement "AF!BalanceCurrentAndLastYear.SAM" from the sample data (softrak\afwin\samdata).
Thanks for using Adagio FX!