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 / Filtering only records...
Power Apps
Answered

Filtering only records you make

(0) ShareShare
ReportReport
Posted on by 111

Hey everyone, im a bit stuck, how would i make a button that when you check it, makes it so that the records shown are only your own records created?

These are the filters i currently have:

Valentino1_0-1707983248540.png

 

This is how im getting the persons name, to put in sharepoint:

Valentino1_1-1707983305729.png

 

Or is there a better way, please let me know!

Categories:
  • Jiis Profile Picture
    254 Moderator on at

    Make a checkbox or toggle, and in the filter function add

    If(Checkbox1.Value=true, YourCreatedByColumn=User().FullName)

     

  • Valentino1 Profile Picture
    111 on at

    I put a toggle buton, now when the toggle button is off, it doesnt show any records. When its on then it shows my records.

  • Verified answer
    WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    Hi @Valentino1 ,

    I am assuming you are using SharePoint here - basic structure (using your checkbox name)

    Search(
     Filter(
     'Test List 1',
     Status.Value = "Request" && 
     DateAndTime >= DatePicker2.SelectedDate && 
     DateAndTime <= DatePicker2_l.SelectedDate &&
     (
     !CheckBoxName.Value ||
     'Created By'.Email = User().Email
     ) &&
     (
     IsEmpty(ComboBoxl.Selectedltems) || 
     ComboBoxl.Selected in Domains 
     )
     ),
     'Filter Search Box'.Text, 
     "Titlel"
    )

    If you want some Delegation capability

    With(
     {
     _Data:
     Filter(
     'Test List 1',
     Status.Value = "Request" && 
     DateAndTime >= DatePicker2.SelectedDate && 
     DateAndTime <= DatePicker2_l.SelectedDate &&
     (
     !CheckBoxName.Value ||
     'Created By'.Email = User().Email
     )
     )
     },
     Search(
     Filter(
     _Data,
     (
     IsEmpty(ComboBoxl.Selectedltems) || 
     ComboBoxl.Selected in Domains 
     )
     ),
     'Filter Search Box'.Text, 
     "Titlel"
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • Valentino1 Profile Picture
    111 on at

    Im not sure what the "Created by" is, im getting an error here:

    Valentino1_0-1707986198411.png

     

  • WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    @Valentino1 ,

    Is SharePoint your data source ?

  • Valentino1 Profile Picture
    111 on at

    Yes, the column where im putting the names in is "Requester".

  • WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    @Valentino1 ,

    'Created By' is a standard column in SharePoint (assuming 'Test List 1' is a SharePoint List), so I do not know why you should be getting an error there (though what you have is not the structure I posted), however what type of field is Requestor ?

  • Valentino1 Profile Picture
    111 on at

    Just one line text field.

  • Valentino1 Profile Picture
    111 on at

    I think the structure should be exactly the same now

    Valentino1_0-1707989566459.png

     

  • Valentino1 Profile Picture
    111 on at

    By the way im not using email to store the names, im using this:

    Valentino1_1-1707989741033.png

     

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard