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
Add Comment
Please, Sign In to add comment