Forum Discussion

Sandra Tibbs's avatar
Sandra Tibbs
Tin Contributor
Nov 17, 2026
Solved

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: ...
  • Sandra Tibbs's avatar
    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:

    1. Added an Initialize variable and an array at the beginning.  
    2. In the Apply to each, I added a Set variable to null. 
    3. Added an Apply to Each under the Compose (named Append to Array) to create the array value. 
    4. 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. 
    5. Added another Apply to each (For Each) (Body/Value from Get Item) 
    6. In the Append to Array action, I create the values 

      {

      "Id": @{first(outputs('Get_items')?['body/value'])?['ID']}

      }

    7. The two Apply to Each loops close, then I Create the Item.