Skip to main content

Notifications

Power Automate - General Discussion
Answered

Select multiple items for table

(0) ShareShare
ReportReport
Posted on by 129

I'm creating a flow to send and email with a table of items on a sharepoint list, I'm able to create the table as needed, but I'm having trouble with a field that is a multi select lookup column on sharepoint.

 

This is what my flow looks like currently

 

FGRODRIGUEZ_0-1695397544267.png

 

This is what the value from the get items returns for the field I need 

 

 

"Asignado": [
 {
 "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
 "Id": 4,
 "Value": "Name of Person 1"
 },
 {
 "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
 "Id": 7,
 "Value": "Name of Person 2"

 

I would need the value from this items (I censored the actual names for privacy), I tried using the Item().Asignado.Value and Items().Asignado.value but it seems to not work. 

  • Verified answer
    FGRODRIGUEZ Profile Picture
    FGRODRIGUEZ 129 on at
    Re: Select multiple items for table

    I found a solution, in case someone else has to do it.

     

    replace(replace(replace(replace(string(xpath(xml(json(concat('{"root":{"choices":', string(item()?['Asignado']), '}}'))), '/root/choices/Value/text()')), '["', ''), '"]', ''), '"', ''), ',', ', ')

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard