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 / How to restrict Submit...
Power Apps
Answered

How to restrict Submit form dropdown options depending on the user

(0) ShareShare
ReportReport
Posted on by 31

I'm building a fairly basic app that will be used internally within Microsoft365. I've generated a form to post new data to an existing Sharepoint that already has data in it created by different users. How do I restrict users so they are only able to see the items that only they themselves have created in the dropdown, instead of a comprehensive list of all items. 

I've tried adding Filter(Timesheets,'Created By'.Email = User().Email) to the items field but it keeps disappearing even though I've unlocked the data card. What am I missing? 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at

    @AndrewSy 

     

    Hi, Love that you are using the filter, good work honestly, but you would have to share the whole screen so we can better see what else is on the screen that might be driving that DataCard. Is the DataSource set to TimeSheets?

     

    Can you show it typed on and when does it disappear?


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • AndrewSy Profile Picture
    31 on at

    Thank you for replying. I've solved the issue of changes reverting, turns out that I didn't unlock the card though I thought I did. I'm trying to concatenate filter with choices but it throws an error. I'm very new to power apps.Screenshot 2023-10-05 at 12.39.50 AM.pngScreenshot 2023-10-05 at 12.40.55 AM.png

  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at

    Hi @AndrewSy 

     

    Can you explain why you are trying to concat that stuff together (and no that would never work). Choices(*) is essentially a loader transcribing the Choice. by making an Array.

     

  • AndrewSy Profile Picture
    31 on at

    As it stands the choices dropdown lists different projects made by different people on PowerApps within my company, I need to restrict those choices and make it so that every person only sees their own projects in the dropdown

  • Verified answer
    Michael E. Gernaey Profile Picture
    53,963 Moderator on at

    Hi @AndrewSy 

     

    Ok then what you need to do is Filter the actual Choice Column (not use the Choice).

     

    What I mean is. Lets say you have a table and one of the columns is a value FROM this Choice.

    And each row is assigned to a user

     

    What you want is to Filter that Table, by whatever column you can filter using that persons info, then use the Choice Column itself to build a Unique (Distinct) list of Choices that has been used by that person AKA Projects.

     

    What you are doing is simply using the Choice as a "thing" to list the total possible project selections, your not actually working on this persons lists of SELECTED choice values (aka projects).

     

    Since its 2am I am going to share this versus typing more. Feel free to response and I will look at it later

    Solved: Re: Distinct Choices - Power Platform Community (microsoft.com)


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • AndrewSy Profile Picture
    31 on at

    Thank you very much! You are a life saver 🙂 

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard