Forum Discussion
Anonymous
2 years agoNot applicable
Calculate Total Amount using Filter
I have a table that looks like this And I want a measure that will calculate two things by Customer Name, so that I can put it in a matrix table. 1. Total Expected Amount: This will calculate...
- Anonymous2 years ago
Hi Anonymous ,
Thanks for Ashish_Mathur rply.
Here are my measuresTotal Expected Amount = CALCULATE( SUM('Table'[Expected Amount]), ALLEXCEPT( 'Table', 'Table'[Customer] ) )Total Amount Paid = CALCULATE( SUM('Table'[Amount Paid]), FILTER( ALLEXCEPT( 'Table', 'Table'[Customer] ), 'Table'[State] = "Paid" && 'Table'[Status] = "Paid by Customer" || 'Table'[State] = "Paid" && 'Table'[Status] = "Paid by Agency" || 'Table'[State] = "Paid" && 'Table'[Status] = "Paid by BU" ) )Final output
Best regards,
Albert HeIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Anonymous
2 years agoNot applicable
Given the one to many relationship between a property and invoices, how would this work?
Ashish_Mathur
2 years agoSuper User
You confuse me to the hilt. In the original question, there is no mention of more than 1 table so the question os building a relationship does not arise at all. Furthermore, have you even tried my solution?