Forum Discussion
Anonymous
6 years agoNot applicable
Add up only the first purchase
Really struggling with this one: I have clients who pay quarterly. For 2020, I need to add up ONLY their first fees. So if my new clients this year are: CLIENT FEE DATE FEE PAI...
CNENFRNL
Community Champion
6 years agoHi, Anonymous , I think this is what you want,
Amount first paid =
SUMX (
VALUES ( RECEIVABLE[CLIENT] ),
CALCULATE (
SUM ( RECEIVABLE[FEEPAID] ),
VAR __first_date =
CALCULATE ( MIN ( RECEIVABLE[FEEDATE] ) )
RETURN
FILTER ( ALL ( RECEIVABLE[FEEDATE] ), RECEIVABLE[FEEDATE] = __first_date )
)
)Anonymous
6 years agoNot applicable
Sorry, didn't get the notification that there was a reply. Am going to give this a try!