Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I am importing data from a local Sharepoint List with the OData connector in PowerBI Desktop. I receive the column names like 'ID', 'Modified Date' etc and transform the data to change names, remove unwanted rows and so on.
After publishing my report, a colleague wanted to do some adaptions to the report, downloaded the pbix and opened it in PowerBI-Desktop. However, on her machine the data extraction fails because certain columns are not found. The reason is that the column names are suddenly in the local language and for example 'ID' is now 'Id'. We both operate the same version of PowerBI Desktop.
Does anyone has an idea what is going on and how to fix it?
Solved! Go to Solution.
Hi @kosv ,This issue is typically caused by regional settings and localization differences in Power BI Desktop or the underlying SharePoint environment. Even if you both use the same Power BI Desktop version, differences in regional settings (either in Power BI, Windows, or SharePoint) can result in column names being localized when connecting via OData.
Also, look for a setting called "Never rename columns based on locale" (available in the OData feed options). Enable it to prevent automatic column renaming during OData import.
In Power Query Editor, use the Table.RenameColumns function to explicitly rename each column after the data is imported, regardless of the locale. For example:
Table.RenameColumns(Source, {{"Id", "ID"}, {"ModifiedDate", "Modified Date"}})
This ensures that no matter the locale, the column names will always be consistent.
SharePoint Language Settings (in SharePoint, check under Site Settings > Regional Settings).
Recreate the OData connection with an explicit Accept-Language header in the OData query if possible.
In Advanced Options while connecting via OData, add the following line to ensure English is enforced:
Accept-Language: en-US
In Power Query, disable auto-detect column types and headers if necessary. This avoids unintended changes during refresh.
Please mark this post as solution if it helps you. Appreciate Kudos.
Hi @kosv ,
Agree with FarhanJeelani's reply!
And @kosv , I would like to add a possible solution:
In addition to the display name, a column in a SharePoint list also has an internal name that does not change with the language or regional settings, so you can use the internal name in Power Query to avoid localization issues.
https://learn.microsoft.com/en-us/microsoft-365/community/sharepoint-naming-guidelines#internal-name...
https://blog.softartisans.com/2009/12/08/list-of-internal-names-for-sharepoint-fields
You can find the internal name of a column in a SharePoint list by going into the list settings, or by using the SharePoint REST API to get the details of a column, which includes the internal name:
https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-r...
In the Power Query Editor, replace the column names with the internal names. For example, change
#"Renamed Columns" = Table.RenameColumns(Source, {{"ID", "NewID"}})
into
#"Renamed Columns" = Table.RenameColumns(Source, {{"_ID", "NewID"}})
where _ID is the internal name of the column.
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @kosv ,This issue is typically caused by regional settings and localization differences in Power BI Desktop or the underlying SharePoint environment. Even if you both use the same Power BI Desktop version, differences in regional settings (either in Power BI, Windows, or SharePoint) can result in column names being localized when connecting via OData.
Also, look for a setting called "Never rename columns based on locale" (available in the OData feed options). Enable it to prevent automatic column renaming during OData import.
In Power Query Editor, use the Table.RenameColumns function to explicitly rename each column after the data is imported, regardless of the locale. For example:
Table.RenameColumns(Source, {{"Id", "ID"}, {"ModifiedDate", "Modified Date"}})
This ensures that no matter the locale, the column names will always be consistent.
SharePoint Language Settings (in SharePoint, check under Site Settings > Regional Settings).
Recreate the OData connection with an explicit Accept-Language header in the OData query if possible.
In Advanced Options while connecting via OData, add the following line to ensure English is enforced:
Accept-Language: en-US
In Power Query, disable auto-detect column types and headers if necessary. This avoids unintended changes during refresh.
Please mark this post as solution if it helps you. Appreciate Kudos.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 39 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 68 | |
| 31 | |
| 27 | |
| 24 |