Help Center> Cost Center> User Guide> Cost Analysis> Viewing Cost Analyses
Updated on 2022-11-17 GMT+08:00

Viewing Cost Analyses

On the Cost Analysis page, you can view the analyses of original costs, amortized costs, and the daily or monthly trends within a given time range. You can also select different dimensions or filters to dig deeper into the details. For the scope of data that you can analyze, see Data Scope.

API Reference

For details about how to use APIs to query cost analyses, see Querying Cost Data.

Important Notes

  • You can only view the cost data for pay-per-use usage when you filter the cost data generated before June 2021 by Usage Type.

    `

  • Cost data generated before June 2021 can only be viewed using the following dimensions and filters:
    • Service Type
    • Region
    • Billing Mode
    • Linked Account
    • Business Entity
    • Specification Code
    • Usage Type
    • Bill Type
    • Cost Tag

Specifying a Time Range

You can view your cost data by day or month within a given time range.

Granularity

  • Daily: View cost data by the day.
  • Monthly: View cost data by the month.

Period

  • Last 7 days: the cost data for the last 7 days (excluding the current day)
  • Last 14 days: the cost data for the last 14 days (excluding the current day)
  • Last 30 days: the cost data for the last 30 days (excluding the current day)
  • Month to date: the month-to-date cost data
  • Last 3 months: the cost data for the last 3 months (excluding the current month)
  • Last 6 months: the cost data for the last 6 months (excluding the current month)
  • Last 12 months: the cost data for the last 12 months (excluding the current month)
  • Year to date: the year-to-date cost data
  • Current month: After Cost Forecasting is enabled, if there is sufficient historical cost data in your account, the cost data generated in the past days of the month and the forecast cost data in the coming days of the month will be displayed. For details about how to enable Cost Forecasting, see Forecasting.
  • Next month: After Cost Forecasting is enabled, if there is sufficient historical data in your account, the forecast cost data of the next month will be displayed.
  • Next three months: After Cost Forecasting is enabled, if there is sufficient historical data in your account, the forecast cost data of the next three months will be displayed.
  • Next six months: After Cost Forecasting is enabled, if there is sufficient historical data in your account, the forecast cost data of the next six months will be displayed.
  • Next 12 months: After Cost Forecasting is enabled, if there is sufficient historical data in your account, the forecast cost data of the next 12 months will be displayed.
  • Custom: You can specify a specific time range for data query.

Selecting Dimensions/Filters

You can use different dimensions to identify the frequently used products, analyze cost distributions, or identify linked accounts with highest costs associated. You can also select filters to view desired datasets.

If you select multiple filters, only results meeting all filtering criteria will be displayed. However, if you select multiple items for any given filter, results meeting any of the items selected will be displayed.

For example, if you select the following filters, the cost data meeting all the following requirements will be displayed: 1. The product type is ECS. 2. The value of the key Env is dev or gamma. 3. The value of the key Group is blueBob.

For example, if you select the following filters, the cost data meeting all the following requirements will be displayed: 1. The product type is ECS. 2. The value of the key Env is dev or gamma. 3. The value of the key Group is not blueBob.

You can use the following dimensions and filters for cost analysis:

Dimension

Description

Service Type

Category of a cloud service.

Example: Elastic Cloud Servers

Resource Type

Category of the resource used for a cloud service.

Example: Cloud servers

Linked Account

Huawei Cloud account used to purchase and use resources.

A customer using a master account can select the linked member accounts to view the cost data of their member accounts.

Region

Cloud service region that provides Huawei Cloud service resources independently and serves a large geographical area.

AZ

A physically isolated zone where resources have their own independent power supply and internal networks. One region can have multiple AZs, and if one AZ becomes faulty, the other AZs in the same region can still provide services. AZs in the same region can access each other as they are on the same intranet.

Enterprise Project

The enterprise project selected when you purchase a cloud service. If no enterprise project is selected, default is displayed as the value for this field. If the enterprise project management is not supported for the cloud service, Not categorized is presented.

Specification Code

A group of codes used to describe the specifications of a cloud service.

Example: s3.small.1.linux

Billing Mode

Billing modes include yearly/monthly, pay-per-use, and reserved instance.

Usage Type

The way a pay-per-use cloud service is billed.

Example: Duration:Second (Virtual Private Cloud:VPN:Duration)

Bill Type

Type of a billing item.

Example: expenditure-purchase and expenditure-hourly billing

Business Entity

Business entity which a cloud service belongs to.

Example: Huawei Cloud

PayerAccount Name

Account used to transact with Huawei Cloud.

  • Generally, resources are under this account.
  • For a member account that is associated with a master account for unified accounting management, PayerAccount Name is the enterprise master account. The master account can switch the value of PayerAccount Name to view the cost data of the member accounts that are not associated for unified accounting management.

Cost Tags

Used to track costs of enterprise resources. For more information, see Activating Cost Tags.

If you are a member account associated with the mast account for unified accounting management, you can only use the cost tags activated by the master account.

Resource

Unique ID of a cloud service resource.

Cost Categories

A tool that can automatically group you costs based on the rules. For details, see Overview.

If you are a member account associated with the mast account for unified accounting management, you can only use the cost categories created by the master account.

Advanced Settings

Cost Center provides you with original cost analyses by default. You can configure advanced settings to view analyses of other costs if needed.

Cost Type

  • Original costs: reflect expenditures after discounts. The original cost is an estimate before the billing date.
  • Net original costs: reflect original costs after cash coupons are applied. Before the billing date, it is equivalent to an estimated amount without any cash coupons applied.
  • Amortized costs: reflect prepaid amounts amortized on a daily basis. For detailed rules, see Rules for Amortized Costs. The amortized cost is an estimate before the billing date.
  • Net amortized costs: reflect amortized costs after cash coupons are applied. Before the billing date, it is equivalent to an estimated amount without any cash coupons applied.

Costs

When Cost Type is set to Original costs, you can select or deselect Include discount. If you select this option, discounts and truncated amounts will be included, and the cost is equal to the list price.

Show last period cost/PoP growth

  • Last period cost = Total cost of the current period – Total cost of the previous period
  • PoP growth for total cost

You can select Show last period cost/PoP growth to see the desired information.

Show list price

The list price is the sale price of a product without any discounts applied. If you select this option, the list price will be displayed only for analysis of original costs in stacked charts.

Charts

In Cost Center, you can display cost data in stacked charts, bar charts, and line charts.

A maximum of 11 data records can be displayed in a chart. If you select 11 or more data records, the top 10 data records and Other are displayed by default. Other indicates the total number of the remaining data records combined.

  • Stacked chart
    Figure 1 Stacked chart
  • Bar chart
    Figure 2 Bar chart
  • Line chart
    Figure 3 Line chart

Viewing Cost Analyses

  1. Log in to Cost Center.
  2. Choose Cost Analysis.
  3. Set search criteria to view desired cost data.

    • When the cost type is Original costs or Net original costs, the data displayed on the page is nearly real-time.
    • When the cost type is Amortized costs or Net amortized costs, the most recent data may take 24 to 48 hours to display.
    • You can click Export and download the Cost Analysis - Overview file.

Viewing Usage Analysis

  1. Log in to Cost Center.
  2. Choose Cost Analysis.
  3. Configure Usage Type in Filters, and the cost data is displayed from perspectives of Period and Grouped By.