Analyze Your Data Over Time
Learning Objectives
The Exploration Goal
Here’s your goal for this unit: You want to see how your sales have evolved through time for the past few months. You also want to focus on digital media and see how the next few months look to validate the need for a bonus contest. So let’s see what the data tells us.
Group by Date
- Click Count of Rows under Bar Length to change the measure.
- Select Sum in the aggregation functions list.
- Select # (number sign) for the measure to see the number of products in your opportunities.
- Click the plus sign (+) under Bars. You’ll see the Date dimensions at the top of the list.
- Click Close Date.
- Select Year-Month from the picklist.
The Date picklist lets you group by Year, Quarter, Year-Quarter, and so on. Selecting Quarter groups all quarters together across all years. Grouping by Year-Quarter groups first by year and then by quarter for each year. Year-Month groups first by year, then by month.
Relative and Absolute Filters on Date
- Relative to now, which allows you to set dynamic filters based on the actual time. You can go from relative years to relative days. It’s a powerful way to get the most up-to-date metrics.
- Absolute date range, which is a fixed date filter. We’re going to go with that.
- In the Filters tab, click the plus sign (+) under Filters.
- Select Close Date in the Dates category.
- Select Custom.
- Click the Absolute date range tab.
- Select Between.
- In the From field, click the calendar symbol, find September 10, 2020 , and select it. You can also just type 9/10/2020 in the field.
- In the To field, do the same thing and select February 10, 2021.
- Click Add.
Choose the Right Visualization for Dates
- Click to open the chart gallery.
- Select the Timeline chart.
- In the Data tab, click the plus sign (+) under Lines.
- Select Won.
It looks like closing opportunities might be heading for a dip in the next couple months. Let’s take a closer look to make sure what we’re seeing is accurate before we form any conclusions.
Understand Your Data
- Opportunity Closed—is true when closed or false when open.
- Stage—is Closed Lost or Closed Won when the opportunity is closed.
- In the Filters tab, click the plus sign (+) under Filters.
- Select the Stage dimension. You can find it fast by typing Stage in the search field.
- Click Equals to open a drop-down list.
- Select Contains. An input field appears, which will be the search value powering the contains filter.
- Type Closed.
- Click Apply.
Voilà, you have included multiple values with one filter. This kind of filter can be powerful in many situations, so keep it in mind.
Focus Your Lens
- Click the plus sign (+) under Filters.
- Select the Product Family dimension.
- Click Equals to open a drop-down list and select Contains.
- Type digital media.
- Click Apply.
Save Your Exploration in a Lens
Continuing Your Explorations
- Group by date, which is usually done by at least two attributes: Year-Quarter, Year-Month, Year-Week, or Year-Month-Day.
- Filter by date, whether absolute or relative to the time when you’re asking the question.
- Display date grouping properly through a timeline visualization and add a second grouping to it.
- Filter a dimension using the contains filter.
- Narrow the focus of your lens to selected fields in a dimension.
In the next unit, you’ll learn how to use a compare table to do calculations. Excited for your last desktop exploration before you earn your badge?