web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Suggested Answer

Select data operation

(1) ShareShare
ReportReport
Posted on by 237
Hi Everyone!
 
I'm trying to copy records from a SharePoint list to another SharePoint list. I'm using the Get Items action of SharePoint and doing an Apply to Each. Inside the Apply to Each action I'm using the Select data operation to store the values of multi-choice columns. I then use the output of select as input to copy the multi-choice values into the new record. The problem is some of the multi-choice values are empty/null which causes an error in the Select action. I have 7 multi-choice columns and I do not want to do a Condition action for each.

Is there a better way to copy multi-choice columns in SharePoint using Select? Or maybe a better way than using the Select action?
 
Thank you for any insight/advice!
 
Cheers!
bochie
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    Just use an expression to check if the field is empty. If it is return null, otherwise return the values. For example:
    if(empty(triggerOutputs()?['body/CostsIncurred/Value']),null,triggerOutputs()?['body/CostsIncurred/Value'])
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard