Getting Started with C9 Active Insights

In this article you will learn about the key tasks associated with building Widgets and Tabs in Active Insights. To do so you will need to complete the following three activities:

  1. Generate a data set using the C9 Query Builder
  2. Make the data set available for use in Active Insights
  3. Create a tab and Widget in Active Insights

Once you have completed these activities, you will understand the basic steps involved in creating dashboards. You can then build on this knowledge by accessing additional articles and videos in the Active Insights Knowledge Base.

Activity 1: Generate a data set using the C9 Query Builder

  1. Log into C9 Query Builder
  2. Click on the SQL Script Tab
  3. Paste the following query into the script editor (Note: this query will return total revenue by sales rep and by forecast category. It assumes that you are running a vanilla instance of and that you are using the forecast category. If either of these assumptions are not true, you may chose to modify the query. Alternatively you can move directly to Activity 3 where you will find instructions for completing this exercise using sample data from an excel spreadsheet)
    Select “security”.”User”.”Name”,Sum(If(“ads”.”Opportunity”.”ForecastCategory” = ‘Closed’, “ads”.”Opportunity”.”Amount”,0)) As “WonAmt”,Sum(If(“ads”.”Opportunity”.”ForecastCategory” = ‘Forecast’, “ads”.”Opportunity”.”Amount”,0)) As “CommitAmt”,Sum(If(“ads”.”Opportunity”.”ForecastCategory” = ‘BestCase’, “ads”.”Opportunity”.”Amount”,0)) As “UpsideAmt”,Sum(If(“ads”.”Opportunity”.”ForecastCategory” = ‘Pipeline’, “ads”.”Opportunity”.”Amount”,0)) As “PipelineAmt”,Sum(If(“ads”.”Opportunity”.”ForecastCategory” = ‘Omitted’, “ads”.”Opportunity”.”Amount”,0)) As “LostAmt”From “ads”.”Opportunity”

    Inner Join “security”.”User” On “ads”.”Opportunity”.”OwnerId” = “security”.”User”.”Id”

    Where “ads”.”Opportunity”.”CloseDate” Between SFBeginningOfYear(Current_Date) And


    Group By *

  4. Click on the Execute Query button on the Query Builder tool bar
  5. Click on File>Save As>C9R Query
  6. In the “Save as Cloud9 Reports Query” window, click on the “Uncategorized” node of the file tree
  7. Name the query “Active Insights Forecast Categories”

Activity 2: Make the Dataset available for use in Active Insights

  1. Log into C9 and navigate to the homepage
  2. Click on the Queries link in the Tools pane
  3. Expand the “Uncategorized” node of the file tree
  4. Click on “Active Insights Forecast Categories” query
  5. Click on the “Edit Properties” button on the Properties Applet
  6. Check the box next to “Make this Query available for Active Insights”
  7. Click the OK button


Activity 3: Create a tab and Widget in Active Insights

Step 1: Create a tab

  1. From the homepage in the C9 application, click on the Active Insights link in the Tools pane
  2. Click on the tab with the “Plus” sign
  3. Click on the “Add a Blank Tab” button
  4. Click on the gear icon next to “New Tab”
  5. Click on “Rename”
  6. Call the Tab “Sales Activity”


Step 2: Create a Bar Chart Widget

  1. Click on the “Add a Widget” button in the center or the Sales Activity Tab
  2. Click on the “Build a New Widget” button
  3. Click on “Bar/Line” Chart on the screen titled “What style of widget do you want to start with?”
  4. If you will be using sample data (recommended in order to more easily follow tutorial)
    1. Download the excel file called “Active Insights Forecast Category” from the “Connecting to Data Sources” section of the Active Insights Knowledge Base to your local machine
    2. Click on “Create a new data source
    3. Click on “Upload a File
    4. Click on the “Choose File” button and navigate to the saved Excel file
  5. If you will be using the data source generated by C9 Query Builder, click on “Use an existing data source from the library”
    1. Choose the data source called “Active Insights Forecast Category”
    2. Skip to Step 6
  6. In the Widget Editor, click on the “Widget” node of the Widget Component Tree
  7. In the Properties tab, enter “Revenue By Forecast Category” as the Widget Title
  8. Click on the Series node of the Widget Component Tree
  9. Click on the Series Data tab
  10. Click on Column B (Click directly on the “B” to highlight the entire column)Note: Cell B:1 contains the name of the column while the rest of the cells in the column contain values. Follow steps 11-12 to remove the column name from the array of values that is represented in the bar chart
  11. Click on the “Wrap current value in a function” button
  12. Click on Data Manipulation>Slice
  13. Click on the X Axis node of the Widget Component Tree
  14. Click on the X Axis Properties tab
  15. Enter “Reps” as the Axis Title and click “Show axis title”
  16. For Label Angle, click on the vertical orientation
  17. Click on the X Axis Data tab
  18. Highlight Column A to add the names of the reps to the X axis
  19. Click on the “Wrap current value in a function” button
  20. Click on Data Manipulation>Slice
  21. Click on the Save button
  22. Select “All Users” and the select “use and edit” from the drop down
  23. Scroll to the bottom of the page and click the Save button

Release Notes

Find our most recent release notes.


Our community forum is coming soon.

Advanced Training Guides

Advanced training for the PowerDialer for Salesforce.

Have questions?

We're happy to help. An expert is just a phone call away.

(866) 593-2807

Mon-Fri 6-7 MST

Back To Top

© 2004–2014, Inc. all rights reserved. Use of the service and this Web site constitutes acceptance of our Terms of Use and Privacy Policy. technology is protected by the following United States Patents: 8078605, 8325738, 8352389, 8510382, 8566419.