Forum Discussion
Trial Balance Total Incorrect
- 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]))
Hi PeterRLC ,
From the information you provided, I could only get the output like this.
If it is convenient, could you share your data sample which could reproduce the scenario as table format and your desired output so that we could give further advice on it?
Best Regards,
Cherry
Yes, here is the original amount column. I want to sort negatives to the credit column and positives to the debit column.
- PeterRLC6 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])ReturnSWITCH(True(),HASONEVALUE( xFMS_iFAMS_Base_Journal_FY19[FMS-iFAMS GL]),[TB. Dr S1],sumx(__Table, [TB Total]))- PeterRLC6 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]))