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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

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
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    12,515 Super User 2025 Season 2 on at
    Select data operation
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard