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 / Send an HTTP request t...
Power Automate
Answered

Send an HTTP request to SharePoint to Get multiple Lookup values

(0) ShareShare
ReportReport
Posted on by 34

Hi all,

I trying to get multiple lookup column by Send an HTTP request to SharePoint but can get only one lookup column.
This picture show Sharepoint list "Code" and "Code:CodeName" are lookup column.
Chatewarin_0-1706671300584.png

Chatewarin_1-1706671612666.png

Chatewarin_2-1706671650029.png
I use "Code/Code&$expand=Code" in front of "CodeName/Code&$expand=Code". It get only Code/Code. When I use "CodeName/Code&$expand=Code" in front of "Code/Code&$expand=Code" that get only Code/CodeName

Chatewarin_3-1706671740962.png

How can I get Code/Code and Code/CodeName in once time.

Thank you.

 

Categories:
I have the same question (0)
  • Verified answer
    annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @Chatewarin  i think your REST API should be as follows

    $select=Title,Code/Code,Code/CodeName&$expand=Code
  • Chatewarin Profile Picture
    34 on at

    @annajhaveri Thank you very much.
    I understand how to use this solution.

  • Chatewarin Profile Picture
    34 on at

    Dear @annajhaveri ,

     

    I will ask you more question about http to get sharepoint. 
    When sharepoint list have 2 lookup column or more than 2 use this solution is fail.

    Chatewarin_0-1709570957232.png

    Chatewarin_1-1709571102359.pngChatewarin_2-1709571127232.png

     

    I try to use 2 condition but not work.

    $select=Title,BusCompany/ID&$expand=BusCompany,Line/Title&$expand=Line
    $select=Title,BusCompany/ID,Line/Title

    Chatewarin_3-1709571665798.png

     

    but when I use 2 condition below flow run successful (I want to get 2 columns)

    $select=Title,BusCompany/ID&$expand=BusCompany
    $select=Title,Line/Title&$expand=Line

    Can I solve this problem ?
    Thankyou.

     

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard