

# Cost analysis dashboard
<a name="cost-analysis-dashboard"></a>

The cost analysis dashboard allows RES administrators to monitor project budgets and project costs over time from the RES portal. Costs can be filtered at the project level.

**Topics**
+ [Prerequisites](#cost-analysis-dashboard-prerequisites)
+ [Projects with budget assigned chart](#cost-analysis-dashboard-projects-chart)
+ [Cost analysis over time chart](#cost-analysis-dashboard-over-time)
+ [Download CSV](#cost-analysis-dashboard-download-csv)

## Prerequisites
<a name="cost-analysis-dashboard-prerequisites"></a>

To use the cost dashboard for Research and Engineering Studio, you must first:
+ [Create a project](create-project.md).
+ Create a [budget](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-create.html) in the [AWS Billing and Cost Management console](https://console.aws.amazon.com/costmanagement/home).
+ Attach the budget to the project (see [Edit a project](edit-project.md)).
+ Activate the cost analysis chart for accounts with new RES deployments. To do this, follow these steps:

  1. Deploy a [VDI](virtual-desktops.md) for the project you created. This provisions the `res:Project` tag in the [AWS Cost Explorer](https://aws.amazon.com/aws-cost-management/aws-cost-explorer/), which can take up to 24 hours. 

  1. After the tag is created, the **Enable tags** button is activated. Choose the button to activate the tags in Cost Explorer. This process may take an additional 24 hours.   
![Cost analysis onboarding; steps to take](http://docs.aws.amazon.com/res/archive/release-minus-2/ug/images/res-cost-analysis-onboarding.png)

## Projects with budget assigned chart
<a name="cost-analysis-dashboard-projects-chart"></a>

The **Projects with budget assigned** chart displays the budget status of projects in the RES environment that have budgets assigned to them. By default, the chart displays the top 5 projects by budget amount. You can select specific projects in the **Filter displayed data** dropdown that loads the complete list of budget-assigned projects.

![Chart showing projects with status of assigned budget including amounts spent, exceeding, and remaining](http://docs.aws.amazon.com/res/archive/release-minus-2/ug/images/res-projects-budget-assigned.png)


The chart displays spent, remaining, and exceeding amounts for each budget in USD currency. Hover over a bar to show the exact USD amounts for each category. You can also open the Projects and Create Project pages by choosing the **Review projects** and **Create project** buttons in the top right corner, respectively.

![Chart showing projects with status of assigned budget and pop-out details for one project](http://docs.aws.amazon.com/res/archive/release-minus-2/ug/images/res-projects-budget-dropdown.png)


## Cost analysis over time chart
<a name="cost-analysis-dashboard-over-time"></a>

The **Cost analysis over time** chart displays the cost breakdown by project over a specified period of time. By default, the chart displays data for each of the past 6 months. It displays the top 5 projects by total cost over the selected **Time range** with the **Granularity** you select. All other selected projects besides the top 5 are aggregated under an **Other** category.

![Chart showing cost analysis over a selected time range](http://docs.aws.amazon.com/res/archive/release-minus-2/ug/images/res-cost-analysis-over-time.png)


### Filters
<a name="cost-analysis-dashboard-over-time-filters"></a>

You can filter by project, time range, and granularity to customize the **Cost analysis over time** chart view. If any invalid filter combinations are selected, a modal window will pop up that gives you the option to either revert to the previous configuration or accept a suggestion for the updated filter combination.

**Project**

When you choose the **Filter displayed data** dropdown you see a complete list of projects in your current RES environment. You see the project name, with the project code displayed beneath.

![Detail of filter settings showing projects which are selected for display](http://docs.aws.amazon.com/res/archive/release-minus-2/ug/images/res-cost-analysis-filter-modal.png)


**Specifying the time range**

You can choose to use an **Absolute range** or a **Relative range** when you specify a date range. When you select a relative range, the dates are calculated using complete time units. For example, if you select the **Past 6 months** option in February 2025, this will result in a time range of 8/1/25 - 1/31/25.

![Detail of pop-out that allows the selection of a relative time range](http://docs.aws.amazon.com/res/archive/release-minus-2/ug/images/res-cost-analysis-time-range1.png)


![Detail of pop-out that allows the selection of an absolute time range](http://docs.aws.amazon.com/res/archive/release-minus-2/ug/images/res-cost-analysis-time-range2.png)


**Granularity**

You can choose to view data with a **Monthly**, **Daily**, or **Hourly** granularity. **Hourly** granularity only supports a date range of up to 14 days. **Daily** granularity only supports a date range of up to 14 months.

![Detail of pop-out that allows the selection of time range granularity](http://docs.aws.amazon.com/res/archive/release-minus-2/ug/images/res-cost-analysis-granularity.png)


## Download CSV
<a name="cost-analysis-dashboard-download-csv"></a>

To export the current cost analysis view, choose **Download CSV** at the top right of the **Cost analysis over time** chart. The downloaded CSV contains the cost information for each selected project for the time period specified, as well as cost totals by project and by time period.

![Downloaded CSV file opened in a spreadsheet application](http://docs.aws.amazon.com/res/archive/release-minus-2/ug/images/res-cost-analysis-download-csv.png)
