Forum Discussion
Anonymous
7 years agoNot applicable
Grouped calculated total in different table
Hi,
I'm having trouble with making a calculated column where the value is calculated from another table. The value however needs to be grouped to work for my table. I have the following tables:
'Costs & Proceeds' table. Note that every change is a new event, and I need a total (proceeds - costs) per SO number.
'Service Order' - And this is the table where i need my total to be in (need the total row)
Thanks,
Nick
- Anonymous7 years ago
Got it working with a new table like so:
Accrual Table = SUMMARIZE('Costs & Proceeds';'Costs & Proceeds'[SO Number];"Accrual";SUMX('Costs & Proceeds';'Costs & Proceeds'[Proceeds]-'Costs & Proceeds'[Costs]))
2 Replies
- AnonymousNot applicable
Anonymous,
You can try the formula below to create a calculated column:
Total Rows = COUNTROWS ( RELATEDTABLE ( 'Service Order' ) )
- AnonymousNot applicable
Got it working with a new table like so:
Accrual Table = SUMMARIZE('Costs & Proceeds';'Costs & Proceeds'[SO Number];"Accrual";SUMX('Costs & Proceeds';'Costs & Proceeds'[Proceeds]-'Costs & Proceeds'[Costs]))