Forum Discussion
Anonymous
7 years agoNot applicable
Finding first sum over 100
Hello All, I have a Contributions table that has columns: AssetGroup, GiftAmount, FundID, and ID (gifts) I need to find the sum of the first ID (gift) that is over $100 to a fund. In our ...
- 7 years ago
Anonymous oh i thought you need id, just change the measure
First Id = CALCULATE( [Gift Amount], TOPN(1, FILTER( Table, [Gift Amount] > [Parameter Value] ), [Gift Amount], ASC ) )
Anonymous
7 years agoNot applicable
I changed it to FundID and First ID is now just showing me the FundID, not an actual amount
parry2k
Super User
7 years agoAnonymous oh i thought you need id, just change the measure
First Id = CALCULATE( [Gift Amount], TOPN(1, FILTER( Table, [Gift Amount] > [Parameter Value] ), [Gift Amount], ASC ) )
- Anonymous7 years agoNot applicable
Thanks! You're awesome!