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 / Creating filters with ...
Power Apps
Unanswered

Creating filters with Variable

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

We have a table(Sharepoint List) that is using the Employee User().FullName as the header. Full disclosure, I did not design this table. The data in this column represent numerical rating (1-5) on skills for various products and technology. This data is entered by the employees. I need to access this column with the O365 User().FullName value of the user that accesses the Powerapp. I have this set in a global variable. Is there a way to use this variable to build a filter for this column of data? I tried referencing directly from the filter but does not seem to be valid. I see other articles saying column headers can not be referenced with a variable. Is this the case, is there another way to build this filter?

Categories:
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Sorry but I didn't fully understand, what exactly is the column name that you set for this column in SharePoint list? You should be able to ensure this by checking the name shown here in the list:

    Capture.JPG

     

    Is this a Person and Group column? If so, then generally, my understanding is that you want to filter the gallery where this column's value matches "User().FullName". You do not need a variable to do this. Just use below formula in the Items property of the gallery:

    Filter(ListName,ColumnName.DisplayName=User().FullName)

    If this does not work, try:

    Filter(ListName,ColumnName.Email=User().Email)

    Regards,

    Mona

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    We have Columns as such to represent skill ratings.

     

    SkillJohn SmithJane BlackRoger Thomson
    Routing541
    Python Development252
    Vmware413

     

    I need to be able to update the skill rating. We need to reference the column by fullname and skill rating by the name of the skill. 

     

    Thanks for the suggestion but it does work. In your example would ColumnName be User().FullName?

     

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 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard