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 / How to change format o...
Power Automate
Unanswered

How to change format of lookup column to string

(0) ShareShare
ReportReport
Posted on by

Hi, Everyone!

 

I wanted to use the chosen Approver in Microsoft Forms and use it as the lookup value in my list to get the email address of the approver from a list of Enrolled Approvers.

 

Microsoft Forms

janlisondra_0-1600788733389.png

 

List of Enrolled Approvers

janlisondra_4-1600789200042.png

 

Primary List

janlisondra_0-1600789987358.png

janlisondra_2-1600790082111.png

 

Power Automate - My flows

janlisondra_1-1600788828643.png

janlisondra_2-1600788853601.png

 

The error tells me that the input is invalid since it is in a string format and that the lookup column is in an integer (which I did not remember setting).

janlisondra_3-1600788951464.png

 

How do I change the format of the lookup column and allow inputs that are in sting formats?

 

I would appreciate any help as I am fairly new to Power Automate, SharePoint and all.

 

Thank you so much!

 

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

     

    Hi @Anonymous ,

     

    You need to filter the corresponding item in the lookup list first, and then fill the item ID contained in the item into the lookup field.

    50.PNG

    When configuring Filter Query, you need to get the internal name of the field first. You can go to the settings to get the internal name of the field.

    51.PNG

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at

    Thanks, Barry, for responding.

     

    I got this running for the first approver. How shall I repeat the same for the next two approvers?

     

    Best Regards,

    Jan Lisondra

  • v-bacao-msft Profile Picture
    on at

     

    Hi @janlisondra ,

     

    Similarly, you can use the same method to get other approver emails. Then in the following steps, use Update item to update the item just created. When configuring the Update item action, only the updated field value is configured.

     

    You may need to initialize an integer variable to store the ID of the newly created item, and use the Set variable action under the Create item action to store the item ID.

     

    Hope that makes sense.

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    on at

    Hi Barry,

     

    Since the info of all three approver names will come from the same form, what is the best practice for this? Shall I create the following series of actions?

     

    1) 1st Approver - Create Item

    2) 2nd Approver - Update Item

    3) 3rd Approver - Update Item 2

     

    Is there a workaround that I can just retrieve 3 IDs and input them in their respective lookup columns in one Create Item action?

     

    Thanks,

    Jan Lisondra

  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @janlisondra ,

     

    You could initialize three integer variables to store the filtered item IDs respectively.

     

    Store the filtered item IDs in the three Apply to each.

     

    Configure the Create item action in the last step, and then configure three variables in this action.

     

    Hope that makes sense.

     

    Best Regards,

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard