Hi, thanks for the responses, much appreciated.
I will check out “OPENINGBALANCEYEAR” but for now I got my measure to work I’m not exactly sure how, by shear luck probably!
I had the closing balances in a separate table called “Values 2018 (LCY)” and retrieved the closing balance using the entity name and applied the date filter and it worked!!
I’m sure the Dax below looks nasty to most so can anyone suggest improvements to the below as I’m sure this measure is not as efficient as it could be!
3rd Party Receivables Entity1 (CCY) =
CALCULATE((CALCULATE(CALCULATE([Values (LCY)-Entity1],
FILTER(GL_Entity1,
GL_Entity1[G/L Account No.] = 2110 ||
GL_Entity1[G/L Account No.] = 2120 ||
GL_Entity1[G/L Account No.] = 2130 ||
GL_Entity1[G/L Account No.] = 2140 ||
GL_Entity1[G/L Account No.] = 2150 ||
GL_Entity1[G/L Account No.] = 2160),
FILTER(ALL(Dates),
Dates[Date] <= MAX(Dates[Date]))),
ALL(‘Cust _Post_Groups’[Customer Posting Groups]),
FILTER(ALL(Dates),
Dates[Date] <= MAX(Dates[Date])))+
CALCULATE([Values 2018 (LCY)],
FILTER(ALL(Dates),
Dates[Date] <= MAX(Dates[Date])),BS_2018_Close[Entity] = "Entity1")))*
LOOKUPVALUE(FX[Value],FX[Date],MAX(Dates[Date]),FX[Currency Code],
LOOKUPVALUE(Entities[Functional Currency],Entities[Entity Name],"Entity1")) // convert to consolidated currency using month end rate