A toggle widget allows dashboard viewers to filter the Analytics dashboard results based on a date or dimension. It requires a query that has a single grouping based on a dimension. The values of the grouping appear as the toggle options. For example, a toggle widget can show results based on a specific record type.