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 / Viewing contents relat...
Power Apps
Answered

Viewing contents related to a particular user

(0) ShareShare
ReportReport
Posted on by 675

Hi,I have created a form using power apps.In the form,the contents get displayed according to the names selected.One name can be selected at a time as shown in the below pic.

freshyshreya_0-1624860568512.png

 

I want to view the contents according to the username sign in.

 

For example:If Neel signs in to SharePoint he is able to see content related only to him and not others.

 

Kindly provide solution for this!

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

    Hello,

     

    You need to apply filter on Items property. It can be something like Filter(SharePointList, UserName = User().DisplayName)

     

    Where User() function refers to O365 logged in user. 

  • freshyshreya Profile Picture
    675 on at

    freshyshreya_0-1624863568598.png

    Hi, when I am using the formula its throwing error as shown in the above pic.

     

    Kindly provide help!

     

  • Verified answer
    Moreshwar Profile Picture
    135 on at

    Try this: Filter('work assignment', Fixer_Column3.Value = User().DisplayName) or 

    Filter('work assignment', Fixer_Column3.DisplayName = User().DisplayName)

    depending upon what is your Fixer_Column3 datatype

  • freshyshreya Profile Picture
    675 on at

    freshyshreya_1-1624866575801.png

    Hi, when I am using the formula provided in the below comment its throwing error as shown in the above pic.

     

    Kindly provide in resolving the error!

     

  • v-albai-msft Profile Picture
    Microsoft Employee on at

    Hi @freshyshreya ,

    @Moreshwar is almost correct, but you still need to pay attention to the details. Like we should use "User().FullName" instead of User().DisplayName.

    Besides, from your information, I think Fixer is the name of your SharePoint column. So if this is a People column, try formula like this:

    Note: directly use the column name in your formula, don't use column name like "XXX.Column1" which are generated from Table.

    Filter('work assignment', Fixer.DisplayName= User().FullName)

    valbaimsft_0-1624868076538.png

    Best regards,

    Allen

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