Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Patch SP List from Excel file with multiple choice columns

Posted on by 147

Hi all,

 

I am trying to import 500 records from an Excel file that should be stored in a Sharepoint list. Some of the Excel columns has multiple comma separated values, and these should be stored in multiple choice fields in Sharepoint.

Column A
A, B, C
B,C
A,B

 

My problem is that I can't figure out how to convert these multiple values into tables on the fly during the conversion. 

 

Could someone provide me an example of how to do this?


Categories:
  • Orbin Profile Picture
    Orbin 2 on at
    Re: Patch SP List from Excel file with multiple choice columns

    If your divider in the Excel is ";#" instead of "," (which you could do by search and replace) then sharepoint can identify them as individual choices.

     

    So import Excel > set column type "Choice"

    Go to the imported Sharepointlist > go to column > column settings > Edit > more options > checkbox allow multiple choices > now create each individual choice "A" "B" "C"

    After saving it will automatically add the multiple choices for the whole list

    I hope this description is clear enough

     

    Best Regards

    Robin

  • Verified answer
    LennartWalldén Profile Picture
    LennartWalldén 147 on at
    Re: Patch SP List from Excel file with multiple choice columns

    Found a solution here: 

    Add & Update Excel Data to SharePoint List using Power Automate | Excel Import using flow

     

    Thanks to @RezaDorrani 

  • LennartWalldén Profile Picture
    LennartWalldén 147 on at
    Re: Patch SP List from Excel file with multiple choice columns

    Hi @v-bofeng-msft 

     

    Thanks for your reply. Brilliant solution! 🙂 However, the SP list already has objects that should be updated with Column A data. So in your case Title 1,2 and 3 does already exist in the list and the Column A does also exist already.

    What would the flow look like then?

    Best regards
    Lennart

  • Re: Patch SP List from Excel file with multiple choice columns

    Hi @LennartWalldén ,

     

    I've made a test for your reference:
    1\My Excel file

    vbofengmsft_0-1667525474699.png

    2\My flow

    vbofengmsft_1-1667525532078.png

      1)

      split(items('Apply_to_each')?['Column A'],',')

      2)

      item()

    3\Result

    vbofengmsft_2-1667525580351.png

     

    Best Regards,

    Bof

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard