> ## Documentation Index
> Fetch the complete documentation index at: https://docs.m3ter.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Usage Data Explorer (v2)

You can use the *Usage Data Explorer* *(v2)* to configure and perform queries against the metered usage data collected for your Organization in m3ter. It allows you to quickly set up and submit a query that returns the usage data set needed to serve your current analytical purposes:

* **Time Period**. Define a time period for your data query:
  * You can select from a set of predefined time period options or define a custom time period.
  * The query returns the usage data collected for your Organization for the selected period:
    * Note that the query references the *timestamp values* of usage data submissions for applying the defined time period, and *not the time submissions were received* by the platform. Only usage data with a timestamp that falls in the defined time period are returned.
* **Meters**. Select the Meters you want the query to return data for.
* **Accounts**. Select the Accounts you want the query to return data for.
* **Dimension Filters**. Filter the usage data returned by adding specific values of non-numeric Dimension data fields on included Meters. Only the data collected for the values you've added for the selected Dimension fields will be returned for the query.
* **Aggregations**. Apply Aggregation functions to the usage data returned for the query.
* **Grouped by**. For queries that apply Aggregations, you can select to group the data returned for the query by:
  * **Account**
  * **Time**
  * **Dimension**

When you have performed a query, the data is loaded into the Usage Data Explorer (v2) and you can:

* Review the data in a results table and check that it serves your current purposes.
* Download the data in either `CSV` or `JSONL` format.
* Use the query to create a usage Data Export Schedule or to run an Ad-Hoc Data Export.

If you intend to use the Usage Data Explorer (v2) [API endpoints](/api/dataexplorerv2/introduction), for convenience you can view and copy the query JSON.

This topic explains how to work with the Usage Data Explorer (v2) to configure and perform queries against your usage data and review the returned data.

