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 / Filter Drop Down by Re...
Power Apps
Answered

Filter Drop Down by Record lookup selection

(0) ShareShare
ReportReport
Posted on by 13

Hi, I have a combo box that has a SharePoint List (Department) as its data source. Dept.png

I have another SharePoint list "Approvers" that has the user email and the Departments he should see on the combo box.

User Dept.png

The Dept column is a lookup field to the Department SharePoint list.

How can i ensure that user cy.ot only sees Education and Marketing on the combo box when they log onto the app.

I have been able to retrieve their email on the app under User().Email

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    CU-18081211-6 Profile Picture
    9,272 Moderator on at

    Hi @CyOt ,

     

    You need a formula on comboBox items similar to:

    Filter(Choices([Approvers].Dept), Value in Concat(LookUp(Approvers,Requester=User().Email).Dept,Value)) 

     

    Also to avoid delegation warning  given by the user of User().Email please use a local variable (context / global ) to keep this value before call it in this function.

     

    Hope it helps ! 

  • CyOt Profile Picture
    13 on at

    Hi @gabibalaban , thanks a million.

    I changed it slightly their is a delegation warning but it should be fine for my scenario. Thank you!!!

    Filter(Department, Title in Concat(LookUp(Approvers,Requester=User().Email).Dept,Value))
  • CU-18081211-6 Profile Picture
    9,272 Moderator on at

    Ups ... I forgot about User().Email delegation warning... it should be fixed with a local variable (global or context) .

    I'll change the initial post to solve this issue. 

    Thanks for understanding ! 😊

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

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard