a guest Jan 17th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- select count(StageName) from OpportunityHistory where StageName = 'x' and CreatedDate = THIS_WEEK
- SELECT count(id), newvalue, oldvalue from OpportunityFieldHistory where Field = 'StageName' and NewValue = 'x' and OldValue != 'x'
- SELECT Stagename, SUM(amount) FROM Opportunity GROUP BY Stagename
RAW Paste Data