* [Building and Performing Simple Queries](/guides/data-explorer/usage-data-explorer-v2#building-and-performing-simple-queries)
* [Using Dimension Filters for Queries](/guides/data-explorer/usage-data-explorer-v2#using-dimension-filters-for-queries)
* [Applying Aggregations for Queries](/guides/data-explorer/usage-data-explorer-v2#applying-aggregations-for-queries)
* [Managing Result Rows Table Columns](/guides/data-explorer/usage-data-explorer-v2#managing-result-rows-table-columns)
* [Viewing and Copying Queries](/guides/data-explorer/usage-data-explorer-v2#viewing-and-copying-queries)
* [Saving and Re-Using Queries](/guides/data-explorer/usage-data-explorer-v2#saving-and-re-using-queries)
* [Downloading Query Results](/guides/data-explorer/usage-data-explorer-v2#downloading-query-results)
* [Using Queries for Data Export](/guides/data-explorer/usage-data-explorer-v2#using-queries-for-data-export)

<Warning>
  **Note: Usage Data Explorers - two versions:**

  * **Data Explorer (v2)**. This is the current version and opens when you select **Metering>Usage Data Explorer** in the Console. This topic explains how to open and work with Usage Data Explorer (v2).
  * **Legacy Data Explorer**. If you signed up with m3ter after the 1st May 2026, you will not have access to the legacy Data Explorer service, and this version has now passed into maintenance mode with only security fixes being applied henceforth. See [Usage Data Explorer](https://docs.m3ter.com/guides/data-explorer/performing-usage-queries-and-reviewing-results).
</Warning>

## Building and Performing Simple Queries

This section works through an example showing how to build and perform a simple usage data query - a simple query in that it doesn't use any Dimension filters and doesn't apply any Aggregations to the returned data.

**To build and perform a simple query:**

1. Select **Metering>Usage Data Explorer**:

<img src="https://mintcdn.com/m3ter/DOKwY-7WzlS7EMNx/images/UDExplorer1.png?fit=max&auto=format&n=DOKwY-7WzlS7EMNx&q=85&s=0a580194f94f8e49f4dde7d48cff9615" alt="UD Explorer1" title="UD Explorer1" style={{ width:"22%" }} width="193" height="55" data-path="images/UDExplorer1.png" />

Usage Data Explorer (v2) opens.

2. Select the **Time period** you want to return usage data for:

* Default is **Today**.
* Other predefined options:
  * **Yesterday**.
  * **Week**, **Month**, or **Year** to date.
  * **Previous week**, **month**, **quarter**, or **year**.
  * **Last 12 hours, Last 7**, **30**, **35**, **90**, or **120 days**, or **Last year**.
  * If you select a predefined **Time period**, then the start and end date/times are clearly shown in brackets. For example, **Last 120 days**:

<img src="https://mintcdn.com/m3ter/DOKwY-7WzlS7EMNx/images/V2DataExplorer39.png?fit=max&auto=format&n=DOKwY-7WzlS7EMNx&q=85&s=1f400b502bbe2b7d55863106a9024959" alt="V2data Explorer39" title="V2data Explorer39" style={{ width:"85%" }} width="688" height="107" data-path="images/V2DataExplorer39.png" />

3. For the current example, select **Custom**. The **Time period** panel adjusts to allow you to enter start and end date/times to define the time period for the query:

<img src="https://mintcdn.com/m3ter/DOKwY-7WzlS7EMNx/images/V2DataExplorer40.png?fit=max&auto=format&n=DOKwY-7WzlS7EMNx&q=85&s=505316df6b2943abe9d678d9bca77787" alt="V2data Explorer40" title="V2data Explorer40" style={{ width:"88%" }} width="795" height="109" data-path="images/V2DataExplorer40.png" />

* Note that for a **Custom** period start date/time is *inclusive* and end date/time is *exclusive*. For the current example, we want to include all usage data collected for the entire month of January 2025. We've therefore set the exclusive end date/time as midnight on February 1st 2025. This means the query will return data collected up to the end of day January 31st 2025.

4. Use the plus icon on the **Meters** panel to open a dialog showing a list of Meters in your Organization.
5. On the dialog, check the Meters you want to include data from in your query and select **Add**. The selected Meters are then shown on the **Meters** panel.

* For the current example, we've used the **Search** field on the dialog to filter the list, checked a single Meter, and then added it:

<img src="https://mintcdn.com/m3ter/oeuaCNcFX2U2FQoq/images/1739884320-v2dataexplorer3.png?fit=max&auto=format&n=oeuaCNcFX2U2FQoq&q=85&s=fef8b311316094554f57e821a217482e" style={{ maxWidth: 'min(350px, 100%)' }} width="463" height="283" data-path="images/1739884320-v2dataexplorer3.png" />

Note that:

* Alternatively, you can enter the **ID** of a Meter and **Add** it for a query.
* Default is for **All Meters**.

6. Use the plus icon on the **Accounts** panel to open a dialog showing a list of Accounts in your Organization.
7. On the dialog, check the Accounts you want to include data for in your query and select **Add**. The selected Accounts are then shown on the **Accounts** panel.

* For the current example, we've used the **Search** field on the dialog to filter the list, checked a single Account, and then added it:

<img src="https://mintcdn.com/m3ter/oeuaCNcFX2U2FQoq/images/1739886432-v2dataexplorer4.png?fit=max&auto=format&n=oeuaCNcFX2U2FQoq&q=85&s=b05d55503f4f2308bc2653eb6d831b01" style={{ maxWidth: 'min(350px, 100%)' }} width="475" height="410" data-path="images/1739886432-v2dataexplorer4.png" />

Note that:

* Alternatively, you can enter the **ID** of an Account and **Add** it for a query.
* Default is for **All Accounts**.

8. For the current example, we'll not use any **Dimension filters** for the query and we'll omit applying any **Aggregations** for the query results:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768413158-v2dataexplorer6b.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=40ee30fc5906b20b4f8068cc4df6dfd8" style={{ maxWidth: 'min(800px, 100%)' }} width="1298" height="606" data-path="images/1768413158-v2dataexplorer6b.png" />

9. Select **Perform query**. The usage data collected for the defined **Time period** by the selected **Meters** and **Accounts** is loaded into a **Result rows** table:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768413869-v2dataexplorer7a.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=fc7678534baf9500c1a2a0e38494406e" style={{ maxWidth: 'min(850px, 100%)' }} width="1298" height="541" data-path="images/1768413869-v2dataexplorer7a.png" />

In this example, we can see:

* Nine usage data submissions have been returned for the selected time period of the entire month of January 2025.
* The selected Meter has four Data Fields configured:
  * **File Submits**. A numeric Measure field of type **MEASURE**.
  * **GBStore**. A numeric Measure field of type **MEASURE**.
  * **Customer Name**. A non-numeric Dimensions field of type **WHO**.
  * **Status**. A non-numeric Dimension field of type **METADATA**.

Because no **Dimension filters** were defined and no **Aggregations** were applied, the query has returned all usage data submissions made using the single Meter for the single Account.

In the [next section](/guides/data-explorer/usage-data-explorer-v2#using-dimension-filters-for-queries), we'll use Dimension filters to refine this example query to control the usage data returned.

<Warning>
  **Notes and Warnings:**

  * **Meter Derived Fields?** If selected Meters contain Derived Fields, then these will also be returned by your query.
  * **Result rows limit!** The **Result rows** panel is limited to loading up to **2000** rows. If your query returns more than this limit, the results will not load and you'll be advised to update your query to return fewer rows.
</Warning>

## Using Dimension Filters for Queries

To control the range of usage data a query returns, you can set up Dimension filters for any non-numeric Dimension Data Fields configured for the Meters selected for the query. This section explains how to use Dimension filters and extends the example of a simple query given in the [previous section](/guides/data-explorer/usage-data-explorer-v2#building-and-performing-simple-queries):

* The example used a simple query to return usage data collected by a single Meter and single Account.
* We saw that the example Meter was configured with two numeric or Measure Data Fields and two non-numeric or Dimension Data Fields.

We'll now use the **Customer Name** Dimension field to filter the range of data that's returned by the query.

**To use dimension filters for queries:**

1. Build and perform the simple query example given in the [previous section](/guides/data-explorer/usage-data-explorer-v2#building-and-performing-simple-queries).
2. Before you perform the query, under **Dimension filters** select **Add dimension filter**. A menu appears and lists any Dimension fields for Meters selected for the query:

<img src="https://mintcdn.com/m3ter/oeuaCNcFX2U2FQoq/images/1739898943-v2dataexplorer8.png?fit=max&auto=format&n=oeuaCNcFX2U2FQoq&q=85&s=e8359efe130ce06dbed8770bd6dc4d69" style={{ maxWidth: 'min(300px, 100%)' }} width="380" height="249" data-path="images/1739898943-v2dataexplorer8.png" />

* In the current example, a single Meter has two Dimension fields configured.

3. Select the Meter Dimension field you want to use to filter the data returned for the query. For the current example, we'll select **RevGraph Meter 1 > Customer Name**. A dialog replaces the menu, which lists values used for this field when usage submissions were made for the Meter within the selected **Time period**.
4. Check the values used for the selected Meter Dimension field you want to use to filter the data returned for the query and then select **Add filter**:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768414422-v2dataexplorer10b.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=b8f63757e6272154b90ea37f489ea1f7" style={{ maxWidth: 'min(850px, 100%)' }} width="1299" height="752" data-path="images/1768414422-v2dataexplorer10b.png" />

The dialog closes and the select Dimension field values are added under **Dimension filters**:

<img src="https://mintcdn.com/m3ter/oeuaCNcFX2U2FQoq/images/1739901066-v2dataexplorer11.png?fit=max&auto=format&n=oeuaCNcFX2U2FQoq&q=85&s=3e16e4dc5f7aa3bbe7c405e144d29206" style={{ maxWidth: 'min(400px, 100%)' }} width="571" height="78" data-path="images/1739901066-v2dataexplorer11.png" />

5. Select **Perform query**. The filtered query executes and returns the data into the **Result rows** panel:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768414153-v2dataexplorer12a.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=28b0d4bbfc0f947446a9cc09db651460" style={{ maxWidth: 'min(900px, 100%)' }} width="1298" height="359" data-path="images/1768414153-v2dataexplorer12a.png" />

* For the current example, we can see that the data returned for the filtered query now includes only those usage submissions made for **Customer Pay1** values for the **Customer Name** Dimension field on the Meter.

## Applying Aggregations for Queries

When building a query in the Usage Data Explorer (v2), you can choose to apply Aggregations to the usage data collected by any Data Fields on the Meters selected for the query.

This section explains the options you have when using Aggregations for queries and the consequences of using Aggregations. It then explains how to create and perform aggregated queries with some typical examples:

* [Aggregations for Queries - Understanding Options and Consequences](/guides/data-explorer/usage-data-explorer-v2#aggregations-for-queries---understanding-options-and-consequences)
* [Applying Aggregations to Queries and Grouping Results](/guides/data-explorer/usage-data-explorer-v2#applying-aggregations-to-queries-and-grouping-results)

### Aggregations for Queries - Understanding Options and Consequences

Before you attempt to use Aggregations for your queries in the Usage Data Explorer (v2), it's important to understand the options you have and the consequences that aggregating the data returned by the query will have.

There are two types of Meter Data Fields:

* **Measures**. Numeric fields of category **MEASURE**, **INCOME**, or **COST**.
* **Dimensions**. Non-numeric fields of category **WHO**, **WHAT**, **WHERE**, **METADATA**, or **OTHER**.

When building queries in Usage Data Explorer (v2), the available Aggregation methods for the various Meter Data Field categories are as follows:

| Aggregation Method | What it does                                                                             | Can be applied to Meter field categories                    |
| ------------------ | ---------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| Sum                | Adds the values.                                                                         | MEASURE, INCOME, or COST                                    |
| Minimum            | Uses the minimum value.                                                                  | MEASURE, INCOME, or COST                                    |
| Maximum            | Used the maximum value.                                                                  | MEASURE, INCOME, or COST                                    |
| Count              | Counts the number of values.                                                             | MEASURE, INCOME, COST, WHO, WHAT, WHERE, METADATA, or OTHER |
| Latest             | Uses the most recent value. Based on the timestamp (ts) value of usage data submissions. | MEASURE, INCOME, or COST                                    |
| Mean               | Uses the arithmetic mean of the values.                                                  | MEASURE, INCOME, or COST                                    |
| Unique             | Uses unique values and returns a count of the number of unique values.                   | WHO, WHAT, WHERE, METADATA, or OTHER                        |

If you apply Aggregations for a query:

* This restricts the range of usage data returned by the query to only the data collected by the aggregated fields on Meters. Nothing is returned for any non-aggregated fields on Meters.
* The usage data for Meter fields is returned as the values resulting from applying the selected aggregation method.
* You can then select to group the results of the aggregated data returned by:
  * **Account**
  * **Time**
  * **Dimension**

### Applying Aggregations to Queries and Grouping Results

This section provides some examples of aggregated queries with grouped results:

* **Example 1**. [Results grouped by Dimension](/guides/data-explorer/usage-data-explorer-v2#aggregated-queries-with-grouped-results-example-1)
* **Example 2**. [Results grouped by Time](/guides/data-explorer/usage-data-explorer-v2#aggregated-queries-with-grouped-results-example-2)
* **Example 3**. [Results grouped by Account](/guides/data-explorer/usage-data-explorer-v2#aggregated-queries-with-grouped-results-example-3)

#### Aggregated Queries with Grouped Results - Example 1

This example extends the simple unfiltered query example from the earlier section to show how to apply aggregations to usage data returned for the query. It then goes on to show how to group the query results by a Dimension.

**To apply aggregations for queries and group the results:**

1. Build and perform the simple unfiltered query example given in the [earlier section](/guides/data-explorer/usage-data-explorer-v2#building-and-performing-simple-queries).
2. Under **Aggregations**, select **Add aggregation**. A menu listing available aggregation methods appears:

<img src="https://mintcdn.com/m3ter/oeuaCNcFX2U2FQoq/images/1739902691-v2dataexplorer13.png?fit=max&auto=format&n=oeuaCNcFX2U2FQoq&q=85&s=59f81969546bddb82acfec454623c159" style={{ maxWidth: 'min(300px, 100%)' }} width="380" height="419" data-path="images/1739902691-v2dataexplorer13.png" />

3. For the current example, select **Sum**. A dialog replaces the menu and shows the fields on the Meters selected for the query which can have this aggregation method applied:

<img src="https://mintcdn.com/m3ter/oeuaCNcFX2U2FQoq/images/1739903366-v2dataexplorer14.png?fit=max&auto=format&n=oeuaCNcFX2U2FQoq&q=85&s=7ea1bdfafa86c2bcec98627e2d61c0d1" style={{ maxWidth: 'min(300px, 100%)' }} width="379" height="299" data-path="images/1739903366-v2dataexplorer14.png" />

In the current example, the two Meter fields of category **MEASURE** - **File Submits** and **GBStore** are listed.

4. Select to **Sum** the **RevGraph Meter 1 > GB Store** numeric data field. The dialog closes and the aggregation is added.
5. Repeat steps 2 to 4 to apply a **Sum** aggregation to the **File Submits** Meter field:

<img src="https://mintcdn.com/m3ter/oeuaCNcFX2U2FQoq/images/1739903759-v2dataexplorer15.png?fit=max&auto=format&n=oeuaCNcFX2U2FQoq&q=85&s=aa9dc5dcd9d7af8dea7e35e623ce85d2" style={{ maxWidth: 'min(600px, 100%)' }} width="884" height="80" data-path="images/1739903759-v2dataexplorer15.png" />

6. Select **Perform Query**. The query with aggregations applied executes and returns the data into the **Result rows** panel:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768467940-v2dataexplorer16a.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=69b40b8d16c4fafb21b70bc2393e7e58" style={{ maxWidth: 'min(850px, 100%)' }} width="1298" height="360" data-path="images/1768467940-v2dataexplorer16a.png" />

Suppose now we want to see how many different customers were responsible for these totals of file submissions and Gigabytes stored.

7. Repeat steps 2 to 4 to apply a **Unique** aggregation to the **Customer Name** Meter field:

<img src="https://mintcdn.com/m3ter/oeuaCNcFX2U2FQoq/images/1739967158-v2dataexplorer17.png?fit=max&auto=format&n=oeuaCNcFX2U2FQoq&q=85&s=47b4d3aeb8d0b106435ba143c6c6aeee" style={{ maxWidth: 'min(800px, 100%)' }} width="1100" height="120" data-path="images/1739967158-v2dataexplorer17.png" />

8. Select **Perform Query**. The query executes and returns the data into the **Result rows** panel:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768468458-v2dataexplorer18a.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=56b972eb96286cdd9720c511f82defb5" style={{ maxWidth: 'min(850px, 100%)' }} width="1300" height="360" data-path="images/1768468458-v2dataexplorer18a.png" />

We can see that only two distinct customers were responsible for the totals of usage data.

Suppose now that we want to check how the totals were distributed between the two customers.  We can use the **grouped by** option to do this.

9. First, remove the **Unique** aggregation of the **Customer Name** Dimension field from the query.
10. Under **Aggregations**, select the **grouped by** plus icon. A menu appears:

<img src="https://mintcdn.com/m3ter/oeuaCNcFX2U2FQoq/images/1739967829-v2dataexplorer19.png?fit=max&auto=format&n=oeuaCNcFX2U2FQoq&q=85&s=b3cc276886908dda0c873aecb28e159a" style={{ maxWidth: 'min(350px, 100%)' }} width="425" height="221" data-path="images/1739967829-v2dataexplorer19.png" />

11. Select **Dimension**. The menu is replaced with a **Dimension** dialog:

<img src="https://mintcdn.com/m3ter/oeuaCNcFX2U2FQoq/images/1739967971-v2dataexplorer20.png?fit=max&auto=format&n=oeuaCNcFX2U2FQoq&q=85&s=31df55fd5190a9659b9694fcb1bde231" style={{ maxWidth: 'min(350px, 100%)' }} width="425" height="263" data-path="images/1739967971-v2dataexplorer20.png" />

12. Select the **Dimension** you want to group the aggregated usage by. For the current example, **RevGraph Meter 1 > Customer Name**.
13. Select **Perform Query**. The query executes and returns the data into the **Result rows** panel:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768469079-v2dataexplorer21a.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=2d936b2a0ed5c3272000e54c254f925d" style={{ maxWidth: 'min(850px, 100%)' }} width="1298" height="360" data-path="images/1768469079-v2dataexplorer21a.png" />

#### Aggregated Queries with Grouped Results - Example 2

This example uses a query that aggregates measures data by a SUM method over a month and then groups the results by day.

**To apply aggregations for queries and group the results:**

1. Build and perform an unfiltered query with **Sum** aggregations applied to MEASURE Data Fields on selected Meters:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768471191-v2dataexplorer23b.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=8710a94ad581d7fa7e6b0d040ec42717" style={{ maxWidth: 'min(950px, 100%)' }} width="1312" height="735" data-path="images/1768471191-v2dataexplorer23b.png" />

* The query returns the data for the month of February 2025 collected for a single Meter and Account, and aggregates for a Sum of the data for each of the MEASURE fields on the Meter.
* The data is returned into the **Result rows** table as a single row.

Suppose we want to review the sum of usage data over the month by day. We can do this using the **grouped by** option by **Time**.

2. Under **Aggregations**, select the **grouped by** plus icon. A menu appears:

<img src="https://mintcdn.com/m3ter/oeuaCNcFX2U2FQoq/images/1741197979-v2dataexplorer24.png?fit=max&auto=format&n=oeuaCNcFX2U2FQoq&q=85&s=573232dbc68a26fa42234fcde4f043d1" style={{ maxWidth: 'min(350px, 100%)' }} width="423" height="221" data-path="images/1741197979-v2dataexplorer24.png" />

3. Select **Time**. The menu is replaced with a **Time** dialog:

<img src="https://mintcdn.com/m3ter/oeuaCNcFX2U2FQoq/images/1741198203-v2dataexplorer25.png?fit=max&auto=format&n=oeuaCNcFX2U2FQoq&q=85&s=c0b0c8ef35858f3e767a76019196367b" style={{ maxWidth: 'min(350px, 100%)' }} width="471" height="350" data-path="images/1741198203-v2dataexplorer25.png" />

4. Select **Daily**.
5. Select **Perform Query**. The query executes and returns the data into the **Result rows** panel:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768471425-v2dataexplorer26b.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=0bf9d4293b7ca36420b3ee6c294d7c61" style={{ maxWidth: 'min(950px, 100%)' }} width="1297" height="654" data-path="images/1768471425-v2dataexplorer26b.png" />

#### Aggregated Queries with Grouped Results - Example 3

This example uses a query that aggregates measures data by a SUM method over a month and then groups the results by Account.

**To apply aggregations for queries and group the results:**

1. Build and perform an unfiltered query with Sum aggregations applied to MEASURE Data Fields on selected Meters:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768472370-v2dataexplorer27c.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=2e654dfb1dcd4786259339ed34f6c02f" style={{ maxWidth: 'min(950px, 100%)' }} width="1311" height="733" data-path="images/1768472370-v2dataexplorer27c.png" />

* The query returns the data for the month of January 2025 collected for a single Meter and all Accounts, and aggregates for a Sum of the data for each of the MEASURE fields on the Meter.
* The data is returned into the **Result rows** table as a single row.

Suppose we want to review the sum of usage data over the month by Account. We can do this using the **grouped by** option by **Account**.

2. Under **Aggregations**, select the **grouped by** plus icon. A menu appears:

<img src="https://mintcdn.com/m3ter/oeuaCNcFX2U2FQoq/images/1741262216-v2dataexplorer28.png?fit=max&auto=format&n=oeuaCNcFX2U2FQoq&q=85&s=f745cabe693cb43044750c5393ae020c" style={{ maxWidth: 'min(350px, 100%)' }} width="420" height="223" data-path="images/1741262216-v2dataexplorer28.png" />

3. Select **Account**.
4. Select **Perform Query**. The query executes and returns the data into the **Result rows** panel:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768472534-v2dataexplorer29a.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=eca20c338b46f1781a1e8b6b1af8d025" style={{ maxWidth: 'min(850px, 100%)' }} width="1299" height="361" data-path="images/1768472534-v2dataexplorer29a.png" />

## Managing Result Rows Table Columns

When you perform a query the usage data returned for the query is loaded into the **Result rows** table. You can then open a *Columns* dialog to show or hide some table columns.

**To manage Result rows table columns:**

1. Build and perform the query that returns the usage data results required for your analytical purposes. For example:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768476282-v2dataexplorer34.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=c7c0c90d5a72b014f1de0c1dd82ec5dc" style={{ maxWidth: 'min(1000px, 100%)' }} width="1325" height="843" data-path="images/1768476282-v2dataexplorer34.png" />

2. At the right-side of the **Result rows** table, select **Columns**. A menu appears:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768478945-v2dataexplorer35.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=1f968d2940e78c081252912c5c7dd0e2" style={{ maxWidth: 'min(180px, 100%)' }} width="211" height="300" data-path="images/1768478945-v2dataexplorer35.png" />

* The columns in the **Result rows** table will depend upon the query you've performed and some columns will be shown by default - such as the **Timestamp**, **Meter**, and **Account** columns in this example - and you will not be able to hide some - such as the Meter field data columns in this example:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768479319-v2dataexplorer36.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=43af1203b1053ecf1d1f5e62c7998451" style={{ maxWidth: 'min(180px, 100%)' }} width="211" height="328" data-path="images/1768479319-v2dataexplorer36.png" />

3. You can hide and show columns to suit current requirements. For the current example, you might want to hide the **Timestamp** column and show the usage data measurement **UID** instead:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768480613-v2dataexplorer37.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=6564b3dcd7d9748f3792ee7d353bc4e9" style={{ maxWidth: 'min(180px, 100%)' }} width="211" height="329" data-path="images/1768480613-v2dataexplorer37.png" />

* The **Result rows** table adjusts accordingly:

<img src="https://mintcdn.com/m3ter/IIVPvL7530sHdexY/images/1768481257-v2dataexplorer38.png?fit=max&auto=format&n=IIVPvL7530sHdexY&q=85&s=7a8369cb6b720308987c39bd7c4e9798" alt="" width="1308" height="540" data-path="images/1768481257-v2dataexplorer38.png" />

4. When you've finished showing or hiding columns for the **Result rows** table, select **Columns** again to close the menu.

## Viewing and Copying Queries

As you are building a query, you might want to review the query's JSON structure. This can be helpful if you intend to use the Usage Data Explorer (v2) [API query endpoint](/api/dataexplorerv2/query-and-filter-usage-data). For convenience, you can quickly view a query's JSON and copy it from the explorer page in the Console.

**To view and copy queries:**

1. Build and perform the query that returns the usage data results required for your analytical purposes.
2. In the Usage Data Explorer (v2), select **View query**:

<img src="https://mintcdn.com/m3ter/DOKwY-7WzlS7EMNx/images/V2DataExplorer43.png?fit=max&auto=format&n=DOKwY-7WzlS7EMNx&q=85&s=cd5a7765477260eba469051d9f515740" alt="V2data Explorer43" title="V2data Explorer43" style={{ width:"18%" }} width="136" height="52" data-path="images/V2DataExplorer43.png" />

A modal appears containing the query JSON as currently configured:

<img src="https://mintcdn.com/m3ter/DOKwY-7WzlS7EMNx/images/V2DataExplorer42.png?fit=max&auto=format&n=DOKwY-7WzlS7EMNx&q=85&s=f6bc8184e66a48d4f27584a0f772d8b8" alt="V2data Explorer42" title="V2data Explorer42" style={{ width:"92%" }} width="896" height="653" data-path="images/V2DataExplorer42.png" />

3. You can **Copy** the query JSON to your clipboard, if required.

<Tip>
  **Tip: API for Usage Data Explorer (v2)?** See the [DataExplorerV2](/api/dataexplorerv2/introduction) section of our API Reference for details.
</Tip>

## Saving and Re-Using Queries

You can save queries and re-use them.

**To save and re-use queries:**

1. In the **Query** panel, build and perform the query that returns the usage data results required for your analytical purposes.
2. Select **Save query**:

<img src="https://mintcdn.com/m3ter/mLLI4d7fxI8XAEOB/images/1742570219-v2dataexplorer30.png?fit=max&auto=format&n=mLLI4d7fxI8XAEOB&q=85&s=e8aeb3a090b6f2f248297fb2422f1acd" style={{ maxWidth: 'min(120px, 100%)' }} width="138" height="57" data-path="images/1742570219-v2dataexplorer30.png" />

A **Save query** dialog appears.

3. Enter a **Query name** and select **Save query**:

<img src="https://mintcdn.com/m3ter/DOKwY-7WzlS7EMNx/images/V2DataExplorer44.png?fit=max&auto=format&n=DOKwY-7WzlS7EMNx&q=85&s=bd88c9c2d8a56da5352d0d0b53eae1be" alt="V2data Explorer44" title="V2data Explorer44" style={{ width:"53%" }} width="513" height="240" data-path="images/V2DataExplorer44.png" />

The **Save query** dialog closes and a **Query successfully saved** message appears.

4. If you want to re-use a saved query, on the **Query** panel select **Saved queries**:

<img src="https://mintcdn.com/m3ter/mLLI4d7fxI8XAEOB/images/1742570931-v2dataexplorer32.png?fit=max&auto=format&n=mLLI4d7fxI8XAEOB&q=85&s=ad45ba1d76347f519272cd633d5e64f5" style={{ maxWidth: 'min(120px, 100%)' }} width="158" height="53" data-path="images/1742570931-v2dataexplorer32.png" />

A **Saved queries** dialog appears.

5. For the saved query you want to re-use, select **Load query**:

<img src="https://mintcdn.com/m3ter/DOKwY-7WzlS7EMNx/images/V2DataExplorer45.png?fit=max&auto=format&n=DOKwY-7WzlS7EMNx&q=85&s=0b66cb34b5b4760530afcf48b49a4b9c" alt="V2data Explorer45" title="V2data Explorer45" style={{ width:"62%" }} width="575" height="412" data-path="images/V2DataExplorer45.png" />

The dialog closes and the selected saved query is loaded onto the **Query** panel.

* Note that you can *delete saved queries* on the **Saved queries** dialog.

6. Make adjustments to the loaded query, if required, and select **Perform query**. The query executes and returns the data into the **Result rows** panel.

## Downloading Query Results

When you have built a usage data query in Usage Data Explorer (v2), you can export the results returned for the query as a `CSV` or `JSONL` formatted file.

**To download query results:**

1. Build and perform the query that returns the usage data results required for your analytical purposes and which you want to download for use elsewhere.
2. On the **Result rows** panel, select **Download CSV** or **Download JSONL**. The returned data set that was loaded into the **Result rows** panel from the query is compiled in a *.csv* or *.jsonl* formatted file, downloaded, and saved locally.

## Using Queries for Data Export

When you've set up and performed a query in Usage Data Explorer (v2), you can quickly use the query for creating usage Data Export Schedules or to run an Ad-Hoc Data Export.

**To use queries for Data Exports:**

1. Build and perform the query that returns the usage data results you want to export using the Data Export service.
2. If you want to use the query to create a Usage Data Export Schedule, select **Create export schedule**:

<img src="https://mintcdn.com/m3ter/DOKwY-7WzlS7EMNx/images/V2DataExplorer46.png?fit=max&auto=format&n=DOKwY-7WzlS7EMNx&q=85&s=d0089f21b8cf36372324eb1300937f73" alt="V2data Explorer46" title="V2data Explorer46" style={{ width:"29%" }} width="229" height="57" data-path="images/V2DataExplorer46.png" />

The **Export schedules>Create** page opens with the query loaded for the **Export schedule details**. You can now proceed to configure the Data Export Schedule. See [Creating Usage Data Export Schedules](/guides/data-exports/creating-export-schedules) for more details.

<Tip>
  **Note: Using Custom Time Period?** If you've set up a usage data query in Data Explorer that uses a **Custom** time period, when you load the query for configuring an Export Schedule, this *static time period* is not available for Export Schedules and the default of **Today** is used instead.
</Tip>

3. If you want to use the query to run and Ad-Hoc Usage Data Export, select **Run ad-hoc export**:

<img src="https://mintcdn.com/m3ter/DOKwY-7WzlS7EMNx/images/V2DataExplorer47.png?fit=max&auto=format&n=DOKwY-7WzlS7EMNx&q=85&s=f9a16d4c201b9c1fce1fa40e3a5dd1f4" alt="V2data Explorer47" title="V2data Explorer47" style={{ width:"25%" }} width="192" height="54" data-path="images/V2DataExplorer47.png" />

The **Run ad-hoc export** page opens with the query loaded for the **Ad-hoc export details**. You can now proceed to configure the Ad-Hoc Usage Data Export. See [Running Ad-Hoc Usage Data Exports](/guides/data-exports/running-ad-hoc-data-exports) for more details.
