Menu
Articles in this section
Choosing the Right Chart & Calculated Fields
Picking a chart type that answers your question, and creating calculated values a card can plot.
On this page:
Choosing a chart
Start from the question you’re answering rather than the chart you like: how many deals closed last quarter, are we on track against target, and so on. The question determines the chart type.
Trends. For questions like revenue by month for last year, or how incoming leads are trending over the last six months, line charts are the best option. Dates run across the bottom (x-axis) and values down the side (y-axis), like a stock market chart.
Comparisons. To compare how one rep is closing sales against others, or which marketing piece brings in more customers, use line charts, bar charts, or a combination of the two to display similar data together and spot a pattern or a winner.
Comparisons by region. To see where business is coming from, use maps to visualize revenue sources. You can choose from global, continental, or country maps.
Comparisons along a trendline. To see how many projects were completed in each category in each month, use stacked area charts. They merge separate line graphs into one chart, shading the area below each line a different color so differences compare easily.
Relationships. To find a correlation between two values, such as a customer’s first purchase amount and their total number of transactions, use a scatter plot. Plotting the intersection of two values as points can reveal a trend you might not otherwise spot.
Goals. To see how close you are to a target, use gauges. They work like a car’s speedometer: you set the goal when you set up the chart, and the needle moves toward it as the value grows.
Distributions. To see how deals break down by lead source, or how many opportunities are open in each category, use vertical bar charts or scatter plots. A distribution shows how things break down by a category or label.
Compositions. To show a breakdown of a total, such as new versus repeat customers or acquisition spend by lead source, use a pie chart or its cousin the donut chart. A funnel chart also works here and is well suited to showing the number of items or total value in each stage of an Insightly pipeline. You don’t even need a numerical value; a glance at each slice gives the big picture.
|
Pie Chart of Opportunity Pipeline by Status |
Opportunity Pipeline Status Distribution Chart |
Sales Pipeline Funnel Chart by Stage |
Compositions along a trendline. To see monthly sales broken down by category, use stacked bar charts. They combine a bar graph and a pie chart, letting you see trends as well as the composition of each data point.
Comparison of three or more quantitative variables. To map survey results across several questions, use radar charts. They plot three or more values in a pattern that looks like a spiderweb, and you can compare one radar chart against another to see how close you are to your goal for each data point.
ℹ️ When the chart type is bar, column, range bar, range column, bubble, donut, pie, candlestick, ohlc (high low), or waterfall, you can define the chart’s color scheme. In Chart Properties, use Series Colors to choose from available color themes. Color settings are retained when cards are saved and when the chart type changes. If series are added after custom colors are chosen, Insightly assigns custom colors to the added series, and color settings are also carried over when a card is cloned.
Calculated fields for cards
A calculated field derives a new value from data you already hold, so a card can plot something that isn’t stored directly. This new field is saved to your Values list and can be used in your charts. For example, Average Order Value uses the formula SUM("Sale"/"Orders").
Dashboard calculated fields use T-SQL (Transact-SQL). If you aren’t familiar with SQL or haven’t built similar formulas in Excel, consider getting help from someone who is. This is a different feature from record-level custom calculated fields; to create a calculated field that appears in your records, see the Custom Fields guide instead.
To create a calculated field:
- From the dashboard card edit page, click Add Calculated Field.
- Enter a name for the field. When you save it, the name appears in the Categories or Values list with an equals sign (=) in front of it.
- Enter a formula in the Formula field. You can build a formula by double-clicking any item in the Dataset or Functions lists, typing directly in the field, or copying and pasting a provided formula. Select any function to see its description, examples, and a link to more information.
- Click Save And Close. Your new field appears in the Categories or Values list with an equals sign in front of it.
Sample calculations
- Opportunities Won:
SUM(CASE WHEN "Current State" = 'WON' THEN 1 ELSE 0 END) - Total Opportunities:
COUNT("Record ID") - YoY Calculated Field: FORMAT(CONVERT(datetime, "Lead Created"), 'yyyy')
- Win Rate (Opportunities Won / Total Opportunities):
CAST(SUM(CASE WHEN "Current State" = 'WON' THEN 1 ELSE 0 END) AS DECIMAL(10,2)) / CAST(COUNT("Record ID") AS DECIMAL(10,2)) - Change dates to Month, Year format: FORMAT(CONVERT(datetime, "Lead Created"), 'yyyy/MM')
- Change dates to Month, Day, Year format: FORMAT(CONVERT(DATETIME, "Opportunity Created"), 'MM/dd/yyyy')
When performing a division, convert both the numerator and denominator to decimals first, using either CONVERT or CAST, for example CAST(COUNT("Record ID") AS DECIMAL(10,2)).
|
1 Creating a Calculated Field Named Win Rate |
2 Calculated Field Formula Builder in Insightly CRM |
|
3 CASE Function Selected in Formula Builder |
4 Calculated Field Added to Values List |
Related to