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 / Nested Lookup error
Power Apps
Unanswered

Nested Lookup error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

hi Expert

i have a dropdown 

i have a screen where i am trying to display a gallery which is a relational table. 

situation: 1. from based on the client id i am trying to get the policy details which is in separate table. 

i have three different type of policy and those policy type is mentioned as a dropdown

pokhani_0-1702570156552.png

code used to get the policy number. but no record is displayed even though i have a policy. 

If(PolicyTypeDD_1.Selected.Value="CP Policy Info",Sort(Filter(POLICY_CP_INFO,CLIENT_POLICY_INFO_ID=LookUp(CLIENT_POLICY_INFO,POLICY_INFO_ID=LookUp(CLIENT_INFO,Source_Client_ID=selected_Case.Case_ID).ClientInfo_ID).ClientInfo_ID),PolicyNumber),PolicyTypeDD_1.Selected.Value="RC Policy Info",Sort(Filter(POLICY_RC_INFO,CLIENT_POLICY_INFO_ID=LookUp(CLIENT_POLICY_INFO,POLICY_INFO_ID=LookUp(CLIENT_INFO,Source_Client_ID=selected_Case.Case_ID).ClientInfo_ID).ClientInfo_ID),PolicyNumber),Sort(Filter(POLICY_RI_INFO,CLIENT_POLICY_INFO_ID=LookUp(CLIENT_POLICY_INFO,POLICY_INFO_ID=LookUp(CLIENT_INFO,Source_Client_ID=selected_Case.Case_ID).ClientInfo_ID).ClientInfo_ID),PolicyNumber))

 error: 

pokhani_1-1702570408383.png

 

sql table. 

Client policy CP table

pokhani_2-1702570563610.png

Case Table

pokhani_3-1702570651151.png

 

Categories:
I have the same question (0)

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 421 Most Valuable Professional

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard