Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
When you load data from a SharePoint list, the columns are named using an "Internal" name rather than the "Display" name that exposed when interacting with SharePoint.
Is there a recipe that can be used to retrieve the display names and overwrite the internal names once imported into Power BI?
@Anonymous,
Is the column of your SharePoint list a person/group column?
If so, you should find a expandable field column that you can expand in the Query Editor to get a hold of employee display names along with other information:
Yes, I know that this needs to be done in PowerQuery and I know that the display names must be available, but they are deeply nested in sub-tables that are not intuitively named - I've spent quite a bit of time looking. Try it, you'll see what I mean.
I'm asking if anyone has a recipe for retrieving them - have you figured out the path through the nested tables to find the display names?
@Anonymous,
I understand, however it would help if you could tell us what your SharePoint list looks like and what column types are in it?
I dont' really know if you can directly retrieve a person's display name fromn a sub-table unless the SharePoint list column itself is a person/group column to begin with - in this case it is quite staright-forward as the sub-table is named similarly as the SharePoint list column.
Br,
T
I'm not talking about a person's display name. I'm taking about the display name of a column in a list.
When I retrieve the columns from a list, the names of the columns often do not match the column names displayed in SharePoint. For example:
"Primary Geography Country" is brought in as "Primary Geography Co"
"Launch: Overall Readiness" is brought in as "Launch: Overall_x002"
"Complete" gets brought is as "AllDone" (because I had originally called the column AllDone and then changed it)
"Introduction" gets brought in as "Title" (because I changed Title to Introduction)
I'm looking for a recipe to drill into the nested tables in what is returned for the list to get the display names. My hope is that these are stored consistently in the data structures, regardless of the type of data each column holds.
Dale
@Anonymous
I see, sorry for misunderstanding...
Because this thread went into the weeds, I reposted here: https://community.powerbi.com/t5/Desktop/How-to-retrieve-quot-correct-quot-column-names-from-SharePo...
Best to handle in in PowerQuery when your importing the data. Its probably in an embeeded list or table that you need to expand or extract (there is a little icon on the top right of the column that looks like two upwards arrow pointing out. (see below)
If you still can't find it you will need to build and link a lookuptable - you can get a headstart by using CREATE TABLE on the Modeling menu and using List of IDs TEMP = VALUES(table[IDs]) to generate a unique list of values which you can copy and past into a new table with ENTER DATA from the Home tab and then add the mapping columns.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |