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 Apps
Answered

Filter a gallery

(0) ShareShare
ReportReport
Posted on by 802

I have a gallery connected to my Dataverse table.

 

I want to show in the gallery only the records Created By the current logged in user.

 

I have tried "ThisItem.'Created By'.'Full Name' = User().FullName"    but this returns 'true', rather than the person's name. How can I get it to show the user's name here?

 

The other fields in the gallery are 'Desk Reference' and 'Desk Reservation Date' - again, I only want these to pull back in the gallery if they are the current user's.

 

Thanks

K.

Categories:
I have the same question (0)
  • Verified answer
    C-Papa Profile Picture
    1,836 on at

    Hi, you can filter the datasource / gallery based on the user, this will then show the values that are created by the current user. if you change the gallery data source / items to something like the below. 

     

    Filter([MYDATASOURCE], CreatedBy.FullName = User().FullName)

  • Kosenurm Profile Picture
    802 on at

    Thank you. One final thing, how can I also filter it so it only shows items with a Reserved For Date of today or in the future, not in the past?

     

    Thanks,

    K.

  • C-Papa Profile Picture
    1,836 on at

    Hi Assuming your Reserved For Date is a Date column you should be able to do the below, change ReservedForDate for what ever your actual column names is

     

    Filter([MYDATASOURCE], CreatedBy.FullName = User().FullName && ReservedForDate >= Today())

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

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard