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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Get value of lookup co...
Power Apps
Answered

Get value of lookup column from another list

(0) ShareShare
ReportReport
Posted on by 39

Everyone, hoping someone can point me in the reigh direction here. 

 

i have 3 lists, Department, Inspection, and actions. 

 

Inspection has a column called department which is a lookup column from departments, and action has a lookup column called related inspection. 

 

I'm trying to get departments on actions with the following code:

AddColumns(
    Action,
    DebtColumn,
    LookUp(
        Inspections,
        RelatedInspection.Id = Inspections[@ID],
        Department
    )
)
 
however the values returned on DebtColumn are empty, where am i going wrong?
 
Thanks in advance
Categories:
  • Verified answer
    Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @Ardian - close but slight revisions below:

     

    AddColumns(
     Action,
     DebtColumn,
     LookUp(
     Inspections,
     ID = Value(RelatedInspection.Id),
     Department.Value
     )
    )
  • Ardian Profile Picture
    39 on at

    @Amik  your a lifesaver, it worked creating a collection as below, but not ideal. Will change it back to your code now. 

     

     

    ClearCollect(
     mySolution3,
     AddColumns(
     Action,
     _Department,
     LookUp(
     _Inspections,
     RelatedInspection.Value = _Inspections[@Title]
     ).Department.Value
     )
    );

     

    thank you for your help. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard