You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cost-management-billing/costs/tutorial-export-acm-data.md
+19-5Lines changed: 19 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ titleSuffix: Microsoft Cost Management
4
4
description: This article shows you how you can create and manage exported Cost Management data so that you can use it in external systems.
5
5
author: bandersmsft
6
6
ms.author: banders
7
-
ms.date: 03/11/2024
7
+
ms.date: 06/04/2024
8
8
ms.topic: tutorial
9
9
ms.service: cost-management-billing
10
10
ms.subservice: cost-management
@@ -375,7 +375,7 @@ Select an export to view the run history.
375
375
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).
376
376
377
377
>[!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.
379
379
380
380
## Access exported data from other systems
381
381
@@ -414,14 +414,28 @@ For older versions of MS Excel:
414
414
415
415
### Why does the aggregated cost from the exported file differ from the cost displayed in Cost Analysis?
416
416
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.
418
422
419
423
To manually transform a column to a decimal number in Power BI, follow these steps:
420
424
421
-
1. Go to the Table view.
425
+
1. Go to the **Table** view.
422
426
1. Select **Transform data**.
423
427
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.":::
0 commit comments