Skip to content

Commit 8c3eaba

Browse files
Merge pull request #210681 from bandersmsft/customize-ca-views
MCM - Adding Customize cost analysis views
2 parents 1d4db17 + ea4931c commit 8c3eaba

17 files changed

+148
-66
lines changed

articles/cost-management-billing/costs/cost-analysis-built-in-views.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Microsoft Cost Management
44
description: This article helps you understand when to use which view, how each one provides unique insights about your costs and recommended next steps to investigate further.
55
author: bandersmsft
66
ms.author: banders
7-
ms.date: 02/17/2022
7+
ms.date: 09/09/2022
88
ms.topic: conceptual
99
ms.service: cost-management-billing
1010
ms.subservice: cost-management
@@ -140,4 +140,5 @@ Use the **Invoice details** view to:
140140

141141
## Next steps
142142

143-
- Now that you're familiar with using built-in views, read about [Saving and sharing customized views](save-share-views.md).
143+
- Now that you're familiar with using built-in views, read about [Saving and sharing customized views](save-share-views.md).
144+
- Learn about how to [Customize views in cost analysis](customize-cost-analysis-views.md)
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
---
2+
title: Customize views in cost analysis
3+
titleSuffix: Microsoft Cost Management
4+
description: This article helps you customize views in cost analysis to understand how you're being charged and to investigate unexpected changes.
5+
author: bandersmsft
6+
ms.author: banders
7+
ms.date: 09/09/2022
8+
ms.topic: conceptual
9+
ms.service: cost-management-billing
10+
ms.subservice: cost-management
11+
ms.reviewer: micflan
12+
---
13+
14+
# Customize views in cost analysis
15+
16+
This article helps you customize views in cost analysis to understand how you're being charged and to investigate unexpected changes.
17+
18+
## Prerequisites
19+
20+
To customize views, you must have at least the Cost Management Reader (or Contributor) role.
21+
22+
You should be familiar with the information at [Quickstart: Explore and analyze costs with cost analysis](quick-acm-cost-analysis.md).
23+
24+
## Get started with customizing views
25+
26+
Customizing views in cost analysis includes anything from tweaking display settings to changing what data gets included or how it's summarized. You customize views when trying to understand what you're spending and where the costs originated. For example, you can drill into data, apply specific filters or groupings, or change display settings, like whether to view a chart or table. The following sections cover each of these customization options.
27+
28+
## Group costs
29+
30+
Use the **Group by** option to group common properties so that you get a break down of costs and to identify top contributors. It should be your first change when drilling into data because it helps you identify the largest changes. To group by resource tags, for example, select the tag key you want to group by. Costs are broken down by each tag value, with an extra segment for resources that don't have that tag applied.
31+
32+
Most Azure resources support tagging. However, some tags aren't available in Cost Management and billing. Additionally, resource group tags aren't supported. Support for tags applies to usage reported _after_ the tag was applied to the resource. Tags aren't applied retroactively for cost rollups.
33+
34+
Here's a view of Azure service costs for the current month, grouped by Service name.
35+
36+
:::image type="content" source="./media/customize-cost-analysis-views/accumulated-costs-service-daily-bar.png" alt-text="Screenshot showing costs for the current month grouped by Service name." lightbox="./media/customize-cost-analysis-views/accumulated-costs-service-daily-bar.png" :::
37+
38+
The following image shows resource group names. You can group by tag to view total costs per tag or group by **Resource group name**.
39+
40+
:::image type="content" source="./media/customize-cost-analysis-views/accumulated-costs-resource-group-daily-area.png" alt-text="Screenshot showing resource group names. " lightbox="./media/customize-cost-analysis-views/accumulated-costs-resource-group-daily-area.png" :::
41+
42+
When you're grouping costs by a specific attribute, the top 10 cost contributors are shown from highest to lowest. If there are more than 10, the top nine cost contributors are shown with an **Others** group that represents all remaining groups combined. When you're grouping by tags, an **Untagged** group appears for costs that don't have the tag key applied. **Untagged** is always last, even if untagged costs are higher than tagged costs. Untagged costs will be part of **Others**, if 10 or more tag values exist. To view what's grouped into **Others** , either select that segment to apply a filter or switch to the table view and change granularity to **None** to see all values ranked from highest to lowest cost.
43+
44+
Classic virtual machines, networking, and storage resources don't share detailed billing data. They're merged as **Classic services** when grouping costs.
45+
46+
Cost analysis doesn't support grouping by multiple attributes. To work around it, you can apply a filter for a desired attribute and group by the more detailed attribute. For instance, filter down to a specific resource group, then group by resource.
47+
48+
Pivot charts under the main chart show different groupings, which give you a broader picture of your overall costs for the selected time period and filters. Select a property or tag to view aggregated costs by any dimension.
49+
50+
:::image type="content" source="./media/customize-cost-analysis-views/pivot-charts.png" alt-text="Screenshot showing pivot charts." lightbox="./media/customize-cost-analysis-views/pivot-charts.png" :::
51+
52+
## Select a date range
53+
54+
There are many cases where you need deeper analysis. Customization starts at the top of the page, with the date selection.
55+
56+
Cost analysis shows data for the current month by default. Use the date selector to switch to common date ranges quickly. Examples include the last seven days, the last month, the current year, or a custom date range. Pay-as-you-go subscriptions also include date ranges based on your billing period, which isn't bound to the calendar month, like the current billing period or last invoice.
57+
58+
:::image type="content" source="./media/customize-cost-analysis-views/date-select.png" alt-text="Screenshot showing the date selector." lightbox="./media/customize-cost-analysis-views/date-select.png" :::
59+
60+
## Filter charges
61+
62+
Add filters to narrow down or drill into your specific charges. It's especially helpful when trying to understand an unexpected change. Start by selecting the **Add filter** pill, then select the desired attribute, and lastly select the options you want to filter down to. Your view will automatically update once you've applied the filter.
63+
64+
You can add multiple filters. As you add filters, you'll notice that the available values for each filter include the previously selected filters. For instance, if you apply a resource group filter, then add a resource filter, the resource filter options will only show resources in the selected resource group.
65+
66+
When you view charts, you can also select a chart segment to apply a filter. After selecting a chart segment, you should consider changing the group by attribute to see other details about the attribute you selected.
67+
68+
## Switch between actual and amortized cost
69+
70+
By default, cost analysis shows all usage and purchase costs as they're accrued and will show on your invoice, also known as **Actual cost**. Viewing actual cost is ideal for reconciling your invoice. However, purchase spikes in cost can be alarming when you're keeping an eye out for spending anomalies and other changes in cost. To flatten out spikes caused by reservation purchase costs, switch to **Amortized cost**.
71+
72+
:::image type="content" source="./media/customize-cost-analysis-views/metric-picker.png" alt-text="Screenshot showing the metric selector." lightbox="./media/customize-cost-analysis-views/metric-picker.png" :::
73+
74+
Amortized cost breaks down reservation purchases into daily chunks and spreads them over the duration of the reservation term. Most reservation terms are one or three years. Let's look at a one-year reservation example. Instead of seeing a $365 purchase on January 1, you'll see a $1.00 purchase every day from January 1 to December 31. In addition to basic amortization, these costs are also reallocated and associated by using the specific resources that used the reservation. For example, if that $1.00 daily charge was split between two virtual machines, you'd see two $0.50 charges for the day. If part of the reservation isn't utilized for the day, you'd see one $0.50 charge associated with the applicable virtual machine and another $0.50 charge with a charge type of UnusedReservation. Unused reservation costs can be seen only when you view amortized cost.
75+
76+
If you buy a one-year reservation on May 26 with an upfront payment, the amortized cost is divided by 365 (assuming it's not a leap year) and spread from May 26 through May 25 of the next year. If you pay monthly, the monthly fee is divided by the number of days in that month. The free is spread evenly across May 26 through June 25, with the next month's fee spread across June 26 through July 25.
77+
78+
Because of the change in how costs are represented, it's important to note that actual cost and amortized cost views will show different total numbers. In general, the total cost of months with a reservation purchase will decrease when you view amortized costs, and months following a reservation purchase will increase. Amortization is available only for reservation purchases and doesn't apply to Azure Marketplace purchases at this time.
79+
80+
## Select a currency
81+
82+
Costs are shown in your billing currency by default. If you have charges in multiple currencies, costs will automatically be converted to USD. If you have any non-USD charges, you can switch between currencies in the total KPI menu. You may see options like **GBP only** to view only the charges in that one currency or **All costs in USD** to view the normalized costs in USD. You can't view costs normalized to other currencies today.
83+
84+
:::image type="content" source="./media/customize-cost-analysis-views/currency-costs.png" alt-text="Screenshot showing the currency selector. " lightbox="./media/customize-cost-analysis-views/currency-costs.png" :::
85+
86+
## Select a budget
87+
88+
When you view a chart, it can be helpful to visualize your charges against a budget. It's especially helpful when showing accumulated daily costs with a forecast trending towards your budget. If your costs go over your budget, you'll see a red critical icon next to your budget. If your forecast goes over your budget, you'll see a yellow warning icon.
89+
90+
When you view daily or monthly costs, your budget may be estimated for the period. For instance, a monthly budget of $31 will be shown as `$1/day (est)`. Note your budget won't be shown as red when it exceeds this estimated amount on a specific day or month.
91+
92+
Budgets that have filters aren't currently supported in cost analysis. You won't see them in the list. Budgets on lower-level scopes are also not shown in cost analysis today. To view a budget for a specific scope, change scope using the scope picker.
93+
94+
## Change granularity
95+
96+
Use **Granularity** to indicate how you want to view cost over time. The lowest level you can view is Daily costs. You can view daily costs for up to 3 months or 92 consecutive days. If you select more than 92 days, cost analysis switches to **Monthly** granularity. It updates your date range to include the start and end of the selected months to provide the most accurate picture of your monthly costs. You can view up to 12 months of monthly costs.
97+
98+
If you'd like to view a running total of charges on either a daily or monthly basis, select **Accumulated**. Accumulated is especially helpful when you view your forecast as it helps you see the trend over time.
99+
100+
If you'd like to view the total for the entire period (no granularity), select **None**. Selecting no granularity is helpful when grouping costs by a specific attribute in either a chart or table.
101+
102+
## Visualize costs in a chart
103+
104+
Cost analysis supports the following chart types:
105+
106+
- Area charts are ideal for showing a running total with forecast trending towards a budget.
107+
- Line charts are ideal for reviewing relative changes. Line charts aren't stacked, which helps spot changes easily.
108+
- Column (stacked) charts are ideal for reviewing your daily or monthly run rate. It shows a breakdown by some attribute to easily spot which group has the most charges. Groups are sorted from largest to smallest from left-to-right, bottom-to-top.
109+
- Column (grouped) charts are helpful when you view grouped costs with no granularity.
110+
111+
## View costs in table format
112+
113+
You can view the full dataset for any view. Whichever selections or filters that you apply affect the data presented. To see the full dataset, select the **chart type** list and then select **Table** view.
114+
115+
:::image type="content" source="./media/customize-cost-analysis-views/accumulated-costs-resource-chart.png" alt-text="Screenshot showing the table view." lightbox="./media/customize-cost-analysis-views/accumulated-costs-resource-chart.png" :::
116+
117+
## Next steps
118+
119+
- Learn about [Saving and sharing customized views](save-share-views.md).

articles/cost-management-billing/costs/get-started-partners.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Partners also filter costs in a specific billing currency across customers in th
7575

7676
![Example showing Actual cost selection for currencies](./media/get-started-partners/actual-cost-selector.png)
7777

78-
Use the [amortized cost view](quick-acm-cost-analysis.md#switch-between-actual-and-amortized-cost) in billing scopes to view reserved instance amortized costs across a reservation term.
78+
Use the [amortized cost view](customize-cost-analysis-views.md#switch-between-actual-and-amortized-cost) in billing scopes to view reserved instance amortized costs across a reservation term.
7979

8080
### Billing profile scope
8181

@@ -155,7 +155,7 @@ To view or change policies:
155155

156156
1. In the Azure portal, navigate to **Cost Management** (not Cost Management + Billing).
157157
1. In the left menu under **Settings**, select **Configuration**.
158-
1. The billing profile configuration is shown. Polices are shown as Enabled or Disabled. If you want to change a policy, select **Edit** under a policy.
158+
1. The billing profile configuration is shown. Policies are shown as Enabled or Disabled. If you want to change a policy, select **Edit** under a policy.
159159
:::image type="content" source="./media/get-started-partners/configuration-policy-settings.png" alt-text="Screenshot showing the billing profile configuration page where you can view and edit policy settings." lightbox="./media/get-started-partners/configuration-policy-settings.png" :::
160160
1. If needed, change the policy settings, and then select **Save**.
161161

111 KB
Loading
Loading
Loading
12.8 KB
Loading
70.6 KB
Loading

0 commit comments

Comments
 (0)