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-improved-exports.md
+28-29Lines changed: 28 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -426,58 +426,57 @@ Azure ensures that the cost file for a particular month is available within that
426
426
427
427
At the time of export creation, you can name the *StorageContainer*, *StorageDirectory*, and *ExportName*.
428
428
429
-
####Why do I see garbled characters when I open exported cost files with Microsoft Excel?
429
+
### Why do I see garbled characters when I open exported cost files with Microsoft Excel?
430
430
431
431
If you see garbled characters in Excel and you use an Asian-based language, such as Japanese or Chinese, you can resolve this issue with the following steps:
432
432
433
433
For new versions of Excel:
434
434
435
-
1.Open Excel.
436
-
2. Select the **Data** tab at the top.
437
-
3. Select the **From Text/CSV option**.
438
-
IMAGE
439
-
4. Select the CSV file that you want to import.
440
-
5. In the next box, set **File origin** to **65001: Unicode (UTF-8)**.
441
-
IMAGE
442
-
6. Select **Load**.
435
+
1.Open Excel.
436
+
1.Select the **Data** tab at the top.
437
+
1.Select the **From Text/CSV** option.
438
+
:::image type="content" source="./media/tutorial-improved-exports/new-excel-from-text.png" alt-text="Screenshot showing the Excel From Text/CSV option." lightbox="./media/tutorial-improved-exports/new-excel-from-text.png" :::
439
+
1.Select the CSV file that you want to import.
440
+
1.In the next box, set **File origin** to **65001: Unicode (UTF-8)**.
3. Select the **From Text** option and then select the CSV file that you want to import.
449
-
4. Excel shows the Text Import Wizard.
450
-
5. In the wizard, select the **Delimited** option.
451
-
6. In the **File origin** field, select **65001 : Unicode (UTF-8)**.
452
-
7. Select **Next**.
453
-
8. Next, select the **Comma** option and then select **Finish**.
454
-
9. In the dialog window that appears, select **OK**.
447
+
1. Select the **Data** tab at the top.
448
+
1. Select the **From Text** option and then select the CSV file that you want to import.
449
+
1. Excel shows the Text Import Wizard.
450
+
1. In the wizard, select the **Delimited** option.
451
+
1. In the **File origin** field, select **65001 : Unicode (UTF-8)**.
452
+
1. Select **Next**.
453
+
1. Next, select the **Comma** option and then select **Finish**.
454
+
1. In the dialog window that appears, select **OK**.
455
455
456
-
####Why does the aggregated cost from the exported file differ from the cost displayed in Cost Analysis?
456
+
### Why does the aggregated cost from the exported file differ from the cost displayed in Cost Analysis?
457
457
458
458
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.
459
459
460
-
**Using Power BI**
460
+
#### Using Power BI
461
461
462
462
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.
463
463
464
464
To manually transform a column to a decimal number in Power BI, follow these steps:
465
465
466
-
1. Go to the **Table** view.
467
-
2. Select **Transform data**.
468
-
3. Right-click the required column.
469
-
4. Change the type to **Decimal Number**.
470
-
471
-
**Using Microsoft Excel**
466
+
1. Go to the **Table** view.
467
+
1. Select **Transform data**.
468
+
1. Right-click the required column.
469
+
1. Change the type to **Decimal Number**.
472
470
473
-
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://techcommunity.microsoft.com/blog/microsoft365insiderblog/control-data-conversions-in-excel-for-windows-and-mac/4215336).
471
+
#### Using Microsoft Excel
474
472
475
-
IMAGE
473
+
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).
476
474
477
-
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.
475
+
:::image type="content" source="./media/tutorial-improved-exports/excel-convert-dialog.png" border="true" alt-text="Screenshot showing the Convert dialog.":::
478
476
479
-
IMAGE
477
+
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.
480
478
479
+
:::image type="content" source="./media/tutorial-improved-exports/number-stored-as-text-error.png" border="true" alt-text="Screenshot showing the Number stored as text error.":::
481
480
## Next steps
482
481
483
482
- For a comprehensive reference of all available datasets that you export, including the schema for current and historical versions, see [Cost Management dataset schema index](/azure/cost-management-billing/dataset-schema/schema-index).
0 commit comments