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 Platform Community / Forums / Power Automate / Getting Text Values fr...
Power Automate
Answered

Getting Text Values from Multi Select Lookup Field

(0) ShareShare
ReportReport
Posted on by 1,360

Hello,
Been struggling to make this work and posted this a couple times.
I am trying to get the text values of a Multi Select Lookup field and then pass those values to another field that is string type.

golfnutt82_0-1668783898279.png

golfnutt82_2-1668784252431.png

golfnutt82_3-1668784286568.png

 

 

This only grabs the first value from the Lookup.
My hope is to duplicate exactly what is in the lookup and put it in the text field "Assigned Software".

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    Add the multiselect field to a Compose and then use Concat() to turn it into a string.

    concat(outputs('Compose'),';')
  • golfnutt82 Profile Picture
    1,360 on at

    Hello Mr. Pstork
    Im not sure if this is correct because it seems to return the same result.

    golfnutt82_0-1668795094460.png

    golfnutt82_2-1668795173398.png

     

     

  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    Unless you are trying to append multiple records together you don't need the Append to string.  Just use the concat to update the string field with the multiple values.  They will now be in a semicolon delimited string.

  • golfnutt82 Profile Picture
    1,360 on at

    golfnutt82_1-1668798895174.png

     

    golfnutt82_0-1668798823510.png

    Still only getting one value from the lookup

     

  • golfnutt82 Profile Picture
    1,360 on at

    I can see the three values are showing in the Apply to Each 10 container

  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    As I said, if its a multi-select field and all you want is those values are a string then you don't need to loop through the values.  concat() will take all the values and turn them into a delimited string based on the delimiter you supply.

  • golfnutt82 Profile Picture
    1,360 on at

    Good morning,
    Is there anything that can be done about the added special characters?
    Here is what I am trying to achieve.
    When a new item is created, software is chosen from the multiselect dropdown and passes those same values to a text field. When an item is modified and the LU_AssignedSoftware field is changed pass those values to another text field then somehow do a comparison between the two text fields, in an effort to determine what is changed. 
    If software has been removed or added, then update the license count in the list showing those licenses for a that piece of software.
    isMy objective is to 

    golfnutt82_0-1669035331577.png

     

  • Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    Can you show me how you are doing the concat()? That shouldn't normally add those special characters.

  • golfnutt82 Profile Picture
    1,360 on at

    WHen I attempt to use my LU_AssignedSoftware field in a compose action it automatically puts it in an Apply to Each loop. Below that loop I use your concat function.

    golfnutt82_0-1669045303299.png

    The concat function builds an array of items separated by a "," and each value is in "<value>" quotes
    When I update the text field "AssignedSoftware" the values are displayed as previously shown.
    Very frustrating that I cant just pass the output from the Lookup field to the text field. 

  • Verified answer
    Pstork1 Profile Picture
    68,717 Most Valuable Professional on at

    The extra characters seem to be a side effect of it being a choice column.  Try the following instead. Use a Data Select to map the value you want to a simple array with no key labels.  Then us Join on the output of the select to convert that array to a string with a delimiter. 

    image.png

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