web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter different colum...
Power Apps
Unanswered

Filter different column according to different user

(0) ShareShare
ReportReport
Posted on by

I have inserted a gallery for users to check which task they didn't start yet.

Below is my ‘task summary’ table which shows tasks status of each city.

Qays_0-1708661457848.png

And i also have another table called 'address book' that show the relationship between users & city.

Qays_2-1708661881500.png

 

My target is that:
When user login apps, he can see all tasks which is not started in his region.

For example:

If Tom login, Gallery.item=filter (‘task summary’, 'Status_Changchun'='Not started'),

If Alice login, Gallery.item=filter (‘task summary’, 'Status_Foshan'='Not started')

.......

Different user login, filter different columns.

 

Now i have to use the formula:

if( user().email=Tom@Microsoft.com, filter (‘task summary’, 'Status_Changchun'='Not started'),

if( user().email=Alice@Microsoft.com, filter (‘task summary’, 'Status_Foshan'='Not started'),

.....))

 

it looks stupid and actually i have lot of users, and it's also not convenient to update, every time user changes, i have to modify formula.

 

i want to know that how can i achieve my target or what’s your experience when you develop, 

I'm appreciate that if you can give me any helps, thank you

Categories:
I have the same question (0)
  • Rahman1005 Profile Picture
    109 on at

    Hi,

     

    Refer blow article for filter based on logging user in canvas app.

    https://www.matthewdevaney.com/3-ways-to-filter-a-power-apps-gallery-by-the-current-user/ 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard