daily pastebin goal
40%
SHARE
TWEET

Untitled

a guest Jan 17th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. select count(StageName) from OpportunityHistory where StageName = 'x' and CreatedDate = THIS_WEEK
  2.    
  3. SELECT count(id), newvalue, oldvalue from OpportunityFieldHistory where Field = 'StageName' and NewValue = 'x' and OldValue != 'x'
  4.    
  5. SELECT Stagename, SUM(amount) FROM Opportunity GROUP BY Stagename
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top