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 Sharepoint List
Power Apps
Answered

Nested Sharepoint List

(0) ShareShare
ReportReport
Posted on by 20

Hi

I have 2 sharepoint list

 

  • BillTo contains a list of project codes to bill to - Title = cost centre code, Active = Yes/No
  • BillToAssign contains an employee reference -

    Title = name of person cost centre assigned to

    BillTo = lookup record of Cost Centre

I have the following code to show in a drop down list all those records that are not assigned to the current user

 

Filter(
 Choices([@BillToAssign].BillTo),
 Not(
 Value in Concat(
 Filter(
 BillToAssign,
 Title = currentUser.FullName
 ).BillTo,
 BillTo.Value
 )
 )
)

 

 However I only want to display those values that are active = "Yes"

 

Any assistance would be greatly apreciated

Thanks

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @CountJuju ,

     

    Could you tell me:

    Is 'Active' a 'Yes/No' Column?

     

    If my assumption is correct, please try this formula on Items property of dropdown control:

    Filter(
    ForAll(
    Filter(
     Choices([@BillToAssign].BillTo),
     Not(
     Value in Concat(
     Filter(
     BillToAssign,
     Title = currentUser.FullName
     ).BillTo,
     BillTo.Value
     )
     )
    ) As A, If(LookUp([@BillTo],ID=A.Id).Active=true,A)),!IsBlank(Id))

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

     

  • JP-21081032-0 Profile Picture
    20 on at

    @v-xiaochen-msft Thank you - works a treat

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 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard