Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Select Count(Id),StageName , leadsource from Opportunity Group By StageName ,leadsource
Use salesforce aggregate query as shonw below
Thank you for responding. could you give me complete apex class and vf page to display it.