---
id: transpose
title: transpose Search Operator
sidebar_label: transpose
description: Use the transpose operator to transform list data into table format in the Aggregates tab, similar to Excel pivot tables.
slug: /help/docs/search/search-query-language/search-operators/transpose/
canonical: https://www.sumologic.com/help/docs/search/search-query-language/search-operators/transpose/
---
import useBaseUrl from '@docusaurus/useBaseUrl';
Similar to a Pivot Table in Excel, the `transpose` operator allows you to take a list and turn it into a table in the Aggregates tab, as shown by the examples below. You can define what data makes the rows and columns.
Without `transpose`, the following query renders a factual, but not useful table below:
```sumo
_sourceCategory=Labs/Apache/Access
| timeslice 5m
| count by _timeslice, status_code
```
With `transpose`, you can use your query to define your rows as the `timeslice` and the columns as the status code:
```sumo {4}
_sourceCategory=Labs/Apache/Access
| timeslice 5m
| count by _timeslice, status_code
| transpose row _timeslice column status_code
```
To make this information present as a table, transpose dynamically creates columns for aggregate search results. This allows you to change the output of a query by turning search results into fields, so you can design queries without first knowing the output schema. In this way, transpose formats the data correctly for charts in Dashboard Panels.
For example, the screenshots below represent the same data from the same time range, but the second screenshot is generated from a query using the transpose operator.
Without transpose, the data is represented according to timeslice, but not aggregated by status code:
With transpose, the results display in an easy-to-read manner status codes by timeslice:
## Syntax
`transpose row [] column [] as [