Forum Discussion
PeterRLC
6 years agoFrequent Visitor
Trial Balance Total Incorrect
I want the total of my Trial Balance to equal the displayed line values. The problem is that the displayed line values are sorted to Dr or Cr based on their SUMMARY level sign, positive is ...
- 6 years ago
Solved it! Thanks to Measure-Totals-The-Final-Word Measure total basics. The correct calculation shows up circled in blue below. Any problems with this solution?
TB. Dr Var =VAR __Table = SUMMARIZE( xFMS_iFAMS_Base_Journal_FY19, [FMS-iFAMS GL], "TB Total", [TB. Dr S1])ReturnSWITCH(True(),HASONEVALUE( xFMS_iFAMS_Base_Journal_FY19[FMS-iFAMS GL]),[TB. Dr S1],sumx(__Table, [TB Total]))
PeterRLC
6 years agoFrequent Visitor
Solved it! Thanks to Measure-Totals-The-Final-Word Measure total basics. The correct calculation shows up circled in blue below. Any problems with this solution?
TB. Dr Var =
VAR __Table = SUMMARIZE( xFMS_iFAMS_Base_Journal_FY19, [FMS-iFAMS GL], "TB Total", [TB. Dr S1])
Return
SWITCH(True(),
HASONEVALUE( xFMS_iFAMS_Base_Journal_FY19[FMS-iFAMS GL]),[TB. Dr S1],
sumx(__Table, [TB Total])
)
PeterRLC
6 years agoFrequent Visitor
Is it possibly a memory hog? And what would the solution be for that?
Also tried: (Calculates correctly but also runs out of memory)
TB. Ending Balance Dr =
if(
HASONEVALUE( xFMS_iFAMS_Base_Journal_FY19[FMS-iFAMS GL]),[TB. Dr S1],
sumx(SUMMARIZE( xFMS_iFAMS_Base_Journal_FY19, [FMS-iFAMS GL], "TB Total", [TB. Dr S1]), [TB Total])
)