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 / Look Up Value Based on...
Power Apps
Answered

Look Up Value Based on User Department

(0) ShareShare
ReportReport
Posted on by 206

Hello All, 

 

I have a SharePoint List called "ListData".

 

I am trying to create a drop down that will allow a user to select from a column called "Title" -  but only the items that belong to their department and the status (Status column) is not equal to Complete will appear.

 

Once they make the selection it will auto fill the rest of the text inputs. They should then have the ability to edit.

 

I spent a few hours researching but cant get the Look Up formula leveraging office 365 users connection working. 

 

Here are my columns; 

 

batvan276_0-1665254565587.png

 

Categories:
I have the same question (0)
  • Verified answer
    batvan276 Profile Picture
    206 on at

    I was able to do it with this; 

     

    With({userEmail:User().Email},
     Filter(ListData,
     'Created By'.Email = userEmail && Status.Value = "Completed"
     )
    )

     

    Can someone please point me in the right direction to get it to auto populate the data from SharePoint to the text input?

     

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @batvan276 ,

     

    I made a sample for you.

    vxiaochenmsft_0-1665371798030.png

    vxiaochenmsft_1-1665371840895.png

     

    Filter(LIST281,Status.Value<>"Completed"&&'Department Name'=Office365Users.MyProfileV2().department)

    vxiaochenmsft_3-1665371939585.png

     

    LookUp(LIST281,ID=ComboBox1.Selected.ID)

     

    Best Regards,

    Wearsky

  • batvan276 Profile Picture
    206 on at

    Thank you so much. I used an = expression SelectedText.value to achieve but this seems much simpler.

     

     

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

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard