Skip to content

Commit da15b7a

Browse files
authored
Merge pull request #277212 from bandersmsft/fix-pr-277169
MCM - Update export tutorial for PR 277169
2 parents 519746b + 26663a9 commit da15b7a

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed
10.8 KB
Loading
11.9 KB
Loading

articles/cost-management-billing/costs/tutorial-export-acm-data.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ titleSuffix: Microsoft Cost Management
44
description: This article shows you how you can create and manage exported Cost Management data so that you can use it in external systems.
55
author: bandersmsft
66
ms.author: banders
7-
ms.date: 03/11/2024
7+
ms.date: 06/04/2024
88
ms.topic: tutorial
99
ms.service: cost-management-billing
1010
ms.subservice: cost-management
@@ -375,7 +375,7 @@ Select an export to view the run history.
375375
There are two runs per day for the first five days of each month after you create a daily export. One run executes and creates a file with the current month’s cost data. It's the run that's available for you to see in the run history. A second run also executes to create a file with all the costs from the prior month. The second run isn't currently visible in the run history. Azure executes the second run to ensure that your latest file for the past month contains all charges exactly as seen on your invoice. It runs because there are cases where latent usage and charges are included in the invoice up to 72 hours after the calendar month is closed. To learn more about Cost Management usage data updates, see [Cost and usage data updates and retention](understand-cost-mgt-data.md#cost-and-usage-data-updates-and-retention).
376376

377377
>[!NOTE]
378-
> Daily export created between 1st to 5th of the current month would not generate data for the previous month as the export schedule starts from the date of creation.
378+
> Daily export created between 1st to 5th of the current month would not generate data for the previous month as the export schedule starts from the date of creation.
379379
380380
## Access exported data from other systems
381381

@@ -414,14 +414,28 @@ For older versions of MS Excel:
414414

415415
### Why does the aggregated cost from the exported file differ from the cost displayed in Cost Analysis?
416416

417-
You might have discrepancies between the aggregated cost from the exported file and the cost displayed in Cost Analysis. Determine if the tool you use to read and aggregate the total cost is truncating decimal values. This issue can happen in tools like Power BI and Microsoft Excel. Determine if decimal places are getting dropped when cost values are converted into integers. Losing decimal values can result in a loss of precision and misrepresentation of the aggregated cost.
417+
You might notice discrepancies between the aggregated cost from an exported file and the cost displayed in Cost Analysis. These differences can occur if the tool you use to read and aggregate the total cost truncates decimal values. This issue is common in tools like Power BI and Microsoft Excel.
418+
419+
#### Using Power BI
420+
421+
Check if decimal places are being dropped when cost values are converted into integers. Losing decimal values can result in a loss of precision and misrepresentation of the aggregated cost.
418422

419423
To manually transform a column to a decimal number in Power BI, follow these steps:
420424

421-
1. Go to the Table view.
425+
1. Go to the **Table** view.
422426
1. Select **Transform data**.
423427
1. Right-click the required column.
424-
1. Change the type to a decimal number.
428+
1. Change the type to **Decimal Number**.
429+
430+
#### Using Microsoft Excel
431+
432+
When you open a .csv or .txt file, Excel might display a warning message if it detects that an automatic data conversion is about to occur. Select the **Convert** option when prompted to ensure numbers are stored as numbers and not as text. It ensures the correct aggregated total. For more information, see [Control data conversions in Excel for Windows and Mac](https://insider.microsoft365.com/blog/control-data-conversions-in-excel-for-windows-and-mac).
433+
434+
:::image type="content" source="./media/tutorial-export-acm-data/excel-convert-dialog.png" border="true" alt-text="Screenshot showing the Convert dialog.":::
435+
436+
If the correct conversion isn't used, you get a green triangle with a `Number Stored as Text` error. This error might result in incorrect aggregation of charges, leading to discrepancies with cost analysis.
437+
438+
:::image type="content" source="./media/tutorial-export-acm-data/number-stored-as-text-error.png" border="true" alt-text="Screenshot showing the Number stored as text error.":::
425439

426440
## Next steps
427441

0 commit comments

Comments
 (0)