Forum Discussion
Sandra Tibbs
Nov 17, 2026Tin Contributor
SharePoint List from Excel, but the Choice Column will not populate
Newbie here. I have an Excel spreadsheet that I am using to add values to a SharePoint List. The Power Automate flow is simple. It is part of the SharePoint Online site, so it looks like this: ...
- Nov 18, 2026
Thank you for this. I found my issue. I was trying to create items from a lookup list. I changed the code to look up the values and add them as IDs, not as split values. Here is how I fixed it:
- Added an Initialize variable and an array at the beginning.
- In the Apply to each, I added a Set variable to null.
- Added an Apply to Each under the Compose (named Append to Array) to create the array value.
- Added Get Item for the list lookup with Title equal to the Append to Array values, Top 1 count only, as the list is unique.
- Added another Apply to each (For Each) (Body/Value from Get Item)
- In the Append to Array action, I create the values
{
"Id": @{first(outputs('Get_items')?['body/value'])?['ID']}
}
- The two Apply to Each loops close, then I Create the Item.
Sandra Tibbs
Nov 18, 2026Tin Contributor
Thank you for this. I found my issue. I was trying to create items from a lookup list. I changed the code to look up the values and add them as IDs, not as split values. Here is how I fixed it:
- Added an Initialize variable and an array at the beginning.
- In the Apply to each, I added a Set variable to null.
- Added an Apply to Each under the Compose (named Append to Array) to create the array value.
- Added Get Item for the list lookup with Title equal to the Append to Array values, Top 1 count only, as the list is unique.
- Added another Apply to each (For Each) (Body/Value from Get Item)
- In the Append to Array action, I create the values
{
"Id": @{first(outputs('Get_items')?['body/value'])?['ID']}
}
- The two Apply to Each loops close, then I Create the Item.