Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

filter screen based on Logged in User

(0) ShareShare
ReportReport
Posted on by 39

Hi everyone,

I am trying to create a screen where there's a gallery connected to a SharePoint List, In this SharePoint List, there's a column that lists who created the entries, I want to Filter this gallery to show only the entries of the current user logged in in the system, also the user can add another filter either to show only pending for approval, approve, or show all records under his name.

ill also have try this:

Filter(
    ColDMAT,
    IsBlank(ComboboxCanvas2.Selected.Value) || IsEmpty(ComboboxCanvas2.SelectedItems) || 'Request Status' in (ComboboxCanvas2.SelectedItems),
     'Created By'.Email = varUser.email || 'Modified By'.email = varUser.Email
)
result still the same.

 

Khairul_Amri_0-1710145290838.png

 

  • Khairul_Amri Profile Picture
    39 on at
    Re: filter screen based on Logged in User

     

    hi @mmbr1606  

    the apps still can't fine any data. could it be some setting at data source need to be change?

    Khairul_Amri_0-1710297736776.png

     

     

  • mmbr1606 Profile Picture
    12,108 Super User 2025 Season 1 on at
    Re: filter screen based on Logged in User

    hey @Khairul_Amri 

     

    try this:

    Filter(
     ColDMAT,
     ('Created By'.Email = varUser.email || 'Modified By'.Email = varUser.Email) &&
     (
     IsBlank(ComboboxCanvas2.Selected.Value) || 
     IsEmpty(ComboboxCanvas2.SelectedItems) || 
     ComboboxCanvas2.Selected.Value = "All" || 
     'Request Status' = ComboboxCanvas2.Selected.Value
     )
    )
    

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard