Forum Discussion
Percentages truncated on export
Hi davinci_cat
check below steps
The issue you're experiencing where the percentages are truncated when exporting data from Power BI to Excel is likely due to the formatting settings in Excel. By default, Excel may round the displayed percentages for simplicity. To work around this issue and ensure the exported percentages retain their precision, you can follow these steps:
Method 1: Format the Column in Excel
After exporting your data to Excel, select the column with the percentages.
Right-click on the selected column and choose "Format Cells."
In the "Format Cells" dialog box, go to the "Number" tab.
In the "Category" list on the left, select "Percentage."
Adjust the number of decimal places to the desired precision (e.g., 9 decimal places).
Click "OK" to apply the formatting.
This will display the percentages in Excel with the desired precision.
Method 2: Use Power Query to Export Data
In Power BI, you can use Power Query to export the data to Excel while specifying the desired data type for the percentage column.
Load your data into Power Query by clicking "Edit Queries" in Power BI.
In Power Query, select the percentage column, and in the "Transform" tab, change the data type to "Decimal Number" with the desired number of decimal places.
After making this change, close and apply the changes in Power Query.
Now, when you export this data to Excel, it should maintain the desired precision for percentages.